Re: Connection tracking and vlan

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adayadil Thomas
Date: Friday, October 30, 2009 - 12:20 pm

On Fri, Oct 30, 2009 at 11:31 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote:


I am concerned about the following situation -

The linux device is configured as a bridge and is deployed between the
trunk ports
of 2 switches. In this situation the linux device will be seeing 802.1q packets
with vlan headers specifying the vlanids.

It is valid to have an environment where private IP addresses are duplicated
on different virtual LANs. i.e. it is valid to have machine A (
10.10.10.1) talking to
machine B (10.10.10.2) on vlan 1,
and
at the same time machine C ( 10.10.10.1) talking to machine D
(10.10.10.2) on vlan 2.

Since they are on different LANs (VLANs), there should not be any issues.

Now when VLANs are shared across switches, the trunk port will sent
802.1q tagged
packets between the switches. Imagine these packets when going through
the linux bridge.
The 802.1q header should identify the separate vlans by the vlan id.

If ip_conntrack does not consider vlans, it is possible that all 5
tuple are the same
and thus affect the connection tracking.

I hope I have described the scenario well. If not I can explain in a
more detailed fashion.

Thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Connection tracking and vlan, Herbert Xu, (Fri Oct 30, 8:20 am)
Re: Connection tracking and vlan, Eric Dumazet, (Fri Oct 30, 8:31 am)
Re: Connection tracking and vlan, Herbert Xu, (Fri Oct 30, 8:46 am)
Re: Connection tracking and vlan, Eric Dumazet, (Fri Oct 30, 9:19 am)
Re: Connection tracking and vlan, Patrick McHardy, (Fri Oct 30, 9:26 am)
Re: Connection tracking and vlan, Patrick McHardy, (Fri Oct 30, 9:27 am)
Re: Connection tracking and vlan, Herbert Xu, (Fri Oct 30, 9:55 am)
Re: Connection tracking and vlan, Adayadil Thomas, (Fri Oct 30, 12:20 pm)
Re: Connection tracking and vlan, Caitlin Bestler, (Fri Oct 30, 12:51 pm)
Re: Connection tracking and vlan, Adayadil Thomas, (Fri Oct 30, 1:40 pm)
Re: Connection tracking and vlan, Eric W. Biederman, (Fri Oct 30, 4:15 pm)
Re: Connection tracking and vlan, Ben Greear, (Fri Oct 30, 4:25 pm)
Re: Connection tracking and vlan, Adayadil Thomas, (Mon Nov 2, 9:14 am)
Re: Connection tracking and vlan, Adayadil Thomas, (Mon Nov 2, 9:30 am)
Re: Connection tracking and vlan, Patrick McHardy, (Mon Nov 2, 9:33 am)
Re: Connection tracking and vlan, Eric Dumazet, (Mon Nov 2, 9:41 am)
Re: Connection tracking and vlan, Patrick McHardy, (Mon Nov 2, 9:48 am)
Re: Connection tracking and vlan, Eric W. Biederman, (Mon Nov 2, 10:02 am)