You are not logged in.
I have set up a little home server with arch linux, running samba, lighttpd, etc.
The problem is, when i get a ip address with dhcpcd, the router recognizes the hostname, and other pc's can use the hostname to access the shares, but if i set a static ip, the router doesn't know the hostname, and the other pc's have to use the ip adress to communicate with the server. is it possible to 'send' the hostname to the router (which is a dns and wins server too), so the other pc's can use the hostname to communicate? using dhcp is no option, because port forwarding only works when the target has a fixed ip.
Offline
Most routers allow assigning a fixed ip to machines with dhcp, have you checked your router settings for that? Also through upnp your router should be able to forward/NAT packages to your computer even when it's using a dynamic ip address.
ᶘ ᵒᴥᵒᶅ
Offline
Forwarding to a dynamic ip isn't possible, it must be fixed, and providing a static lease to the machine also "deletes" the hostname.
Offline