Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-28-2008 #1
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.
- 11-28-2008 #2
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"
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...
- 11-28-2008 #3
I am getting the following response:
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 [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
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
- 11-28-2008 #4
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.
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...
- 11-28-2008 #5
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?
- 11-29-2008 #6
Here are some links you can look at:
Howto Share internet connection - Ubuntu Forums
Sharing Internet Connection in Ubuntu -- Ubuntu Geek
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...


Reply With Quote
