[Bug 295520] Re: dhcp3-server vlan support seems to be broken
Reading the linux-netdev archives ( http://marc.info/?l=linux- netdev&m=124836694205107&w=2 ); "ISC dhcp3d [sic] does not use libpcap, and does not query the packet socket for the VLAN tag, so it treats every VLAN's packets as for the default VLAN.". This is just as the OP describes. So unless the behaviour of the raw interface changes back to the old way or ISC adopts libpcap, then a single instance of dhcpd will never be able to handle the default interface with additional VLAN interfaces off the same NIC. A suggested enhancement/workaround would be to have out-of-the-box support for an instance per interface. -- dhcp3-server vlan support seems to be broken https://bugs.launchpad.net/bugs/295520 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295520] Re: dhcp3-server vlan support seems to be broken
DistroRelease: Ubuntu 9.10 Package: dhcp3-server 3.1.2-1ubuntu7.1 PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 2.6.31-19.56-server I can confirm that even with the recent configuration above any DHCP requests that come over a tagged VLAN are also seen by the untagged interface. Here is a sample request coming over VLAN 5; DHCPDISCOVER from 00:23:8b:27:06:8b via eth1 DHCPDISCOVER from 00:23:8b:27:06:8b via eth1.5 DHCPOFFER on 192.168.213.152 to 00:23:8b:27:06:8b via eth1 DHCPOFFER on 192.168.205.150 to 00:23:8b:27:06:8b via eth1.5 In case there is any doubt; #> grep VID /proc/net/vlan/eth1.5 eth1.5 VID: 5 REORDER_HDR: 1 dev->priv_flags: 1 The DHCP server still sees the tagged VLAN packets when the VLAN interface isn't listed in INTERFACES. #> dhcpd3 -d eth1 ... Listening on LPF/eth1/00:04:23:ab:3e:ea/192.168.213/24 Sending on LPF/eth1/00:04:23:ab:3e:ea/192.168.213/24 Sending on Socket/fallback/fallback-net DHCPDISCOVER from 00:23:8b:27:06:8b via eth1 DHCPOFFER on 192.168.213.152 to 00:23:8b:27:06:8b via eth1 Naturally, the device doesn't see the offer as it is going out on the untagged VLAN. -- dhcp3-server vlan support seems to be broken https://bugs.launchpad.net/bugs/295520 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs