summaryrefslogtreecommitdiff
path: root/keama/tests/shareone4.in4
blob: ef0e15ac9daf379835a0a3e0bb9a02601f7ecc4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# DHCPv4 one-subnet 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;
    }
    # pool (must be after the subnet)
    pool {
        range 10.5.5.5 10.5.5.10;
    }
}