Kann lokale IP von em0 nicht pingen

From: Matthias Fechner <idefix(at)fechner.net>
Date: Fri, 07 Nov 2014 17:48:18 +0100

Hi,

ich habe ein komisches Problem.
Ich habe FreeBSD 10.0-RELEASE-p12 im Einsatz.

Es existieren 2 Netzwerkkarten:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
        ether 00:1b:21:7b:34:68
        inet 192.168.0.251 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::21b:21ff:fe7b:3468%em0 prefixlen 64 scopeid 0x1
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether bc:5f:f4:0c:46:09
        inet6 fe80::be5f:f4ff:fe0c:4609%re0 prefixlen 64 scopeid 0x2
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fd00::be5f:f4ff:fe0c:4609 prefixlen 64 autoconf
        inet6 2001:a60:1239:3d01:be5f:f4ff:fe0c:4609 prefixlen 64 autoconf
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

Es ist keine Firewall aktiv.
# pfctl -s all
No ALTQ support in kernel
ALTQ related functions disabled
FILTER RULES:

INFO:
Status: Enabled for 0 days 00:02:22 Debug: Urgent
...

# ipfw list
ipfw: getsockopt(IP_FW_GET): Protocol not available

Die Routen sehen auch gut aus:
127.0.0.1 link#3 UH 0 215927 lo0
192.168.0.0/24 link#1 U 1 577776 em0
192.168.0.251 link#1 UHS 0 99986 lo0
192.168.1.0/24 link#2 U 0 10825 re0
192.168.1.2 link#2 UHS 0 4 lo0

Ein ping auf re0 geht:
 # ping -c 1 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=0.024 ms

--- 192.168.1.2 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.024/0.024/0.024/0.000 ms

Ein ping auf em0 aber nicht:
# ping -c 1 192.168.0.251
PING 192.168.0.251 (192.168.0.251): 56 data bytes

--- 192.168.0.251 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss

Wenn ich die IP Adresse von einem anderem Rechner pinge, der im Netz
192.168.0.0/24 ist, bekomme ich eine Antwort, nur lokal vom FreeBSD
Rechner geht es nicht. Wenn ich lokal ein ssh auf 192.168.0.251 mache,
klappt es auch.
Nur ping mag anscheinend nicht.

Hat jemand eine Idee, was das sein könnte?

Gruß
Matthias

-- 
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 07 Nov 2014 - 17:49:25 CET

search this site