Linux Networking – Using Bridge Utils to Connect Two Computers

bridgelinuxnetworkingrouting

I have been using bridge utils previously to connect my network connected computers to a single interface on my Linux computer. The problem I'm having is when I installed a new Linux (with Slackware) the two connected computers cannot even ping each other. Basically the computers are connected as:

client - server - client
           |
       [Internet]

So I am trying to get the two clients to connect to each other. Both can access the Internet, firewalls are shut off at both clients when testing.

Internet is on eth0, and I have one bridge set up as

bridge name     interfaces
br0             eth1, eth2

ip addr br0 and ip route show shows respectively

inet 10.0.0.1/24 brd 10.0.0.255
10.0.0.0/24 dev br0  proto kernel  scope link  src 10.0.0.1

So it seems to me like a call from my client should be routed directly to my br0 interface, which should get it right.

How do I configure my Slackware distro to route two network cable attached computers to be able to see eachother, preferably using bridge utils?

Best Answer

Is the firewall on the server disabled? It maybe that there are some firewall rules that are blocking the packets. Look at the output of iptables (must be run as root) and if you see anything other than ACCEPT rules/policies then they may be blocking things.

iptables -L

and

iptables -t nat -L
Related Question