traceroute: Warning: Multiple interfaces found; using XX.YY.ZZ.QQ @ eth0 ???

traceroute: Warning: Multiple interfaces found; using XX.YY.ZZ.QQ @ eth0 ???

Post by id e » Wed, 10 Mar 1999 04:00:00



i'm having periodic problems with my home network.

              XX.YY.ZZ.WW      192.168.1.1      192.168.1.2
- cable modem -------------- A --------------+---------------- B
                                             |
                                             |  192.168.1.3
                                             +---------------- C
                                             |
                                             .
                                             .
                                             .

A is a redhat 5.2 box (2.0.36) with two ethernet cards, a 3Com 3c905
(eth0) connected to the cable modem, and the other, a NE2000 card (eth1)
connected to the internal network.

B is a redhat 5.2 box (2.0.36 or 2.2.2) with a single NE2000 ethernet
card (eth0).  C isn't up and running yet.

A's /etc/sysconfig/network looks like:

FORWARD_IPV4=yes
GATEWAY=
GATEWAYDEV=
HOSTNAME=localhost.localdomain
NETWORKING=yes

A's "/etc/sysconfig/network-scripts/ifcfg-eth0" looks like:

BOOTPROTO=none
DEVICE=eth0
GATEWAY=XX.YY.ZZ.1
IPADDR=XX.YY.ZZ.WW
NETMASK=255.255.255.0
ONBOOT=yes

A's "/etc/sysconfig/network-scripts/ifcfg-eth1" looks like:

BOOTPROTO=none
BROADCAST=192.168.1.255
DEVICE=eth1
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes

A's "/etc/hosts" looks like:

127.0.0.1   localhost   localhost.localdomain
192.168.1.1 A
192.168.1.2 B
192.168.1.3 C

A's "/etc/sysconfig/network-scripts/static-routes" looks like:

any net 192.168.1.0 netmask 255.255.255.0 gw eth1

B's "/etc/sysconfig/network" looks like:

FORWARD_IPV4=false
GATEWAY=192.168.1.1
GATEWAYDEV=eth0
HOSTNAME=localhost.localdomain
NETWORKING=yes

B's "/etc/sysconfig/network-scripts/ifcfg-eth0" looks like:

BROADCAST=192.168.1.255
DEVICE=eth0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0

B's "/etc/hosts" looks the same as A's.

periodically, when i boot both machines, A can't ping B or viceversa.
when this happens, if i do a "traceroute 192.168.1.2" from A, i get:


traceroute to  (192.168.1.2), 30 hops max, 48 byte packets
1 *
 ...

when this happens, the only thing that seems to fix it is to reboot
until it magically starts working again.

does anybody have any idea what's wrong?

--
Congratulations!  Generous Linux programmers from around the world
all join forces to help you shoot yourself in the foot for free.

 
 
 

1. string test @(xx|yy|zz) in bash shell ?

I have this simple script which tests a string:

#! /bin/sh OR APPROPRIATE
s_str=xx

if [[ $s_str = $pattern ]]; then
    echo $s_str
fi

This works (i.e., I see the echo) in the GNU bash shell 1.14.7 for
Windows, and in the MKS Korn shell. In the pdksh of FreeBSD, it works

"if [ $s_str = +(xx|yy|zz) ]; then"
On the Apache server of my ISP, which runs GNU bash 1.14.7 under
i386-linux, I tried various combinations of:
"if [ $s_str = +(xx|yy|zz) ]; then",
but I never saw an echo.
How does it work generally in the bash shell?

And, is there a possibility to match substrings, i.e.,
match "xx" out of "123xx456"??

Thanks,
Andre

Andre van Straaten
Bradford, UK
http://www.vanstraatensoft.com

2. Alt-Gr keys don't work with XDM/KDM

3. tar: xx/yy/zz.java: file changed as we read it

4. getsockname error

5. firewall kernel: martian source 196.xx.xx.xx from 165,146.xx.xx on dev eth0 ???

6. SMC 8432T PCI in x86. Mem Address Change

7. traceroute Warning Messages with Multiple interfaces

8. missing ctm delta

9. Multiple Interfaces found ?? Traceroute

10. Warning: multiple interfaces found hme0

11. eth0 and eth1 interfaces using eth0 NIC

12. Could not reverse map address xx.xx.xx.xx???

13. connection was refused when connect to xx.xx.xx.xx