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

dhclient3 fetching NIC IP for gateway machine from DSL modem



I've got a weird problem that I always thought must be my hardware but I replaced the hardware and it's continuing.

My gateway lenny box hooks up my LAN to the broadband using dhclient3 to fetch the external IP address from the DSL modem. The second NIC is the internal LAN so it's irrelevant, but just to mention so nobody thinks I'm mixing it up.

I have 3 DSL modem and they all act the same. After a day or a week, I lose the ability to ping the DSL modem, or to browse its GUI admin interface.

A power cycle of the modem and doing 'ifdown eth1' 'ifup eth1' is so far the only way I've found to sort it out.

The gateway runs dnsmasq to provide DHCP service to the LAN and iptables as a firewall and for NAT'ing.

To give some info, hopefully useful to show the situation:

dhclient.conf:

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
supersede domain-name "localdomain";
supersede domain-name-servers 127.0.0.1, 208.67.222.222, 208.67.220.220;
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-search, host-name,
	netbios-name-servers, netbios-scope, interface-mtu,
	rfc3442-classless-static-routes;
require subnet-mask;


adam@isengard:~/junk/photos$ /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:a0:cc:52:5d:fe
          inet addr:109.156.124.66  Bcast:109.156.124.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3622978 errors:1 dropped:0 overruns:0 frame:0
          TX packets:3417304 errors:1 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:1514614115 (1.4 GiB)  TX bytes:362903393 (346.0 MiB)
          Interrupt:22 Base address:0xd800



Reply to: