Operating System - Linux
1819793 Members
3286 Online
109607 Solutions
New Discussion

default gateway ip in suse 10

 
SOLVED
Go to solution
Maaz
Valued Contributor

default gateway ip in suse 10

how to provide the default gateway ip in suse ?
In /etc/sysconfig/network/ifcfg-eth0-mac-ad, I add the following line

GATEWAY=`ip.of.default.gateway`
but it doesnt work.

I have succesfuly configured the default gateway ip by using YasT... but i wana know that how to do it manually(which file)...?

Regards
Maaz
1 REPLY 1
Jeff_Traigle
Honored Contributor
Solution

Re: default gateway ip in suse 10

It's actually done in /etc/sysconfig/network/routes. The default route entry looks like this on one of our systems:

default 10.1.1.30 - -

See the routes(5) man page.
--
Jeff Traigle