← Back to team overview

touch-packages team mailing list archive

[Bug 1167614] Re: DHCP server incorrectly handling VLAN tagged packets

 

In my situation I've got for example the following;

eth0 (root device)
eth0.100 (vlan 100)
eth0.1024 (vlan 1024)


To even get ISC to start, I have to assign a scope to the eth0 device.  It refuses to use either VLAN interface as a valid interface.   If I place a  DHCP pool and an IP of 192.168.2.0/24 on the eth0 device, ISC will start.  Creating pools for 192.168.3.0 and 192.168.4.0 on the VLANS is fine, however if a device on one of the VLAN's requests DHCP, you can see the request packets arrive on both eth0 and eth0.100 for instance, and it gets answered on eth0.  

If you don't give an IP to eth0, ISC will completely refuse to start
saying there's no adapters, despite having static IP's on the eth0.100
and eth0.1024.

You would expect the packets to arrive on the root device, but
apparently ISC will only talk on the root device.

I've confirmed that setting a static IP for a device on the VLAN works
perfectly - sending it's packets in on the VLAN tagged virtual
interface.  It's just that ISC won't look on those interfaces for where
to apply a scope.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1167614

Title:
  DHCP server incorrectly handling VLAN tagged packets

Status in isc-dhcp package in Ubuntu:
  Confirmed
Status in Debian GNU/Linux:
  New

Bug description:
  Upon receipt of a VLAN tagged packet, the DHCP server is processing it
  as though it was received without a VLAN tag.

  Steps to reproduce:
  - Send a DHCPDISCOVER packet to the broadcast address with a VLAN tag

  Expected results:
  - None. The DHCP server should ignore this packet.

  Actual results:
  - The DHCP server interprets the packet as though it were received untagged and transmits a response accordingly.

  Comments:
  - I believe this to be an instance of Debian bug #643564

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: isc-dhcp-server 4.1.ESV-R4-0ubuntu5.6
  ProcVersionSignature: Ubuntu 3.2.0-40.64-generic 3.2.40
  Uname: Linux 3.2.0-40-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Date: Wed Apr 10 18:42:30 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: isc-dhcp
  UpgradeStatus: Upgraded to precise on 2012-09-01 (221 days ago)
  modified.conffile..etc.dhcp.dhcpd.conf: [modified]
  mtime.conffile..etc.dhcp.dhcpd.conf: 2012-12-14T11:32:45

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1167614/+subscriptions