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]

Reply via email to