# DHCPv4 two pools and subnets shared-network declaration config # shared-network declaration shared-network "foobar" { # interface interface "en0"; # option option domain-search "example.com", "example.org"; # parameter default-lease-time 1800; # subnet declaration subnet 10.5.5.0 netmask 255.255.255.224 { # redefined parameter default-lease-time 3600; # another option option ip-forwarding true; } # second subnet declaration subnet 10.10.10.0 netmask 255.255.255.224 { } # pools at shared-network level pool { range 10.5.5.5 10.5.5.10; } pool { range 10.10.10.5 10.10.10.10; } } |