dhcpd 提供多个subnet的dhcp服务时...

cite from http://www.linuxhomenetworking.com/forums/showthread.php/524-dhcpd-unable-to-serve-multiple-subnets

 

That's good to know. This link has some good easy to read information too:

http://www.nominum.com/getOpenSourceResource.php?id=7

"There is a lot of confusion about when to use the shared-network statement. The only time to use the shared-network statement is when you have 2 or more different IP subnets that share the same wire (some network folks call this one broadcast domain).

If you only have one subnet on a network, just use a single subnet{} clause to describe it.

Here is an example of the correct use of the shared-network clause:

shared-network Inside {
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.128 10.10.10.254;
option routers 10.10.10.1;
}
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.10 192.168.2.254;
option routers 192.168.2.1;
}
}
This is a simple network, where the 10.10.10.0 and 192.168.2.0 networks both share the same wire. You might do this where you need more IP addresses than are available on the original network. It might be necessary to add a new network in order to support all the hosts."

你可能感兴趣的:(domain,NetWork)