Default Route question when there are two nic cards

Thierry Sayegh De Bellis linux at glossolalie.org
Wed Oct 11 20:42:20 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Styma, Robert E (Robert) wrote:

> 
> The problem is that when I reboot, or service network restart, the default
> route ends up on eth1 (192.168.55.55).  I can correct it by hand and everything
> is OK.
> 
> I have been googling the newsgroups and poking around in the ifcfg-eth* files
> and have not seen a way to tell the system that the default route is on eth0.
> 
> I must be missing something simple, can someone point me in the correct direction?
> (nnn is to obscure our corporate network info)
> 
You define your gateway in /etc/sysconfig/network
with an entry as such
GATEWAY=IP
It will then be static

HTH
Thierry
- --
(o<    Thierry Sayegh de Bellis, RHCE
//\    http://glossolalie.com
V_/_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFFLVcsLC18tm1XH9YRAlaUAJoCz4AFKlsK/Fvokqk86/EzmOhBeQCfa4si
KXjlpx8uYWaypSgXyYCQCC4=
=fNMb
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list