Demn. they sure forgot to mention it in the man :(
----- Original Message ----- From: "Katriel Traum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 12:14 PM Subject: RE: DHCPD problem > I encountered the same problem. > what you have to do is edit /etc/sysconfig/dhcp > and set the DHCPDARGS to the interface or interfaces you want dhcpd to > listen on. > > root@gw etc# cat /etc/sysconfig/dhcpd > # Command line options here > DHCPDARGS=eth1 > > that way dhcpd will listen only on one interface, and you won't have to set > up a "dummy" range on your other interface. > > > -katriel > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Ben-Nes Michael > Sent: Tuesday, June 04, 2002 10:46 AM > To: [EMAIL PROTECTED] > Subject: DHCPD problem > > > Hi All > > I have dificulty using DHCPD on Linux server (rh7.3) with 2 interfaces > > I found out the dhcpd require me to specify all the interfaces on the > server to start even if i dont want to use ( in this example eth0 ) one > of the interfaces. > > the HOWTO recomended me to enter this line for the unused eth0 > > subnet 194.90.15.160 netmask 255.255.255.224 { > } > > but then when I start to get "DHCP Discover" both interfaces send "DHCP > Offer" and the client which return "DHCP Request" to confirm get "DHCP > NAK" from the eth1 while eth0 send "DHCP ACK". > > This result in endless retries. > > if I do "ifconfig eth0 down" all work and the client get its ip ( after > i comment the eth0 enteries in the dhcpd.conf file ) > > if I leave both interfaces up and fill the missing option in the > 194.90.15.160 subnet the client succesfuly lease an ip from this subnet > > here is the dhcpd.conf 4 yours inspection: > > default-lease-time 600; > max-lease-time 7200; > > option domain-name-servers 192.168.0.1; > > subnet 192.168.0.0 netmask 255.255.255.0 { > option subnet-mask 255.255.255.0; > option broadcast-address 192.168.0.255; > option routers 192.168.0.1; > range 192.168.0.2 192.168.0.5; > option domain-name "internal.co.il"; > } > > subnet 194.90.15.160 netmask 255.255.255.224 { > } > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]