Netzwerk Probleme no route to host

Dieses Thema im Forum "Linux & BSD" wurde erstellt von Excelsus, 20. April 2012 .

Schlagworte:
  1. 20. April 2012
    Hallo zusammen,

    so mal wieder was für die leute, die ein wenig raten möchten. Ich drehe hier langsam ab :-/

    Mehrere VMs. Das Problem habe ich mit manchen VMs... Bei manchen funktioniert es, bei manchen nicht. Als Host-System sind es immer VMware ESX 4.1...

    rac1vm1, rac1vm2 und rac1vm3. Und einen Openfiler... (hier im Beispiel nur rac1vm1 und rac1vm3 und der Openfiler)

    Ich verstehe die Welt nicht mehr. Das mit dem ARP Cache ist strange, ich kriege den nicht geleert. :-/ Wenn ihr noch was benötigt sagt Bescheid!

    so nun das lustige.

    Code:
    [root@rac1vm1 ~]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:50:56:1D:06:31
     inet addr:192.168.6.79 Bcast:192.168.6.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:540 errors:0 dropped:0 overruns:0 frame:0
     TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:49188 (48.0 KiB) TX bytes:21394 (20.8 KiB)
    
    eth1 Link encap:Ethernet HWaddr 00:50:56:1D:06:32
     inet addr:192.168.8.114 Bcast:192.168.8.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:4 errors:0 dropped:0 overruns:0 frame:0
     TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:240 (240.0 b) TX bytes:3011 (2.9 KiB)
    
    lo Link encap:Local Loopback
     inet addr:127.0.0.1 Mask:255.0.0.0
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets:1359 errors:0 dropped:0 overruns:0 frame:0
     TX packets:1359 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:2165788 (2.0 MiB) TX bytes:2165788 (2.0 MiB)
    
    Code:
    [root@rac1vm1 ~]# ping -I eth1 192.168.8.251
    PING 192.168.8.251 (192.168.8.251) from 192.168.8.114 eth1: 56(84) bytes of data.
    From 192.168.8.114 icmp_seq=2 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=3 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=4 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=6 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=7 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=8 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=10 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=11 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=12 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=14 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=15 Destination Host Unreachable
    From 192.168.8.114 icmp_seq=16 Destination Host Unreachable
    ^C
    --- 192.168.8.251 ping statistics ---
    16 packets transmitted, 0 received, +12 errors, 100% packet loss, time 15002ms
    , pipe 3
    
    Code:
    [root@rac1vm1 ~]# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
    0.0.0.0 192.168.6.1 0.0.0.0 UG 0 0 0 eth0
    
    Code:
    [root@rac1vm1 ~]# ethtool eth1
    Settings for eth1:
     Supported ports: [ TP ]
     Supported link modes: 10baseT/Half 10baseT/Full
     100baseT/Half 100baseT/Full
     1000baseT/Full
     Supports auto-negotiation: Yes
     Advertised link modes: 10baseT/Half 10baseT/Full
     100baseT/Half 100baseT/Full
     1000baseT/Full
     Advertised auto-negotiation: Yes
     Speed: 1000Mb/s
     Duplex: Full
     Port: Twisted Pair
     PHYAD: 0
     Transceiver: internal
     Auto-negotiation: on
     Supports Wake-on: d
     Wake-on: d
     Current message level: 0x00000007 (7)
     Link detected: yes
    
    Code:
    [root@rac1vm1 ~]# arp
    Address HWtype HWaddress Flags Mask Iface
    192.168.8.251 (incomplete) eth1
    192.168.6.2 ether 00:90:fb:21:c6:b4 C eth0
    AD ether 00:50:56:85:00:0b C eth0
    192.168.6.1 ether 00:90:fb:21:c6:b4 C eth0
    
    Code:
    [root@rac1vm1 ~]# dmesg |grep eth1
    e1000 0000:02:02.0: eth1: (PCI:66MHz:32-bit) 00:50:56:1d:06:32
    e1000 0000:02:02.0: eth1: Intel(R) PRO/1000 Network Connection
    e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
    device eth1 entered promiscuous mode
    device eth1 left promiscuous mode
    device eth1 entered promiscuous mode
    device eth1 left promiscuous mode
    e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
    device eth1 entered promiscuous mode
    device eth1 left promiscuous mode
    
    Code:
    [root@rac1vm1 network-scripts]# cat ifcfg-eth0
    DEVICE=eth0
    NETMASK=255.255.255.0
    IPADDR=192.168.6.79
    BOOTPROTO=static
    ONBOOT=yes
    DNS1=192.168.6.250
    PEERDNS=yes
    DNS2=10.1.5.9
    Code:
    [root@rac1vm1 network-scripts]# cat ifcfg-eth1
    DEVICE=eth1
    NETMASK=255.255.255.0
    IPADDR=192.168.8.114
    BOOTPROTO=static
    ONBOOT=yes
    DNS1=192.168.6.250
    PEERDNS=yes
    DNS2=10.1.5.9
    

    Code:
    [root@rac1vm3 ~]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:50:56:1D:05:CF
     inet addr:192.168.6.163 Bcast:192.168.6.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:125454 errors:0 dropped:0 overruns:0 frame:0
     TX packets:4066 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:18913908 (18.0 MiB) TX bytes:309005 (301.7 KiB)
    
    eth1 Link encap:Ethernet HWaddr 00:50:56:1D:05:D0
     inet addr:192.168.8.69 Bcast:192.168.8.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:37437 errors:0 dropped:0 overruns:0 frame:0
     TX packets:9488 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:6194909 (5.9 MiB) TX bytes:830357 (810.8 KiB)
    
    lo Link encap:Local Loopback
     inet addr:127.0.0.1 Mask:255.0.0.0
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets:1377 errors:0 dropped:0 overruns:0 frame:0
     TX packets:1377 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:2664727 (2.5 MiB) TX bytes:2664727 (2.5 MiB)
    
    Code:
    [root@rac1vm3 network-scripts]# ping 192.168.8.251
    PING 192.168.8.251 (192.168.8.251) 56(84) bytes of data.
    64 bytes from 192.168.8.251: icmp_seq=1 ttl=64 time=0.235 ms
    64 bytes from 192.168.8.251: icmp_seq=1 ttl=64 time=0.243 ms (DUP!)
    64 bytes from 192.168.8.251: icmp_seq=2 ttl=64 time=0.265 ms
    64 bytes from 192.168.8.251: icmp_seq=2 ttl=64 time=0.276 ms (DUP!)
    ^C
    --- 192.168.8.251 ping statistics ---
    2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 999ms
    rtt min/avg/max/mdev = 0.235/0.254/0.276/0.025 ms
    


    Code:
    [root@rac1vm3 ~]# ethtool eth1
    Settings for eth1:
     Supported ports: [ TP ]
     Supported link modes: 10baseT/Half 10baseT/Full
     100baseT/Half 100baseT/Full
     1000baseT/Full
     Supports auto-negotiation: Yes
     Advertised link modes: 10baseT/Half 10baseT/Full
     100baseT/Half 100baseT/Full
     1000baseT/Full
     Advertised auto-negotiation: Yes
     Speed: 1000Mb/s
     Duplex: Full
     Port: Twisted Pair
     PHYAD: 0
     Transceiver: internal
     Auto-negotiation: on
     Supports Wake-on: d
     Wake-on: d
     Current message level: 0x00000007 (7)
     Link detected: yes
    
    Code:
    [root@rac1vm3 ~]# arp
    Address HWtype HWaddress Flags Mask Iface
    192.168.6.1 ether 00:90:fb:21:c6:b4 C eth0
    192.168.6.2 ether 00:90:fb:21:c6:b4 C eth0
    AD ether 00:50:56:85:00:0b C eth0
    192.168.8.251 ether 00:50:56:85:00:1d C eth1
    Code:
    [root@rac1vm3 ~]# dmesg | grep eth1
    e1000 0000:02:02.0: eth1: (PCI:66MHz:32-bit) 00:50:56:1d:05:d0
    e1000 0000:02:02.0: eth1: Intel(R) PRO/1000 Network Connection
    e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
    e1000: eth1 NIC Link is Down
    e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
    

    Code:
    [root@rac1vm3 network-scripts]# cat ifcfg-eth0
    DEVICE=eth0
    NETMASK=255.255.255.0
    IPADDR=192.168.6.163
    BOOTPROTO=static
    ONBOOT=yes
    DNS1=192.168.6.250
    PEERDNS=yes
    DNS2=10.1.5.9
    Code:
    [root@rac1vm3 network-scripts]# cat ifcfg-eth1
    DEVICE=eth1
    NETMASK=255.255.255.0
    IPADDR=192.168.8.69
    BOOTPROTO=static
    ONBOOT=yes
    DNS1=192.168.6.250
    PEERDNS=yes
    DNS2=10.1.5.9

    Code:
    [root@openfiler ~]# ifconfig
    bond0 Link encap:Ethernet HWaddr 00:50:56:85:00:11
     inet addr:192.168.6.251 Bcast:192.168.6.255 Mask:255.255.255.0
     inet6 addr: fe80::250:56ff:fe85:11/64 Scope:Link
     UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
     RX packets:4151345 errors:0 dropped:0 overruns:0 frame:0
     TX packets:259986 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:293332306 (279.7 MiB) TX bytes:35389660 (33.7 MiB)
    
    bond1 Link encap:Ethernet HWaddr 00:50:56:85:00:1D
     inet addr:192.168.8.251 Bcast:192.168.8.255 Mask:255.255.255.0
     inet6 addr: fe80::250:56ff:fe85:1d/64 Scope:Link
     UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
     RX packets:573886 errors:0 dropped:0 overruns:0 frame:0
     TX packets:83542 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:47456892 (45.2 MiB) TX bytes:131285877 (125.2 MiB)
    
    eth0 Link encap:Ethernet HWaddr 00:50:56:85:00:11
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
     RX packets:1038044 errors:0 dropped:0 overruns:0 frame:0
     TX packets:64999 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:73436580 (70.0 MiB) TX bytes:8871815 (8.4 MiB)
    
    eth1 Link encap:Ethernet HWaddr 00:50:56:85:00:1D
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
     RX packets:157693 errors:0 dropped:0 overruns:0 frame:0
     TX packets:83542 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:13315728 (12.6 MiB) TX bytes:131285877 (125.2 MiB)
    
    eth2 Link encap:Ethernet HWaddr 00:50:56:85:00:11
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
     RX packets:1037635 errors:0 dropped:0 overruns:0 frame:0
     TX packets:64996 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:73227843 (69.8 MiB) TX bytes:8843495 (8.4 MiB)
    
    eth3 Link encap:Ethernet HWaddr 00:50:56:85:00:1D
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
     RX packets:94432 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:6945102 (6.6 MiB) TX bytes:0 (0.0 b)
    
    eth4 Link encap:Ethernet HWaddr 00:50:56:85:00:11
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
     RX packets:1037875 errors:0 dropped:0 overruns:0 frame:0
     TX packets:64997 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:73415145 (70.0 MiB) TX bytes:8866225 (8.4 MiB)
    
    eth5 Link encap:Ethernet HWaddr 00:50:56:85:00:1D
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
     RX packets:160863 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:13559546 (12.9 MiB) TX bytes:0 (0.0 b)
    
    eth6 Link encap:Ethernet HWaddr 00:50:56:85:00:11
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
     RX packets:1037791 errors:0 dropped:0 overruns:0 frame:0
     TX packets:64997 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:73252738 (69.8 MiB) TX bytes:8810215 (8.4 MiB)
    
    eth7 Link encap:Ethernet HWaddr 00:50:56:85:00:1D
     UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
     RX packets:160898 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:13636516 (13.0 MiB) TX bytes:0 (0.0 b)
    
    lo Link encap:Local Loopback
     inet addr:127.0.0.1 Mask:255.0.0.0
     inet6 addr: ::1/128 Scope:Host
     UP LOOPBACK RUNNING MTU:16436 Metric:1
     RX packets:703 errors:0 dropped:0 overruns:0 frame:0
     TX packets:703 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:89808 (87.7 KiB) TX bytes:89808 (87.7 KiB)
    
    Code:
    [root@ocszopenfiler ~]# arp
    Address HWtype HWaddress Flags Mask Iface
    192.168.6.1 ether 00:90:fb:21:c6:b4 C bond0
    192.168.6.2 ether 00:90:fb:21:c6:b4 C bond0
    AD ether 00:50:56:85:00:0b C bond0
    192.168.6.67 ether 00:50:56:1d:06:17 C bond0
    
    Danke und viele Grüße
    Exce
     
  2. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.