-
Network bridge
Hey,
I've got a little problem. I am setting up a test-network which needs to connect to the internet through a Linux-Network-Bridge. I've got a server with Ubuntu 8.04 server with 2 LAN cards. One side is connected to the internet, the other to the local network.
I can ping to both inside the network and to the internet from this little server, but I can't get other machines to connect through this server.
I hope you guys can help me. I can only access this server on Thursday and Friday and sometimes on another day, so just throw your advices at me and don't wait until I respond.
Thanks in advance.
-
If this host is routing packets between the two interfaces' then it should be the default gateway for the other hosts on the network.
Check the route table on those other hosts using "netstat -r"
-
I am getting the following response:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
[ip] * 255.255.255.489 U 0 0 0 eth0
192.168.20.0 * 255.255.255.0 U 0 0 0 br0
default a80-127-165-25. 0.0.0.0 UG 0 0 0 eth0
On the server this is. It's IP on eth1 = 192.168.20.1 This is on the clients:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.20.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.20.1 0.0.0.0 UG 0 0 0 eth0
-
Ok, your clients appear to be using the correct default gateway.
So this would mean that the Server is not routing the packets to the Eth0 interface.
As I have never setup a Linux host this way, I have to admit that I cannot assist you any further.
-
You say this way, so I guess there is another way to do this. What I am trying to accomplish is just :
[Internet] - <Modem> - <Linux server> - [LAN]
I you know how to get this done, please tell me?
-