multihomed - different gateways

Craig McLean craig at fukka.co.uk
Thu May 25 11:51:57 UTC 2006


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

Tom Brown wrote:
> Hi
> 
> On a multihomed box how can i set different gateways for each NIC?
> Setting them in the ifcfg-ethx does not seem to make any difference to
> the routing?
> 
> thanks
> 

Tom,
ifcfg-<interface> will only set the default gateway, any other static
routes should be in /etc/sysconfig/network-scripts/route-<interface>.
See /usr/share/doc/initscripts*/sysconfig.txt for more info (near the
end). Is that what you mean?

C.

- --
Craig McLean		http://fukka.co.uk
craig at fukka.co.uk	Where the fun never starts
	Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEdZpdMDDagS2VwJ4RAjCzAJ9zvttDlmxWGqMRMliWfbpINAXiGgCgjlIU
ZMW72+j4dBsqzz3x1JU8CBs=
=GGHf
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list