[rhn-users] Re: NIC Issue

Ken Dyke kdyke at keycomputerconsultants.com
Sat Apr 22 16:36:57 UTC 2006


On Thu, Apr 20, 2006 at 03:09:25PM -0600, Edward David (edavid at ucalgary.ca) wrote:
> Currently I am showing eth1 as the default NIC card.
> I need to change it to eth0 and do not know how to do this.

to change on live system:
  route del -net default
  route add -net default gw 192.168.1.1 dev eth0
or using the iproute2 toolkit:
  ip route delete default via 192.168.1.1 dev eth1
  ip route add default via 192.168.1.1 dev eth0

The GATEWAY setting is in /etc/sysconfig/network
-- 
Ken Dyke,
406.581.0495

I was using Free Open Source Software (FOSS) in 1969, but we did not call it
that at the time. We called it "software".
        -- Jon "Maddog" Hall




More information about the rhn-users mailing list