We've been trying to do some testing with dual stacking but have come across some weird behavior. When we run our Kea DHCP servers, DHPv4 is able to give out IP addresses but DHCPv6 does not. Machines are receiving IPv6 addresses, but the Kea server isn't the one giving them out (We turned off Kea DHCPv6 and machine were still able to get IPv6 addresses).
Kea DHCPv6 Config
"Dhcp6": { "lease-database":{ "type": "mysql", "name": "pebcak", "host": "", "user": "abcd", "password": "1234" }, "hosts-database":{ "type": "mysql", "name": "pebcak", "host": "", "user": "abcd", "password": "1234" }, "interfaces-config": { "interfaces": [ "eth0/1234:5:678:1011::4" ] }, "control-socket": { "socket-type": "unix", "socket-name": "/tmp/kea-dhcp6-ctrl.sock" }, "hooks-libraries": [ { "library": "/usr/local/lib/hooks/libdhcp_lease_cmds.so" } ], "option-data":[{ "name": "unicast", "data": "1234:5:678:1011::4" }], "mac-sources": ["duid"], "preferred-lifetime": 3000, "valid-lifetime": 4000, "renew-timer": 1000, "rebind-timer": 2000,ig "subnet6": [{ "subnet": "1234:5:678:1011::/64", "pools": [{ "pool": "1234:5:678:1011::10-1234:5:6789:1011::ffff" }] }] },
VLAN Config
vlan 34 name "Dual-Stack-Test" ip helper-address 192.168.1.4 ip address 192.168.1.1 255.255.255.0 ip ospf 192.168.1.1 area 0.0.0.16 ipv6 enable ipv6 address 1234:5:6789:1011::1/64 ipv6 ospf3 area 0.0.0.16 ipv6 helper-address unicast 1234:5:6789:1011::4 exit
No comments:
Post a Comment