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

Re: dhcp and default gateway



Jason Majors, 2002-Jan-29 22:55 -0700:
> I have the following as my /etc/dhcpd.conf file:
> # dhcpd.conf
> option routers 192.168.1.1;
> option domain-name "kwiqsilver.org";
> option domain-name-servers 68.2.16.30, 68.1.208.30;
> 
> option subnet-mask 255.255.255.0;
> default-lease-time 600;
> max-lease-time 7200;
> 
> subnet 192.168.1.0 netmask 255.255.255.0 {
>   range 192.168.1.101 192.168.1.200;
>   option broadcast-address 192.168.1.255;
> }
> # dhcpd.conf
> 
> The clients can connect, but when I try to ping past the gateway I get
> "Network is unreachable" errors.

Then, you have a routing problem in your gateway machine.  Do you
have forwarding turned on to allow it to route between
interfaces?

Check /proc/sys/net/ip4/ip_forward for the value "1" to enable
forwarding, "0" is disabled.

jc

-- 
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: