Dapper won't act as a router

Alan McKinnon alan at linuxholdings.co.za
Fri Jul 7 22:03:45 UTC 2006


Hi,

Is IP forwarding disabled in the Dapper kernel? It doesn't appear to be,
but it's all I can think of for this problem:

Desktop machine:
  eth0: 192.168.0.7 static IP wired
  eth1: 192.168.1.7 static IP wired but not in use

Notebook (Dapper):
  eth0: 192.168.0.3 static IP wired
  eth1: 10.0.0.14 dhcp wireless

ADSL wired/wireless-combo router
  10.0.0.2 gateway and dhcp

eth0 on both is connected with a cross over cable and it works fine.
Wireless works well.
Running cat5 to the desktop is not feasible, so I want to use the
notebook as the desktop's gateway. Except that it doesn't work this
time...

I know how to do this, done it many times, and the desktop can ping
192.168.0.3 and 10.0.0.14 but not 10.0.0.2. IP forwarding *is* enabled
on the notebook (the usual cause of this), so I looked into the
Dapper .config to see what gives. Everything there looks OK.

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)

alan





More information about the ubuntu-users mailing list