[nos-bbs] Now need help with routing :-(

maiko at pcs.mb.ca maiko at pcs.mb.ca
Wed May 11 12:00:29 EDT 2005


Hi Steven,

> i thought tun was short for tunneling

The 'tun0' for example is a TUN network device, where as 'tunl0' is
a tunneling layer applied overtop of a network device. I know, they
look almost identical and it does confuse alot of people at first.

> I was able to route from the jnos sl0 interface to the linux one.

That is good.

> i do not know how to route from the linux sl0 interface to the net

In order for packets to *jump* from one interface (sl0) to another
interface (eth0 for example) on the same machine, you need to enable
the use of IP forwarding. I'm betting it's switched off.

You can confirm this by using the following linux command :

  cat /proc/sys/net/ipv4/ip_forward

* If it gives you the value '0', then that is probably it. You need to
  change it to the value of '1', using the following linux command :

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

* If it gives you the value '1', then something else is at fault.

Maiko





More information about the nos-bbs mailing list