Routing Problem

Filipe Bonjour fbonjour at urbanet.ch
Tue Feb 28 18:39:39 UTC 2006


Hi,

I can imagine two easy caises:

1) Missing default gw

Is the Suse box marked as the default gateway? Run the command route, 
and if you don't see an entry called default, try creating it. I believe 
the command is

route add default gw <name or IP of Suse host>

2) Missing forward

Is the Suse box forwarding packets? If not, it won't pass packets from 
one NIC to the other. Run the command:

user at host $ cat /proc/sys/net/ipv4/ip_forward
1

If you get "0", you should add the command

echo "1" > /proc/sys/net/ipv4/ip_forward

in a file read at boot. I don't know Suse, so I can't tell you what file 
to use.

Filipe




More information about the ubuntu-users mailing list