1# DHCPv4 two pools and subnets shared-network declaration config 2 3# shared-network declaration 4shared-network "foobar" { 5 # interface 6 interface "en0"; 7 # option 8 option domain-search "example.com", "example.org"; 9 # parameter 10 default-lease-time 1800; 11 # subnet declaration 12 subnet 10.5.5.0 netmask 255.255.255.224 { 13 # redefined parameter 14 default-lease-time 3600; 15 # another option 16 option ip-forwarding true; 17 } 18 # second subnet declaration 19 subnet 10.10.10.0 netmask 255.255.255.224 { } 20 # pools at shared-network level 21 pool { 22 range 10.5.5.5 10.5.5.10; 23 } 24 pool { 25 range 10.10.10.5 10.10.10.10; 26 } 27} 28