Rexxer

Some tips for me and other

DHCPD + aliases on an interface

As I known recently, DHCPD support aliases on an interfaces only with the cover “shared-network”, for example:

shared-network lan{

subnet 192.168.20.0 netmask 255.255.255.0 {
option routers 192.168.20.1;
option domain-name-servers 192.168.20.1, 192.168.20.2;

range 192.168.20.10 192.168.20.200;

}

subnet 192.168.30.0 netmask 255.255.255.0 {
option routers 192.168.30.1;
option domain-name-servers 192.168.20.1, 192.168.20.2;

range 192.168.30.10 192.168.30.200;

}

}

Leave a Reply