DHCP: Two subnets and some machines on both
Hi everyone,
I have two separate subnets (192.168.2.0/24 and 192.168.8.1/24) and I would like my DHCP to give some machines (including mine) a 192.168.2.X address using a 255.255.0.0 subnet so I can access both, but not everyone should! My gues was to do something like host Benja{ hardware ethernet XXXXXX; fixed-address 192.168.2.22; fixed-netmask 255.255.0.0; } but it doesn't work... Any idea? Thanks! |
is your DHCP server an embedded device such as a router or is it a dedicated machine?
|
Oups, indeed I forgot to mention that I'm usung the classic Debian DHCP server :)
|
in that case i am unfamiliar with it sorry for the hastle
|
Solved!
Ok, I've got it (from a friend of mine)
host benja{ hardware ethernet 00:1e:37:XX:XX:XX; fixed-address benja.localdomain; option subnet-mask 255.255.0.0; } |
All times are GMT -5. The time now is 10:44 AM. |