<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-crea="font-wrapper" style="font-family: Tahoma; font-size: 13px; direction: ltr"><div>I'm experiencing a strange issue with Kea issuing to some DHCP clients an IP address from the wrong subnet and associated pool. This means in effect that clients on my local LAN/WLAN are getting IP addresses from the guest WLAN. It is not happening to all clients however. At present I have one phone and one laptop affected.<br></div><div><br></div><div>I have 2 subnets configured in both IPv4 and IPv6 but my problem seems to be limited to IPv4, and at this time I'm really only interested in IPv4.</div><div><br></div><div>I'm running a single server (Ubuntu) with 2 interfaces: bond0 and bond0.100 - these interfaces are both working fine and are brought up at boot time.</div><div><br></div><div>IP addressing:</div><div>bond0: 192.168.2.253</div><div>bond0.100: 192.168.100.3</div><div><br></div><div>The attached Cisco 2960g switch has the correct native and tagged VLANs configured.<br></div><div><br></div><div>Kea is listening on both interfaces, and in the subnet4 / subnet config I have specified a specific interface for each subnet.</div><div><br></div><div>Config as follows (I've cut out a lot of option and reservation config so the JSON formatting might look wrong):<br></div><div><br></div><div><font face="Courier New, monospace">{<br>"Dhcp4": {<br>    "interfaces-config": {<br>        "interfaces": [<br>            "bond0/192.168.2.253",<br>            "bond0.100/192.168.100.3"<br>        ]<br>    },<br>    "control-socket": {<br>        "socket-type": "unix",<br>        "socket-name": "/tmp/kea-dhcp4-ctrl.sock"<br>    },<br>    "lease-database": {<br>        "type": "memfile",<br>        "persist": true,<br>        "lfc-interval": 3600<br>    },<br>    "expired-leases-processing": {<br>        "reclaim-timer-wait-time": 10,<br>        "flush-reclaimed-timer-wait-time": 25,<br>        "hold-reclaimed-time": 3600,<br>        "max-reclaim-leases": 100,<br>        "max-reclaim-time": 250,<br>        "unwarned-reclaim-cycles": 5<br>    },<br>    "renew-timer": 7200,<br>    "rebind-timer": 14400,<br>    "valid-lifetime": 28800,<br>    "subnet4": [<br>        {<br>            "subnet": "192.168.2.0/24",<br>            "interface": "bond0",<br>            "pools": [<br>                {<br>                    "pool": "192.168.2.100 - 192.168.2.199"<br>                }<br>            ],<br>        {<br>            "subnet": "192.168.100.0/24",<br>            "interface": "bond0.100",<br>            "pools": [<br>                {<br>                    "pool": "192.168.100.100 - 192.168.100.199"<br>                }<br>            ],<br>        }<br>    ]<br>},<br>}</font><br></div><br><div></div><div>If anyone has any idea if I'm doing something wrong I'd be grateful to hear it.</div><div><br></div><div>Thanks,</div><div><br></div><div>Chris Slater-Walker<br></div></div></body></html>