[TriLUG] configuring Linux with my new router
Matthew Todd
matthew.todd at alumni.duke.edu
Wed Sep 10 15:27:08 EDT 2003
On Wed, 2003-09-10 at 15:23, rasch at raschnet.com wrote:
> Looks to me that you're missing a default route. This can be added
> manually with the command:
>
> % route add default gw 192.168.1.1
>
> I don't know the redhat'ism, sorry.
Yup, the redhat'ism is to add the following line to
/etc/sysconfig/network-scripts/ifcfg-eth0:
GATEWAY=192.168.1.1
(For inspection purposes, "/sbin/route -n" will show you networks you
can reach.)
Take care,
Matthew
More information about the TriLUG
mailing list