Results 1 to 3 of 3
Please, help to configure the following configuration:
Code:
Node A Node B Node C
eth0 <-----> eth0 <--> eth1 <-----> eth0
A, B and C are in the same subnet.
...
- 03-05-2009 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 27
Transparent routing
Please, help to configure the following configuration:
A, B and C are in the same subnet.Code:Node A Node B Node C eth0 <-----> eth0 <--> eth1 <-----> eth0
B is default gateway of C.
B is not default gateway of A.
A and C can reach each other without static routes.
I set IP forwarding between B-eth0 and B-eth1, and B-eth1 is a default gw of C.
I can reach A from C but I cannot reach C from A because B needs to answer ARP
on behalf of C and I don't know how to do it.
If I set static route on A like this
it works but, unfortunately, the requirement is to not use static routes.Code:ip route add to C-eth0-ip via B-eth0-ip dev A-eth0-ip
In fact B should be kind of proxy transparent for all types and level of traffic.
Please, recommend what things in addition to IP forwarding I need to setup.
Thanks.
- 03-05-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
If Node_B's only purpose is to connect the networks of Node_A and Node_C, then drop the routing requirement altogether and just make Node_B a bridge.
This removes all routing issues.
Google: linux bridge
- 03-06-2009 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 27
That's what I thought after googling around, but it's always good to get a clear answer from a professional. Thanks.


Reply With Quote