Re: Forcing specific IP address with DHCP



On Thu, 17 Apr 2008 11:36:53 -0500
Michael Shuler <michael@xxxxxxxxxxxxxx> wrote:

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

I don't quite follow you here. What's a dynamic DHCP client? gwen has
both a DHCP server for the LAN, as well as a client for getting its own
external IP address from the ISP. Can you elaborate?

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 :)

For logistical reasons, alternating the current topology of my network,
specifically the connection of the modem to the router and the physical
location of them both, is not currently practical. I actually do use
ddclient with DynDNS, to reach edith using DNS from the Internet.
ddclient runs on edith; it reads gwen's external IP address from the
relevant status page on gwen's web interface, and then records it with
DynDNS. DynDNS translates the DNS name to gwen's external IP address,
and gwen then forwards the incoming connections to edith. Did you mean
something else?

Thanks for the suggestions.

Kind Regards,
Michael Shuler

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Forcing specific IP address with DHCP
    ... a server (henceforth 'edith') accept incoming connections ... a Debian router/firewall server for my home connection. ... about the particular router you are using, but if it does not allow ... I think assuming that it has no dynamic DHCP client is ...
    (Debian-User)
  • Re: SBS 2003 Misconfigured?
    ... I've thrown quite a bit at them, and just have to disagree that they are inherently less secure than the netgear. ... setup DHCP and I have also gone in and manually created a new scope ... when I first used the Netgear router with SBS 2003, ... than one SBS server in a company makes no sense. ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot connect to RWW from home PC
    ... eth0 172.26.0.1/16 Extra none ... That would be the address you need a DNS record for. ... One question - if I reset the Thomson Router will that clear all the ... Heres' the info for our server: ...
    (microsoft.public.windows.server.sbs)
  • Re: NLB Cluster - Ping fails or long time to reply from outside local subnet - SOLVED
    ... Windows Server 2008 Readiness Team ... I was feeling nervous about our teaming-capable adapter as I read it might be sending out heartbeats, so I disabled it AND configured the cluster on a separate DLink card in multicast mode. ... I am losing the plot with NLB, I have spent a week trying to get it working. ... I thought that the litmus test was that the router functions fine when no NLB is installed, but when it is, things start going screwy. ...
    (microsoft.public.windows.server.clustering)
  • Re: Cannot connect to RWW from home PC
    ... That would be the address you need a DNS record for. ... You say "And in the router you need to forward to your external nic IP" ... Still can't telnet to any of your ports at your public ip address. ... Heres' the info for our server: ...
    (microsoft.public.windows.server.sbs)