[TriLUG] where's my gateway config file

Magnus chrish at trilug.org
Mon Jun 30 09:40:26 EDT 2003


On Monday, June 30, 2003, at 09:30 AM, Chris Bullock wrote:

> redhat 7.3, dhcping from a Linksys cable/router.  looking for the 
> default gateway so that I can set the machine to static dhcp, where is 
> the default gateway file?

netstat -rn will show you your default routes.

/etc/sysconfig/network is where you can set it, with a syntax like this:

	GATEWAY=1.2.3.4

--

C. Magnus Hedemark
http://trilug.org/~chrish
PGP Key fingerprint = 984D 9A88 3D60 016F BE01 1506 60FB 85E1 9ABD 96F6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030630/257e2a5c/attachment.pgp>


More information about the TriLUG mailing list