[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DHCP server hanging on ADSL: How to pass the name server to DHCP-clients?



Hi,

my gateway computer is connected to ADSL and gets to know
the name servers via the line "enable dns" in /etc/ppp/ppp.conf
(ie. the ppp-program seems to enter the DNS-addresses into the
/etc/resolv.conf). I'm trying to run a dhcpd on the gateway,
and the dhclient on the other computer seems to get the leased
IP fine (it's usually 192.168.1.32), but the internet connection 
still doesn't work (I get "no route to yahoo.de" from lynx).

The file /etc/dhclient.conf (on the client computer) is empty 
and here's my /etc/dhcpd.conf (located at the gateway):

  shared-network LOCAL-NET {
          option  domain-name "dyndns.org";
          #option  domain-name-servers 192.168.1.3, 192.168.1.5;

          subnet 192.168.1.0 netmask 255.255.255.0 {
                  option routers 192.168.1.1;

                  range 192.168.1.32 192.168.1.127;
          }
  }

I've commented the "domain-name-servers" above out, because 
they are assigned dynamically. So how do you handle this please?

Thank you
Alex

PS: Nick Holland posted a check-list for making a computer 
networked (a file list) - but I can't find it in the archive...



Visit your host, monkey.org