25 lines
515 B
ISCdhcpd
25 lines
515 B
ISCdhcpd
|
|
default-lease-time 600;
|
||
|
|
max-lease-time 7200;
|
||
|
|
|
||
|
|
option rfc-3442-classless-static-routes code 121 = array of integer 8;
|
||
|
|
|
||
|
|
subnet 192.168.0.0 netmask 255.255.240.0 {
|
||
|
|
range 192.168.10.20 192.168.10.40;
|
||
|
|
option rfc-3442-classless-static-routes 24,172,16,2,192,168,10,254;
|
||
|
|
}
|
||
|
|
|
||
|
|
host GW-eth0{
|
||
|
|
hardware ethernet 42:00:aa:00:00:02;
|
||
|
|
fixed-address 172.16.2.254;
|
||
|
|
}
|
||
|
|
|
||
|
|
host GW-eth1{
|
||
|
|
hardware ethernet 42:00:aa:00:00:04;
|
||
|
|
fixed-address 192.168.10.254;
|
||
|
|
}
|
||
|
|
|
||
|
|
subnet 172.16.2.0 netmask 255.255.255.0 {
|
||
|
|
range 172.16.2.20 172.16.2.254;
|
||
|
|
}
|
||
|
|
|