Hi unSpawn,
This is the topology of the network I'm trying to set up:
Code:
__________ _____________ _________
| | | | | |
| eth1|-------|eth0 FW1 eth1|-------|eth1 |
| | |_____________| | |
PC_A--|eth0 PC_B | |PC_C eth0|--PC_D
| | _____________ | |
| eth2|-------|eth0 FW2 eth1|-------|eth2 |
|__________| |_____________| |_________|
The configurations on the respective PCs are:
PC_A:
eth0 = 192.168.0.10/24
#ip route add default via 192.168.0.1
PC_B:
eth0 = 192.168.0.1/24
eth1 = 192.168.10.10/24
eth2 = 192.168.10.11/24
#ip route del 192.168.10.0/24 dev eth1
#ip route del 192.168.10.0/24 dev eth2
#ip route add default scope global netxhop via 192.168.10.12 dev eth1 weight 1 netxhop via 192.168.10.13 dev eth2 weight 1
FW1:
eth0 = 192.168.10.12/24
eth1 = 192.168.20.12/24
#ip route add 192.168.0.0/24 dev eth0
#ip route add 192.168.30.0/24 dev eth1
FW2:
eth0 = 192.168.10.13/24
eth1 = 192.168.20.13/24
#ip route add 192.168.0.0/24 dev eth0
#ip route add 192.168.30.0/24 dev eth1
PC_C:
eth0 = 192.168.30.1/24
eth1 = 192.168.20.10/24
eth2 = 192.168.20.11/24
#ip route del 192.168.20.0/24 dev eth1
#ip route del 192.168.20.0/24 dev eth2
#ip route add default scope global netxhop via 192.168.20.12 dev eth1 weight 1 netxhop via 192.168.20.13 dev eth2 weight 1
PC_D:
eth0 = 192.168.30.10/24
#ip route add default via 192.168.30.1
I'm trying to set up the routing so as to make enable PC_A to communicate with PC_D. I have enabled ip forwarding (ip_forward) and disabled reverse path filtering (rp_filter) on PC_B, PC_C, FW1 & FW2 for all NICs. B & C have 2.6.16 kernels with kernel options like advanced routing (CONFIG_IP_ADVANCED_ROUTER) and multipath route support selected.
When I ping from PC_A to PC_D, I'm getting "Destination host Unreachable" msg. What am I doing wrong?
Warm regards,
Visham