-Original Message-
From: centos-boun...@centos.org
[mailto:centos-boun...@centos.org] On Behalf Of Dominik Zyla
Sent: Wednesday, June 23, 2010 13:55
To: centos@centos.org
Subject: Re: [CentOS] How to specify the default route?
On Mon, Jun 21, 2010 at 07:57:13PM -0400, Rick Thomas
On Mon, Jun 21, 2010 at 07:57:13PM -0400, Rick Thomas wrote:
I have a machine with two net interfaces.
it seems to always pick the wrong one (eth1) as the default route.
I can change it with
route del default
route add default eth0
after it's up (or in rc.local, of
El lun, 21-06-2010 a las 19:57 -0400, Rick Thomas escribió:
I have a machine with two net interfaces.
it seems to always pick the wrong one (eth1) as the default route.
I can change it with
route del default
route add default eth0
after it's up (or in rc.local, of
Thanks! to all who replied.
I solved it by putting identical GATEWAY= clauses in each of
/etc/sysconfig/networking/devices/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth1
This works without error, even though the gateway IP address in
question is not accessible from
On 6/22/2010 1:51 PM, Rick Thomas wrote:
Thanks! to all who replied.
I solved it by putting identical GATEWAY= clauses in each of
/etc/sysconfig/networking/devices/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth1
This works without error, even though the gateway IP
So I tried moving the GATEWAY clause into etc/sysconfig/network and
out of the individual ifcfg-eth? files. It works.
So I guess that's the preferred solution, because it puts the
information in a single place. There's no need to make sure two or
more places are synchronized if anything
I have a machine with two net interfaces.
it seems to always pick the wrong one (eth1) as the default route.
I can change it with
route del default
route add default eth0
after it's up (or in rc.local, of course), but I'd like to figure out
what I need to do this the CentOS
It's getting set from /etc/sysconfig/network-scripts/ifup-eth, line 285 and
following - although I haven't traced out the logic it's using to begin to
say why it's coming to the wrong conclusion in your case.
Whit
On Mon, Jun 21, 2010 at 07:57:13PM -0400, Rick Thomas wrote:
I have a machine
On the other hand, which interface is listed in the /etc/sysconfig/network
file? Is it your desired default?
Whit
On Mon, Jun 21, 2010 at 07:57:13PM -0400, Rick Thomas wrote:
I have a machine with two net interfaces.
it seems to always pick the wrong one (eth1) as the default route.
On 06/21/2010 07:57 PM Rick Thomas wrote:
I have a machine with two net interfaces.
it seems to always pick the wrong one (eth1) as the default route.
...
after it's up (or in rc.local, of course), but I'd like to figure out
what I need to do this the CentOS way (e.g. edit some
10 matches
Mail list logo