One DHCP Server, Multiple Subnets
Shaun R
mailinglists at unix-scripts.com
Thu Feb 4 17:57:10 UTC 2010
I have a network (VLAN) that has many /26 subnets attached to it. I am
trying to run a DHCP server that will awnser dhcp requests for all
subnets on this network. I dont have a free ip pool in my dhcp config,
i assign each server it's IP using it's mac address. The problem i'm
seeing is that if a machine in a different subnet from the subnet the
dhcp server is running on asks for a ip it shoes the following.
Feb 4 09:35:21 host dhcpd: DHCPREQUEST for 10.82.117.197 from
fe:fd:d0:52:75:c5 via eth0: wrong network.
Feb 4 09:35:21 host dhcpd: DHCPNAK on 10.82.117.197 to
fe:fd:d0:52:75:c5 via eth0
Feb 4 09:35:27 host dhcpd: DHCPDISCOVER from fe:fd:d0:52:75:c5 via
eth0: network 10.10.37.64/26: no free leases
Here's a snip from my config.
subnet 10.82.117.64 netmask 255.255.255.192 {
option routers 10.82.117.67;
option subnet-mask 255.255.255.192;
authoritative;
host D0527545 {
hardware ethernet FE:FD:D0:52:75:45;
fixed-address 10.82.117.69;
}
<<many more of the above for each ip>>
}
subnet 10.10.37.64 netmask 255.255.255.192 {
option routers 10.10.37.65;
option subnet-mask 255.255.255.192;
authoritative;
host CC0A2543 {
hardware ethernet FE:FD:CC:0A:25:43;
fixed-address 10.10.37.67;
}
<<many more of the above for each ip>>
}
Where am i going wrong here?
More information about the dhcp-users
mailing list