LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2014, 05:21 AM   #1
palani.rm
LQ Newbie
 
Registered: May 2014
Posts: 3

Rep: Reputation: Disabled
Post Communicate between the VLANs in Bridge fails


Hi,
I have two vlans and both are part of bridge interface. when i try to ping between the interfaces it fails.

eth1.100 // 192.168.10.100
eth1.200 // 192.168.10.200
br0 192.168.10.10

When i try the ping command "ping -I br0 192.168.10.100" it fails.

Since i want to happens this thru L2, i have removed the entries in ip route and added the static arp.

when i do brctl showmacs br0, MAC is learn as Local (Is local - yes) and since both vlan uses the same MAC, if i do the tcpdump on the interface i'm getting the packet regardless of the VLAN. Looks like look is only based on the MAC and not based on VLAN + MAC.

Is it possible to reach interfaces using L2 bridge based on the VLAN on same host.
 
Old 05-28-2014, 08:47 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,209

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
The whole point of VLAN is to separate L2 traffic. If you want them to talk to each other, give the interface two IPs on the same VLAN or add a router.
 
1 members found this post helpful.
Old 05-28-2014, 11:15 AM   #3
palani.rm
LQ Newbie
 
Registered: May 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
you are right,
1. i'm sending the packet with vlan (100) thru the bridge on same host. But the RX of the vlan interface is not getting incremented.
2. Even though packet is vlan tagged (100) it received on both the vlan interfaces (observed using tcpdump).

How to ensure L2 is processed based on VLAN + MAC
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bridge on 3 vlans tincboy Linux - Networking 3 10-13-2011 03:44 PM
'bridge firewalling' with vlans aijazbaig1 Linux - Wireless Networking 3 05-28-2010 02:21 PM
'bridge firewalling' with vlans aijazbaig1 Linux - Networking 0 05-27-2010 04:12 AM
VLANs and BRIDGE kpal Linux - Networking 4 11-16-2007 09:10 AM
Filtering Bridge with VLANs whirlpool78 Linux - Networking 6 02-22-2005 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration