Fred K Ollinger on Sun, 27 Jan 2002 20:12:13 -0500


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

Re: [PLUG] dhcp->static


> Now that I've converted a dhcp to static, the box can no longer get to
> the Internet!  It can get to other machines on my own private net, but

Routing table is wrong: check this out w/ "route"

Best way to go (on debian box) is to add your gateway to:

/etc/network/interfaces

Here's mine:

iface eth0 inet static
        address 192.168.0.3
        netmask 255.255.255.0
	gateway 192.168.0.1

> can't go through the DI704 gateway.  Any thoughts?

This can also be done manually:

route add default gw my_gateway_ip

Fred Ollinger (follinge@sas.upenn.edu)
CCN sysadmin





______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug