tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Broadcast traffic on vlans leaks into the parent interface on NetBSD-5.1



        hello.  When I say "shows up", I mean the packets come in at the IP
layer on both the vlan and parent interfaces.  It manifests itself with
dhcpd as two different requests from the same MAC address on two different
subnets.  Below are two snippets of dhcpd log which illustrate the working
behavior versus the broken behavior.  I understand that when running
tcpdump on a parent interface, you'll see all of the vlan traffic.

-Brian




(Broken: NetBSD-5.1)
Nov 24 12:13:12 gw-test dhcpd: DHCPDISCOVER from 10:40:f3:8e:44:c2 via
vlan10
Nov 24 12:13:12 gw-test dhcpd: DHCPDISCOVER from 10:40:f3:8e:44:c2 via wm2
Nov 24 12:13:13 gw-test dhcpd: DHCPOFFER on 10.0.10.55 to
10:40:f3:8e:44:c2 via vlan10
Nov 24 12:13:13 gw-test dhcpd: DHCPOFFER on 10.0.1.232 to
10:40:f3:8e:44:c2 via wm2
Nov 24 12:13:14 gw-test dhcpd: DHCPREQUEST for 10.0.10.55 (10.0.10.1)
from 10:40:f3:8e:44:c2 via vlan10
Nov 24 12:13:14 gw-test dhcpd: DHCPACK on 10.0.10.55 to
10:40:f3:8e:44:c2 via vlan10
Nov 24 12:13:14 gw-test dhcpd: DHCPREQUEST for 10.0.10.55 (10.0.10.1)
from 10:40:f3:8e:44:c2 via wm2: wrong network.
Nov 24 12:13:14 gw-test dhcpd: DHCPNAK on 10.0.10.55 to
10:40:f3:8e:44:c2 via wm2

(Good: NetBSD-4)
Nov 17 12:34:38 gw-test dhcpd: DHCPDISCOVER from 10:40:f3:8e:44:c2 via
vlan10
Nov 17 12:34:39 gw-test dhcpd: DHCPOFFER on 10.0.10.55 to
10:40:f3:8e:44:c2 via vlan10
Nov 17 12:34:40 gw-test dhcpd: DHCPREQUEST for 10.0.10.55 (10.0.10.1)
from 10:40:f3:8e:44:c2 via vlan10
Nov 17 12:34:40 gw-test dhcpd: DHCPACK on 10.0.10.55 to
10:40:f3:8e:44:c2 via vlan10

On Nov 28,  6:48pm, Greg Troxel wrote:
} Subject: Re: Broadcast traffic on vlans leaks into the parent interface on
} --=-=-=
} Content-Type: text/plain
} 
} 
} Brian Buhrow <buhrow%nfbcal.org@localhost> writes:
} 
} What do you mean 'shows up'?  Are you using tcpdump/pcap?  Is it wrong
} for vlan-tagged traffic to appear on the parent?  Or do you mean packets
} arriving at the IP layer?
} 
} --=-=-=
} Content-Type: application/pgp-signature
} 
} -----BEGIN PGP SIGNATURE-----
} Version: GnuPG v1.4.12 (NetBSD)
} 
} iEYEARECAAYFAlC2ouIACgkQ+vesoDJhHiVdmwCfVPH1aMkTOfjlewyPP/ckH8du
} B/4AniaGhZB0hbdDqkKneXtzvj7ae9lG
} =+QeX
} -----END PGP SIGNATURE-----
} --=-=-=--
>-- End of excerpt from Greg Troxel




Home | Main Index | Thread Index | Old Index