[kea-dev] how to confgiure gateway address for a subnet in key.conf

Marcin Siodelski marcin at isc.org
Thu Jan 29 10:36:21 UTC 2015


Please use the following syntax:

"Dhcp4": {
    "subnet4": [
        {
            "option-data": [
                {
                    "name": "routers",
                    "data": "192.0.2.3"
                },
                ...
            ],
            ...
        },
        ...
    ],
    ...
}

or

"Dhcp4": {
    "subnet4": [
        {
            "option-data": [
                {
                    "code": 3,
                    "data": "192.0.2.3"
                },
                ...
            ],
            ...
        },
        ...
    ],
    ...
}

Marcin

On 01/29/15 11:24, anuj chauhan wrote:
> Hi,
> I want to send deault gateway to dhclients for a subnet.
> What json syntax i need to put in key.con for defining 
> gatway addr.
> 
> 
> 
> 
> 
> Regards
> Anuj Chauhan
> 
> 
> _______________________________________________
> kea-dev mailing list
> kea-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-dev
> 


More information about the kea-dev mailing list