I had similar problems when I set up my firewall - first I had one with two
nic's, now one with three.  I had the iptables definitions set up just fine,
but the routing was acting up.

It turns out that the default ifup and ifup-aliases scripts make some
assumptions about how you want the routing done.  I had to comment out some
of the default routing in these and add an etc0.route file with default
(static) route definitions in /etc/sysconfig/networking/devices when I set
up using RedHat 8.0.  With RedHat 7.2, I commented the ifup and ifup-aliases
file and put the static route into staticroutes file (?) under
/etc/sysconfig/network-scripts directory.

-----Original Message-----
From: John Horne [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 3:31 PM
To: [EMAIL PROTECTED]
Subject: Pinging local multihomed server interfaces

Hello,

I have setup two local multihomed servers with redhat 8.0. Each has 2
NIC's in them ,and each nic has its own IP address. The addresses are
'real' - i.e. they are not non-routing private addresses. The servers
are also configured, using iproute2, to load balance the traffic out of
each interface. The simple round-robin of the DNS will provide the
inbound traffic being (sort of) shared out to each nic :-)

No problems generally with this. But if I try and ping from the server
one of its nics, specifying to use the same interface (NIC) then the
ping works. If I tell it to ping the other nic then it fails - generally
it just times out. If I use the IP addresses then it all works. So, for
one server we have:

  eth0=141.163.163.248  eth2=141.163.163.249

So    'ping -I eth0 141.163.163.248' and
      'ping -I eth2 141.163.163.249' works.
But
      'ping -I eth0 141.163.163.249' and
      'ping -I eth2 141.163.163.248' fails.

Doing the same, but using the IP addresses
      'ping -I 141.163.163.248 141.163.163.249' and
      'ping -I 141.163.163.249 141.163.163.248' works.

Anyone know why if I use the interface name it fails, but if I use the
IP addresses it works? Ifconfig of the interfaces shows the correct IP
addresses.


Thanks,

John.

-- 
------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
PGP key available from public key servers



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to