[afnog] Packet Forwarding Issue with Linux

Gerald Begumisa gbegumisa at gmail.com
Mon Apr 11 07:50:23 UTC 2011


On Mon, Apr 11, 2011 at 10:09 AM, Hugo Lombard <hal at elizium.za.net> wrote:

> A truly perplexing problem.  Well done on the write-up!  It was clear
> and detailed, and I wish more people would go to the same lengths.
>

Thanks Hugo!

Could you please post the output of the following commands?
>
>  /sbin/sysctl net.ipv4.ip_forward
>

# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1


>
>  /sbin/iptables -L FORWARD
>
 /sbin/ip route ls table all
>

# /sbin/iptables -L FORWARD
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
# /sbin/ip route ls table all
1.2.2.192/28 dev eth0  proto kernel  scope link  src 1.2.2.206
1.2.3.32/27 dev eth2  proto kernel  scope link  src 1.2.3.42
169.254.0.0/16 dev eth2  scope link
default via 1.2.3.33 dev eth2
local 1.2.3.42 dev eth2  table 255  proto kernel  scope host  src 1.2.3.42
broadcast 127.255.255.255 dev lo  table 255  proto kernel  scope link  src
127.0.0.1
broadcast 1.2.2.192 dev eth0  table 255  proto kernel  scope link  src
1.2.2.206
broadcast 1.2.3.63 dev eth2  table 255  proto kernel  scope link  src
1.2.3.42
local 1.2.2.206 dev eth0  table 255  proto kernel  scope host  src 1.2.2.206
broadcast 1.2.2.207 dev eth0  table 255  proto kernel  scope link  src
1.2.2.206
broadcast 1.2.3.32 dev eth2  table 255  proto kernel  scope link  src
1.2.3.42
broadcast 127.0.0.0 dev lo  table 255  proto kernel  scope link  src
127.0.0.1
local 127.0.0.1 dev lo  table 255  proto kernel  scope host  src 127.0.0.1
local 127.0.0.0/8 dev lo  table 255  proto kernel  scope host  src 127.0.0.1
fe80::/64 dev eth2  metric 256  expires 20928692sec mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev eth0  metric 256  expires 21101211sec mtu 1500 advmss 1440
hoplimit 4294967295
unreachable default dev lo  table unspec  proto none  metric -1  error -101
hoplimit 255
local ::1 via :: dev lo  table 255  proto none  metric 0  mtu 16436 advmss
16376 hoplimit 4294967295
local fe80::baac:6fff:fe3f:a2c8 via :: dev lo  table 255  proto none  metric
0  mtu 16436 advmss 16376 hoplimit 4294967295
local fe80::f27d:68ff:fefe:8509 via :: dev lo  table 255  proto none  metric
0  mtu 16436 advmss 16376 hoplimit 4294967295
ff00::/8 dev eth2  table 255  metric 256  expires 20928692sec mtu 1500
advmss 1440 hoplimit 4294967295
ff00::/8 dev eth0  table 255  metric 256  expires 21101211sec mtu 1500
advmss 1440 hoplimit 4294967295
unreachable default dev lo  table unspec  proto none  metric -1  error -101
hoplimit 255

Regards,
Gerald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20110411/5558ac9f/attachment.html>


More information about the afnog mailing list