Date: Sat, 30 Jul 2011 12:43:32 -0700 From: Brian Somers <brian@freebsd.org> To: "Rashid N. Achilov" <achilov-rn@askd.ru> Cc: freebsd-net@freebsd.org Subject: Re: strange ping on local address Message-ID: <20110730194332.GI88174@thong.lan.Awfulhak.org> In-Reply-To: <201107221454.11469.achilov-rn@askd.ru> References: <201107221454.11469.achilov-rn@askd.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 22, 2011 at 02:54:11PM +0700, Rashid N. Achilov wrote: > 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! What happens if you "route delete 192.168.1.1" and then try the ping without using -S? -- Brian Somers <brian@Awfulhak.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110730194332.GI88174>
