LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-14-2014, 07:44 AM   #1
capzulu
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
Question Strange bridge behaviour, need sugestions


I have this 3 machines with this setup:
Computer1----Computer with Ubuntu 12.04-----Computer2

Computer1 have IP 192.168.10.1 and Computer2 have 192.168.10.10.
My computer with Ubuntu have 2 ethernet interfaces. I want to create a bridge in Ubuntu so Computer1 and Computer2 can talk to each other.

I have created a bridge in Ubuntu with

Code:
sudo ifconfig eth0 0.0.0.0 down
sudo ifconfig eth1 0.0.0.0 down
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 eth1
sudo ifconfig br0 up
sudo ifconfig eth0 promisc up
sudo ifconfig eth1 promisc up
The command "brctl showstp br0" shows me that the state of eth0 and eth1 is forwarding.

Then I start tshark in bridge with

Code:
sudo tshark -i br0
If in Computer2 I try to ping Computer1 I get

Code:
ARP 60 Who has 192.168.10.1? Tell 192.168.10.10
In the bridge I get the ARP Request from Computer2 but I don't see ARP Reply from Computer1

When I run the tshark at Computer1 gets this

Code:
ARP 60 Who has 192.168.10.1? Tell 192.168.10.10
ARP 42 192.168.10.1 is at XX:XX:XX:XX:XX:XX (mac hidden)
With this I see that ARP gets passed through the brige, Computer1 receives the ARP and sends the reply but that reply don't go through the bridge.

Any ideas???

Thanks
 
Old 02-14-2014, 10:45 AM   #2
pingwinowiewc
Member
 
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90

Rep: Reputation: Disabled
is smbc blocked at Ubuntu? this may be a cause.....
If you switch c1 with c3 by place what do you get?
Try pinging each other both on iddle (sxa) and working, maybe something blocks ethX?
 
Old 02-14-2014, 12:56 PM   #3
capzulu
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
What smbc have to do with this?

You mean switching C1 and C2? It does the same thing.
It appears thar the bridge interfaces only "see" broadcast packets and not unicast.
 
Old 02-15-2014, 04:18 PM   #4
Bladerox
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
I am not sure but bridges route traffic based on MAC and not on IP, so maybe they canīt handle hidden interfaces?
 
  


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
Strange TC behaviour hesisaboury Linux - Networking 2 06-17-2012 03:20 AM
strange behaviour marsques Slackware 11 02-15-2006 07:05 PM
Strange Behaviour! joshuarowley LQ Suggestions & Feedback 1 12-08-2005 04:36 PM
Strange behaviour Anmol SUSE / openSUSE 2 10-28-2005 12:05 AM
Strange Behaviour mikeyt_3333 Linux - General 4 08-06-2001 04:07 PM

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

All times are GMT -5. The time now is 01:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration