Re: Loopback address to eth0 interface and rooting goes wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary wrote:
I also noticed something weird. When I try to ping an IP, it returns a
"Destination Host Unreachable" from "127.0.0.1", instead of 9.3.110.132.
Do you mean that you reproduce my problem?

Yes, with the same procedure you described here.
After I had posted the message, I decided to read with wireshark the
network activity. I was surprised to see my ping (that does not work)
with a 0.0.0.0 source address.
Yes, mine too. But after some time, I found that my network traffic stop going to the correct interface, and tcpdump stopped showing the packets transmitted by my interface. Here is a snippet of tcpdump output: 06:45:05.081295 IP 0.0.0.0.32778 > 9.3.191.2.domain: 45893+ PTR? 210.191.3.9.in-addr.arpa. (42)

Here are some informations asked by Bernd:

io-burnet:~ # ping 9.3.191.1
PING 9.3.191.1 (9.3.191.1) 56(84) bytes of data.
From 127.0.0.1: icmp_seq=21 Destination Host Unreachable
...
--- 9.3.191.1 ping statistics ---
30 packets transmitted, 0 received, +4 errors, 100% packet loss, time 29096ms, pipe 3

io-burnet:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
9.3.191.0       0.0.0.0         255.255.255.0   U     0      0        0 eth3
9.3.110.0       0.0.0.0         255.255.255.0   U     0      0        0 eth3
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         9.3.191.1       0.0.0.0         UG    0      0        0 eth3

io-burnet:~ # ip route
9.3.191.0/24 dev eth3  scope link
9.3.110.0/24 dev eth3  proto kernel  scope link  src 9.3.110.132
127.0.0.0/8 dev lo  scope link
default via 9.3.191.1 dev eth3

io-burnet:~ # arp -a
----------- Hang (I pressed ^C)
io-burnet:~ # arp -an
? (9.3.191.2) at 00:09:6B:6E:02:BC [ether] on eth3
? (9.3.191.8) at 00:0D:60:D4:9A:18 [ether] on eth3
? (9.3.191.4) at 00:0D:60:1C:53:18 [ether] on eth3
? (9.3.191.1) at 00:50:50:4D:6C:1C [ether] on eth3

io-burnet:~ # ip neigh
9.3.191.2 dev eth3 lladdr 00:09:6b:6e:02:bc REACHABLE
9.3.191.8 dev eth3 lladdr 00:0d:60:d4:9a:18 STALE
9.3.191.4 dev eth3 lladdr 00:0d:60:1c:53:18 STALE
9.3.191.1 dev eth3 lladdr 00:50:50:4d:6c:1c PROBE

io-burnet:~ # ip route
9.3.191.0/24 dev eth3  scope link
9.3.110.0/24 dev eth3  proto kernel  scope link  src 9.3.110.132
127.0.0.0/8 dev lo  scope link
default via 9.3.191.1 dev eth3

io-burnet:~ # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
io-burnet:~ # iptables-save
# Generated by iptables-save v1.3.5 on Wed Jan 23 06:54:58 2008
*filter
:INPUT ACCEPT [137:56270]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [371:60573]
COMMIT
# Completed on Wed Jan 23 06:54:58 2008

Linux io-burnet 2.6.16.57-0.5-ppc64 #1 SMP Wed Dec 5 09:02:21 UTC 2007 ppc64 ppc64 ppc64 GNU/Linux

Nothing wrong with the kernel log (dmesg), and netstat -s and ethtool -S eth3 are attached.

Take care,
--
Breno Leitao <linux@xxxxxxxxxxxxxxxxxx>
io-burnet:~ # ethtool -S eth3
NIC statistics:
     rx_packets: 7939
     tx_packets: 635
     rx_bytes: 790484
     tx_bytes: 97084
     rx_broadcast: 5520
     tx_broadcast: 50
     rx_multicast: 1939
     tx_multicast: 13
     rx_errors: 0
     tx_errors: 0
     tx_dropped: 0
     multicast: 1939
     collisions: 0
     rx_length_errors: 0
     rx_over_errors: 0
     rx_crc_errors: 0
     rx_frame_errors: 0
     rx_no_buffer_count: 0
     rx_missed_errors: 0
     tx_aborted_errors: 0
     tx_carrier_errors: 0
     tx_fifo_errors: 0
     tx_heartbeat_errors: 0
     tx_window_errors: 0
     tx_abort_late_coll: 0
     tx_deferred_ok: 0
     tx_single_coll_ok: 0
     tx_multi_coll_ok: 0
     tx_timeout_count: 0
     tx_restart_queue: 0
     rx_long_length_errors: 0
     rx_short_length_errors: 0
     rx_align_errors: 0
     tx_tcp_seg_good: 0
     tx_tcp_seg_failed: 0
     rx_flow_control_xon: 0
     rx_flow_control_xoff: 0
     tx_flow_control_xon: 0
     tx_flow_control_xoff: 0
     rx_long_byte_count: 790484
     rx_csum_offload_good: 2147
     rx_csum_offload_errors: 0
     rx_header_split: 0
     alloc_rx_buff_failed: 0
     tx_smbus: 0
     rx_smbus: 0
     dropped_smbus: 0
io-burnet:~ # netstat -s
Ip:
    2006 total packets received
    203 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    214 incoming packets delivered
    483 requests sent out
Icmp:
    19 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 13
        echo requests: 3
        echo replies: 3
    120 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 117
        echo replies: 3
Tcp:
    5 active connections openings
    1 passive connection openings
    0 failed connection attempts
    0 connection resets received
    0 connections established
    39 segments received
    48 segments send out
    0 segments retransmited
    0 bad segments received.
    0 resets sent
Udp:
    14 packets received
    105 packets to unknown port received.
    0 packet receive errors
    245 packets sent
TcpExt:
    ArpFilter: 0
    5 TCP sockets finished time wait in fast timer
    1 delayed acks sent
    18 packets header predicted
    TCPPureAcks: 7
    TCPHPAcks: 13
    TCPRenoRecovery: 0
    TCPSackRecovery: 0
    TCPSACKReneging: 0
    TCPFACKReorder: 0
    TCPSACKReorder: 0
    TCPRenoReorder: 0
    TCPTSReorder: 0
    TCPFullUndo: 0
    TCPPartialUndo: 0
    TCPDSACKUndo: 0
    TCPLossUndo: 0
    TCPLoss: 0
    TCPLostRetransmit: 0
    TCPRenoFailures: 0
    TCPSackFailures: 0
    TCPLossFailures: 0
    TCPFastRetrans: 0
    TCPForwardRetrans: 0
    TCPSlowStartRetrans: 0
    TCPTimeouts: 0
    TCPRenoRecoveryFail: 0
    TCPSackRecoveryFail: 0
    TCPSchedulerFailed: 0
    TCPRcvCollapsed: 0
    TCPDSACKOldSent: 0
    TCPDSACKOfoSent: 0
    TCPDSACKRecv: 0
    TCPDSACKOfoRecv: 0
    TCPAbortOnSyn: 0
    TCPAbortOnData: 0
    TCPAbortOnClose: 0
    TCPAbortOnMemory: 0
    TCPAbortOnTimeout: 0
    TCPAbortOnLinger: 0
    TCPAbortFailed: 0
    TCPMemoryPressures: 0


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux