Sponsored Content
Special Forums IP Networking Connecting two machines with an ethernet bridge Post 302469031 by abhishek2301 on Thursday 4th of November 2010 01:08:42 PM
Old 11-04-2010
Prob with connecting 2 machines with a bridge!

Thanks for replying!
I mentioned in my first post that I need to control traffic flowing between 2 machines using a bridge. All are in the same subnet with subnet mask of 255.255.255.0 in all interfaces in all machines.
I have connected the machines directly back to back with the configurations mentioned in my first post.
X.40/24 is eth1 and X.41/24 is eth0 in bridge machine.
Other 2 host machines are: X.8/24 and X.16/24 where X=192.168.0 in all the machines.
I have directly connected X.41->X.8 and X.40->X.16
Now my prob is I am able to ping X.41->X.8 both ways correctly.
But X.40->X.16 is not able to ping both ways. Moreover, X.8 is able to ping X.40 though not directly connected.

Latest observation is, when I disconnect X.41->X.8 connection then X.40->x.16 is able to ping both ways perfectly.
So the problem happens when both the cables are connected in the bridge machine interfaces X.40 and X.41
So, the problem is not related to ip/subnet addressing errors!

The arp tables look as follows:
At X.16-->arp- a gives ? (192.168.0.40) at <incomplete> on eth0
At X.40-->arp -a gives ? (192.168.0.16) at <incomplete> on eth1

So, it seems that the arp tables entries are missing.
But when I disconnect the connection of X.41->X.8 then the arp table entries show correctly in X.40 and X.16 and are also able to ping each other as already mentioned.

Any help will be highly appreciated!
Thanks!

---------- Post updated at 01:08 PM ---------- Previous update was at 12:53 PM ----------

The connection:
Quote:
X.8<------>(X.41 X.40)<------->X.16
is absolutely correct.
Not able to ping: X.40<------>X.16
Able to ping: X.41<--------->X.8
Removing the connection X.41<------->X.8 the ping works perfectly in X.40<------->X.16
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
arp(1M) 						  System Administration Commands						   arp(1M)

NAME
arp - address resolution display and control SYNOPSIS
arp hostname arp -a [-n] arp -d hostname arp -f filename arp -s hostname ether_address [temp] [pub] [trail] DESCRIPTION
The arp program displays and modifies the Internet-to-MAC address translation tables used by the address resolution protocol (see arp(7P)). With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot notation. OPTIONS
-a Display all of the current ARP entries. The definition for the flags in the table are: M Mapping; only used for the multicast entry for 224.0.0.0 P Publish; includes IP address for the machine and the addresses that have explicitly been added by the -s option. ARP will respond to ARP requests for this address. S Static; not learned for the ARP protocol. U Unresolved; waiting for ARP response. You can use the -n option with the -a option to disable the automatic numeric IP address-to-name translation. Use arp -an or arp -na to display numeric IP addresses. -d Delete an entry for the host called hostname. This option may only be used by the super-user. -f Read the file named filename and set multiple entries in the ARP tables. Entries in the file should be of the form: hostname MACaddress [temp] [pub] [trail] See the -s option for argument definitions. -s Create an ARP entry for the host called hostname with the MAC address MACaddress. For example, an Ethernet address is given as six hexadecimal bytes separated by colons. The entry will be permanent unless the word temp is given in the command. If the word pub is given, the entry will be published. For instance, this system will respond to ARP requests for hostname even though the hostname is not its own. The word trail indicates that trailer encapsulations may be sent to this host. arp -s can be used for a limited form of proxy ARP when a host on one of the directly attached networks is not physically present on the subnet. Another machine can then be configured to respond to ARP requests using arp -s. This is useful in certain SLIP configurations. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), arp(7P), attributes(5) SunOS 5.10 7 Mar 2003 arp(1M)
All times are GMT -4. The time now is 12:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy