Connecting two machines with an ethernet bridge


 
Thread Tools Search this Thread
Special Forums IP Networking Connecting two machines with an ethernet bridge
# 8  
Old 11-04-2010
Question problem in bridging!

Thanks ll for replying!
My objective is to control the traffic between X.8<--->X.16 by using a bridge machine in between with 2 NIC cards so that the configuration is like:
X.8<------>(X.41 X.40)<------->X.16
All are with /24 subnet mask.
I intend to add X.40 and X.41 interface to the bridge using brctl and then use dummynet pipes to control the traffic between X.8<---->X.16 so that all the traffic flowing between X.8 and X.16 passes through the bridge machine.

I have no router/hubs connected in the network and the only physical connections are between X.8<---->X.41 and X.16<----->X.40 directly back to back with cables.
Now the X.8<---->X.41 connectivity is OK using ping but no connectivity between X.16<---->X.40 ping fails both side (Destination Host Unreachable).

The problem only arises when both cables are connected in the bridge machine of X.40 and X.41 interfaces. With single connections both paths work perfectly.

My question is: why X.16<----->X.40 ping fails even they are directly connected.
Moreover, X.8----->X.40 is giving ping replies even though not directly connected nor bridging is enabled.

Summarizing, only the X.16---->X.40 ping is not working...all other connections are OK.

Any help will be highly appreciated!
Thanks!
# 9  
Old 11-04-2010
I repeat:
Quote:
Originally Posted by Corona688
Do their MAC addresses at least show up in your ARP tables when they try to ping each other?
arp is a lower level of communication than most firewalls and can communicate even on a severely mis-configured network. When you try and do any sort of communication between hosts, whether they succeed or not they should at least get each other's MAC addresses in their ARP tables. If they don't even see each other on ARP, I suspect a hardware or cable issue.

If you don't know how to check ARP, /sbin/arp -n.
# 10  
Old 11-05-2010
MySQL thanks!

Thanks to all for replying!
I am able to solve the problem by adding a bridge between X.40 and X.41 so that now end-to-end X.8<---->X.16 works perfectly. I don't care other connectivity issues since this is what was required by me. Moreover, by adding dummynet pipes, I am able to control the traffic between X.8<--->X.16 which was my objective.

Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. OS X (Apple)

Hostroute => Bridge and IP-Forwardings

Hello unix community, Could anyone tell me what is the macosx command for: 1) ip hostroute to bridge: ip route add 188.40.1.40/32 dev br0 (linux command) /32 ist for netmask? Because I use /29. 2) and IP-Forwarding: net.ipv4.ip_forward = 1 (linux command) I hope anyone could... (1 Reply)
Discussion started by: girlusingunyx
1 Replies

2. IP Networking

Create a Bridge for Qemu using only loopback

hello networking folks, i have 3 virtual machines that need to talk to each other How can i create a bridge to loopback ? -net tap,vlan=0,ifname=tap1 where tap1 is connected to lo:1 , tap2 is connected to lo:2 etc thx (0 Replies)
Discussion started by: TwiceDone
0 Replies

3. Ubuntu

Wireless Bridge/Repeater ?

I have a laptop running Ubuntu Netbook Remix. What I want to do is use it to connect to my routers wifi, and then plug my desktop into the laptops ethernet port and be hooked to my routers network without any NAT or ICS. Desktop>>>>>>Laptop/Wired>>Laptop/Wireless>>>>>Router I want it to look... (6 Replies)
Discussion started by: schwasskin
6 Replies

4. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

6. IP Networking

SNMP in a Bridge device

Hello all, recently we've created a Bridge on a machine that was being used as an snmp, and we haven't assigned an IP for the bridge interface, instead we've used one extra NIC to make all the administrations, but SNMP is simply not working, any one have a clue on how to do this? Thanks. (0 Replies)
Discussion started by: Zarnick
0 Replies

7. UNIX for Dummies Questions & Answers

bridge on linux

Hello. I expirince some problems with bridging, i'm pretty new to that technology I've 2 nic's 1 - wireless rt2500 ra0 canyon cn511 card 2 - e100 intel, ifconfig ra0 up && iwconfig ra0 essid xxx channel x mode managed bring me wireless connection up then i do following: brctl addbr br0... (1 Reply)
Discussion started by: hachik
1 Replies
Login or Register to Ask a Question