<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">In order to try and keep the email lists a bit more focused and to make<div class="">it easier to understand which code base somebody is using when they say</div><div class="">something like “the server does <something>” we have separate mailing</div><div class="">lists for Kea and ISC DHCP.</div><div class=""><br class=""></div><div class="">Messages about Kea should be sent to either </div><div class=""><a href="mailto:kea-users@lists.isc.org" class="">kea-users@lists.isc.org</a></div><div class="">or</div><div class=""><a href="mailto:kea-dev@lists.isc.org" class="">kea-dev@lists.isc.org</a></div><div class=""><br class=""></div><div class="">regards,</div><div class="">Shawn</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 14, 2015, at 7:27 AM, Raj raj <<a href="mailto:rajlistuser@gmail.com" class="">rajlistuser@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Dear List,<br class=""><br class="">I am testing kea (0.9.2) in my environment as my DHCP server. One<br class="">peculiarity  is that all clients are in a VLAN and  DHCP server must<br class="">listen on a vlan interface for DHCP packets. I have configured the kea<br class="">config file accordingly and the server is receiving DHCPDISCOVER<br class="">packet. But it is not responding to DHCPDISCOVER and bails out with<br class="">the following error message.<br class=""><br class="">2015-09-14 19:34:25.852 ERROR [kea-dhcp4.bad-packets/29128]<br class="">DHCP4_PACKET_NAK_0001 [hwtype=1 a0:36:9f:41:b6:3a], cid=[no info],<br class="">tid=0xc28b7213: failed to select a subnet for incoming packet, src<br class="">192.168.200.79, type DHCPDISCOVER<br class=""><br class="">The dhcp4 section of the config file is as follows:<br class=""><br class="">"Dhcp4":<br class="">{<br class=""># Add names of interfaces to listen on.<br class="">"interfaces-config": {<br class="">"interfaces": ["vlan0/192.168.200.1","eth0"]<br class="">},<br class=""><br class=""># Use Memfile lease database backend to store leases in a CSV file.<br class="">"lease-database": {<br class="">"type": "memfile"<br class="">},<br class=""><br class=""># Global (inherited by all subnets) lease lifetime is mandatory parameter.<br class="">"valid-lifetime": 4000,<br class=""><br class=""># Below an example of the simple subnet declaration. Uncomment to<br class=""># enable it. This is a list, denoted with [ ], of structure, denoted<br class=""># with { }. Each structure describes a single subnet and may have<br class=""># several parameters. One of those parameters is "pools" that is<br class=""># also a list of structures.<br class="">"subnet4": [<br class="">{ "subnet": "192.0.2.0/24",<br class="">"pools": [ { "pool": "192.0.2.1 - 192.0.2.200" } ] }<br class="">]<br class="">}<br class=""><br class="">my interface list is as follows:<br class=""><br class="">eth0 Link encap:Ethernet HWaddr f8:a9:63:0c:3c:cb<br class="">UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br class="">RX packets:653 errors:0 dropped:0 overruns:0 frame:0<br class="">TX packets:4085 errors:0 dropped:0 overruns:0 carrier:0<br class="">collisions:0 txqueuelen:1000<br class="">RX bytes:187646 (187.6 KB) TX bytes:813585 (813.5 KB)<br class=""><br class="">lo Link encap:Local Loopback<br class="">inet addr:127.0.0.1 Mask:255.0.0.0<br class="">UP LOOPBACK RUNNING MTU:65536 Metric:1<br class="">RX packets:3621 errors:0 dropped:0 overruns:0 frame:0<br class="">TX packets:3621 errors:0 dropped:0 overruns:0 carrier:0<br class="">collisions:0 txqueuelen:0<br class="">RX bytes:310760 (310.7 KB) TX bytes:310760 (310.7 KB)<br class=""><br class="">vlan0 Link encap:Ethernet HWaddr f8:a9:63:0c:3c:cb<br class="">inet addr:192.168.200.1 Bcast:192.168.200.255 Mask:255.255.255.0<br class="">UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br class="">RX packets:653 errors:0 dropped:0 overruns:0 frame:0<br class="">TX packets:285 errors:0 dropped:0 overruns:0 carrier:0<br class="">collisions:0 txqueuelen:0<br class="">RX bytes:175892 (175.8 KB) TX bytes:54628 (54.6 KB)<br class=""><br class="">wlan0 Link encap:Ethernet HWaddr b8:ee:65:23:4f:4b<br class="">inet addr:192.168.13.157 Bcast:192.168.13.255 Mask:255.255.255.0<br class="">UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br class="">RX packets:30638 errors:0 dropped:0 overruns:0 frame:0<br class="">TX packets:15842 errors:0 dropped:0 overruns:0 carrier:0<br class="">collisions:0 txqueuelen:1000<br class="">RX bytes:23644283 (23.6 MB) TX bytes:1962670 (1.9 MB)<br class=""><br class="">As you can see the vlan0 is configured with 192.168.200.1/24. The dhcp<br class="">requests are being relayed by 192.168.200.79. I am not able to figure<br class="">out what am I doing wrong here.<br class=""><br class="">Help to resolve this will be much appreciated.<br class=""><br class="">Thanks and Regards,<br class=""><br class="">Raj<br class="">_______________________________________________<br class="">dhcp-users mailing list<br class=""><a href="mailto:dhcp-users@lists.isc.org" class="">dhcp-users@lists.isc.org</a><br class="">https://lists.isc.org/mailman/listinfo/dhcp-users<br class=""></div></blockquote></div><br class=""></div></body></html>