Dapper won't act as a router

Wander Boessenkool wander at kanslozebagger.org
Fri Jul 7 22:13:22 UTC 2006


On 7/8/06, Alan McKinnon <alan at linuxholdings.co.za> wrote:
>
> Anyone got any ideas before I resort to setting up NAT on the notebook
> (which I would rather not do - my networking needs are complex enough as
> it is)

Make sure ip-forwarding IS enabled:

sudo -i
cat 1 > /proc/sys/net/ipv4/ip_forward

And then make sure the other computers know how to find your desktop,
by adding the appropriate routes to your desktop:

route add 192.168.0.7 gw 10.0.0.14

To make all this permanent you'll have to add the routes to
/etc/network/interfaces, and put the forwarding in an appropriate
rc-script.

And you'll need to make sure your dekstop has your notebook as default gateway.




More information about the ubuntu-users mailing list