[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian can't connect to internet gateway



On Thu, 2005-10-20 at 23:01 -0700, Dan wrote:
> Hi,
> 
> I have a debian box (192.168.2.12) that acts as a dhcp server
...
> I want the debian box to connect
> through the internet gateway also.  Right now, I can only get the
> debian box to connect to the internet through pppoe.  Any suggestions?
> 
> cat /etc/dhcp3/dhcpd.conf
> --------------------------
...
> option routers 192.168.2.1;
...
>  cat /etc/network/interfaces
> ------------------------------
...
> auto eth0
> iface eth0 inet static
>         address 192.168.2.12
>         network 192.168.2.0
>         netmask 255.255.255.0
>         broadcast 192.168.2.255

Don't you need a line here to specify the router?

          gateway 192.168.2.1


Oliver Elphick



Reply to: