Here is my ifconfig file: http://pastebin.com/5ZUGYbnB
auto eth0
iface eth0 inet static
address 180.xxx.xx.68
netmask 255.255.255.248
network 180.xxx.xx.64
broadcast 180.xxx.xx.71
gateway 180.xxx.xx.65
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 180.xxx.xx.65 8.8.8.8
auto eth1
iface eth1 inet static
address 10.96.92.23
netmask 255.255.255.0
network 10.96.92.0
broadcast 10.96.92.255
gateway 10.96.92.1
dns-nameservers 10.96.92.11
up route add -net 10.86.82.0 netmask 255.255.255.0 gw 10.96.92.1
down route del -net 10.86.82.0 netmask 255.255.255.0 gw 10.96.92.1
and this is my routing table http://pastebin.com/VVwCe7ZF
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
180.xxx.xx.64 0.0.0.0 255.255.255.248 U 0 0 0 eth0
10.86.82.0 10.96.92.1 255.255.255.0 UG 0 0 0 eth1
10.96.92.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 180.xxx.xx.65 0.0.0.0 UG 100 0 0 eth0
0.0.0.0 10.96.92.1 0.0.0.0 UG 100 0 0 eth1
but it doesn't forward any packet to another network. Is there any wrong with my routing table?
ip_forwardset to 1? Is it supposed to be doing NAT? (If so, did you configure NAT?) – David Schwartz Dec 1 '11 at 5:34