Re: IP forwarding



Sorry for being incomplete. Here is the latest routing table info.

root@xxxxxxxxxxx:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
10.21.2.0 0.0.0.0 255.255.254.0 U 0 0
0 eth0
0.0.0.0 10.21.2.1 0.0.0.0 UG 0 0
0 eth0

I have also done the following to be on the safer side:
echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth3/rp_filter

I want traffic on eth1 to be forwarded to eth2. The output of 'ifconfig
eth1' shows a value of zero in TX packets field.
Running 'tcpdump -i eth1' shows that eth1 is receiving packets intended
for eth2.

Thanks,
manoj

.



Relevant Pages