home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] %route 666?

On Tue, May 23, 2006 at 01:51:02AM -0400, Sebastien Bailard wrote:
> What should I do to fix this?  I think I need to fix the routing table, but 
> I'm not sure what to do.  Also, what will my desktop use as a dns server?

Insure that the laptop is forwarding packets

# sysctl -w net.ipv4.ip_forward=1

On Debian edit the ip_forward option in /etc/network/options to make
the change permenant.

Tell the gateway-router-wireless device how to find the desktop. Most
of these devices have a static route section. You will
want to specify something like:

gateway: 192.168.0.IP_addr_of_laptop

You probably need to use a static ip on the laptop so it works when
everything is rebooted.

Make sure that the desktop has the the laptop's address as
a default route, not

> 	root@kappa:~# cat my_dhcpd.conf
> 	option domain-name-servers;
> 	option routers;
Should be ip address of laptop:

> But now my routing table is

>     *        U     0  0 0 eth0
>     *        U     0  0 0 eth1
>  default         UG    0  0 0 eth1

I see nothing wrong with that routing table.