Subject: DHCP and multiple NICS
From: Jeremy Hodder (jeremy@jdhodder.no-ip.com)
Date: Wed Mar 27 2002 - 23:59:32 AKST
ok I did some more reading(old posts) and I think this should work. Do any
of
you see any problems with my dhcpd.conf file?do I need a shared-network
entry?
from what I read I just need to start dhcpd -q eth1 eth2
thanks
jeremy
# eth1 ip 192.168.1.254 3com10/100
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.11 192.168.1.254;
option routers 192.168.1.254; # gateway
option domain-name-servers 192.168.1.254, 12.6.42.1;
default-lease-time 3600;
max-lease-time 7200;
}
# eth2 ip 192.168.3.254 3com10
subnet 192.168.3.0 netmask 255.255.255.0 {
range dynamic-bootp 196.168.3.100 192.168.3.199;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.254, 12.6.42.1;
default-lease-time 3600;
max-lease-time 7200;
}
" I was the kid next door's imaginary friend. "
This archive was generated by hypermail 2a23 : Thu Mar 28 2002 - 00:04:50 AKST