[Kea-users] Assigning IP to Cisco Switch
Gokulakrishnan Gopalakrishnan
ggopalakrishnan at salesforce.com
Fri Sep 8 12:08:12 UTC 2017
Hi
I'm migrating from dhcpd to Kea in assigning IP to Nexus 3K Cisco
<https://www.cisco.com/c/en/us/products/collateral/switches/nexus-5000-series-switches/white_paper_c11-522337.html>
Switches. I was able to assign IP using dhcpd but I'm facing issues with
Kea. I've given below the dhcpd.conf(working) and kea.conf(not working).
Please let me know where I'm doing wrong
*dhcpd.conf*
not authoritative;
option routers 192.216.22.129;
next-server 192.253.130.210;
subnet 192.250.226.208 netmask 255.255.255.248 {
class "Cisco-3k-v6" {
match if substring(option vendor-class-identifier, 0, 22) = "Cisco
N3K-C3172TQ-10GT";
option bootfile-name "poap_script_ops_6.0.2.U5.1.py";
}
default-lease-time 3600;
max-lease-time 3600;
option domain-name “example.net";
option routers 192.250.226.209;
option domain-name-servers 192.253.130.210;
option tftp-server-name "192.253.130.210";
pool {
allow members of "Cisco-3k-v6";
range 192.250.226.212 192.250.226.212; }}
*Kea.conf*
"valid-lifetime": 3600,
"next-server":"192.253.130.210",
"subnet4": [ {
"pools" : [{"pool": "192.250.226.212 - 192.250.226.212"}],
"subnet" : "192.250.226.208/29",
"option-data" : [
{"name" : "routers",
"data" : "192.250.226.209"},
{"name":"boot-file-name",
"data":"poap_script_ops_6.0.2.U5.1.py"},
{"name":"tftp-server-name",
"data" : "192.253.130.210"},
{ "name":"host-name",
"data" : "example.net"},
{"name":"domain-name-servers",
"data" : "192.253.130.210"}
]}]},
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170908/01f4b90a/attachment.htm>
More information about the Kea-users
mailing list