Ah, I have seen a situation where the default route caused a problem.  I
was/do work with 2 nics in an intrusion detection box, so one interface was
on the network to be monitored and the other on the network where my 'report
to' box was/is.

If you need to change what linux has configured for a default route, do an
ifdown for the interface that's the wrong way for the default, reset the
default gateway, then bring the other interface up again.  I did this with a
little script:

        ifdown eth0
        route add default gw 10.15.1.1 eth1
        ifup eth0

Worked great until I didn't need it anymore -- don't know why I didn't need
it, but what the hey!  :-)



-----Original Message-----
From: Richard Bewley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Multihoming - 2 IPs and 2 NICs


Hi,

Thanks for your reply.  Both files have ONBOOT=yes, and both interfaces are 
brought up on boot.  I have also verified the integrity of each NIC.  I 
think there may be an issue with the routes I have setup.

Thank you,
Richard Bewley

At 12:58 PM 7/15/2003 -0700, you wrote:
>Yeap.  I've not had a problem with it if both cards are physically
connected
>to their feeds when kudzu auto-detects the hardware.
>
>My suggestion would be to get one working and then work on the other one.
>Make sure both /etc/sysconfig/network-scripts/ifcfg-eth# files have
>ONBOOT=yes in them.
>
>
>
>-----Original Message-----
>From: Richard Bewley [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, July 15, 2003 12:48 PM
>To: [EMAIL PROTECTED]
>Subject: Multihoming - 2 IPs and 2 NICs
>
>
>Hi,
>
>I am trying to get multihome to work correctly using 2 NICs, and two ip
>addresses from different subnets with different gateways.  I have tried
>specifying the gateway in the /etc/sysconfig/network file as well as
>without as well as specifying a gateway in the respective
>/etc/sysconfig/network-scripts files, as well as various routes, however I
>am still unable to get both interfaces to respond.
>
>Has anyone ever done this before?
>
>Thank you,
>Richard Bewley
>
>
>---
>[This E-mail scanned for viruses by friend.ly.net.]
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]
>https://www.redhat.com/mailman/listinfo/redhat-list
>---
>[This E-mail scanned for viruses by friend.ly.net.]


---
[This E-mail scanned for viruses by friend.ly.net.]


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to