subnets separate with physical cards
Carlos Miranda
debian at mstaaravin.com.ar
Mon Jan 28 18:19:06 UTC 2008
On 1/28/08, Romer Ventura <rventura at h-st.com> wrote:
> Since each of them are on a different subnet you can define each of the
> options that you need on their respective subnet declaration within the
> .conf file so there is not need to have multiple .conf files and I really
> don't think it is supported. (multiple conf files)
Thanks for quickly respond
in /etc/dhcp3-server/dhcpd.conf at the end of file say:
You can declare a class of clients and then do address allocation
based on that. The example below shows a case where all clients
in a certain class get addresses on the 10.17.224/24 subnet, and all
other clients get addresses on the 10.0.29/24 subnet.
#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}
#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }
#}
I guess it's what I need, but how define the vendor class, with MAC
address...? or nominal name (eth0, ethx, etc)
Thanks
--
"La Voluntad es el unico motor de nuestros logros"
<Mstaaravin />
More information about the dhcp-users
mailing list