Skip to content
Snippets Groups Projects

Kea DHCP Server sample #1

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by RDR-IT
    kea-dhcp4.conf 747 B
    {
    	"Dhcp4": {
    		"interfaces-config": {
    			"interfaces": [ "ens33" ]
    		},
    		
    		"control-socket": {
    			"socket-type": "unix",
    			"socket-name": "/run/kea/kea4-ctrl-socket"
    		},
    
    		"lease-database": {
    			"type": "memfile",
    		  	"lfc-interval": 3600
    		},
    		
    		"valid-lifetime": 600,
    		"max-valid-lifetime": 7200,
       
    		"subnet4": [
    			{
    				"id": 1,
    		  		"subnet": "192.168.100.0/24",
    
    				"pools": [
    		  			{
    						"pool": "192.168.100.120 - 192.168.100.130"
    		  			}
    		  		],
    		  		"option-data": [
    					{
    						"name": "routers",
    						"data": "192.168.100.254"
    					},
    					{
    						"name": "domain-name-servers",
    						"data": "1.1.1.1, 8.8.8.8"
    					},
    					{
    						"name": "domain-name",
    						"data": "247-it.io"
    					}
    		  		]
    		  	}
    		]
    	}
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment