Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2011 14:54:11 +0700
From:      "Rashid N. Achilov" <achilov-rn@askd.ru>
To:        freebsd-net@freebsd.org
Subject:   strange ping on local address
Message-ID:  <201107221454.11469.achilov-rn@askd.ru>

next in thread | raw e-mail | index | archive | help
When I try to ping local interface - ping missed! When I try to ping this 
interface with -S key (specified the same address) - working. What's a bug? 
In RELENG_7 worked.

local interface on box:
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
1500        
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
        ether 00:xx:xx:xx:xx:xx
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

ping ordinary:
master:[root] 105>ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
^C
--- 192.168.1.1 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

ping with -S key:
master:[root] 106>ping -S 192.168.1.1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.1: 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.022 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.030 ms
^C
--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.022/0.026/0.030/0.004 ms

master:[root] 103>uname -a
FreeBSD master.askd.ru 8.2-STABLE FreeBSD 8.2-STABLE #1: Fri Jul 15 18:23:18
NOVST 2011     root@master-new.askd.gmbh:/usr/obj/usr/src/sys/Master  i386

What's a terrible? I'm understand, that ping "itself" is rarely situation, but 
it worked in 7.x! 
-- 
   With Best Regards.
   Rashid N. Achilov (RNA1-RIPE), JID: citycat4@jabber.infos.ru
   OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
   PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107221454.11469.achilov-rn>