On 04/17/2008 09:31 AM, Celejar wrote:
I find myself in a bizarre networking predicament. I need to have a server (henceforth 'edith') accept incoming connections (e.g. ssh) from the Internet. edith is behind a home gateway / router / switch ( Trendware / Trendnet TEW-452BRP [0] - henceforth 'gwen'). gwen will forward specific ports to specific private, internal IP addresses, but bizarrely, it seems to provide no facility for ensuring that a specific host will be assigned, via DHCP, a particular IP address.
Not such a bizarre thing - I do this for several servers running behind a Debian router/firewall server for my home connection. I don't know about the particular router you are using, but if it does not allow MAC->IP mapping, I think assuming that it has no dynamic DHCP client is fair :P
What would you do in this situation (besides getting a different router or using a general purpose computer as one)?
Stick a Debian box behind your ISP modem and set it up as your gateway and DHCP server - then run ddclient with a service like DynDNS (apt-cache show ddclient) - I do this at home, at work, on my laptop - I can always get to the machines I might need by hostname - who cares what the IP is :)
-- Kind Regards, Michael Shuler