From owner-freebsd-net@FreeBSD.ORG Sat Jul 30 19:58:40 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84DB9106564A for ; Sat, 30 Jul 2011 19:58:40 +0000 (UTC) (envelope-from prvs=11856fad44=brian@Awfulhak.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 46B5C8FC0C for ; Sat, 30 Jul 2011 19:58:39 +0000 (UTC) Received: from pd6ml1no-ssvc.prod.shaw.ca ([10.0.153.160]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 30 Jul 2011 13:43:37 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=sma64emKALigICJU+V2L7RL3kPAolu7RCFSKDgo279k= c=1 sm=1 a=wom5GMh1gUkA:10 a=lON2U-l0JHgA:10 a=dBRESv0yCI8A:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=cmB/9TsswV7PJ0tytqGp1Q==:17 a=MMwg4So0AAAA:8 a=6I5d2MoRAAAA:8 a=GLdqeF5yD0_f_m2HdWsA:9 a=WfMR9K_jZqMEUEb2fJMA:7 a=CjuIK1q_8ugA:10 a=WJ3hkfHDukgA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO vstore.lan.Awfulhak.org) ([70.79.183.1]) by pd6ml1no-dmz.prod.shaw.ca with ESMTP; 30 Jul 2011 13:43:37 -0600 Received: from vstore.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 98BA315BEFD_E345EE7B; Sat, 30 Jul 2011 19:43:35 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by vstore.lan.Awfulhak.org (Sophos Email Appliance) with ESMTP id 3BDE815BE3C_E345EE5F; Sat, 30 Jul 2011 19:43:32 +0000 (GMT) Received: from thong.lan.Awfulhak.org (thong.lan.Awfulhak.org [172.16.0.31]) by gw.Awfulhak.org (8.14.5/8.14.5) with ESMTP id p6UJhXjp027133; Sat, 30 Jul 2011 12:43:33 -0700 (PDT) (envelope-from brian@lan.Awfulhak.org) Received: from thong.lan.Awfulhak.org (localhost [127.0.0.1]) by thong.lan.Awfulhak.org (8.14.5/8.14.5) with ESMTP id p6UJhXkM016372; Sat, 30 Jul 2011 12:43:33 -0700 (PDT) (envelope-from brian@thong.lan.Awfulhak.org) Received: (from brian@localhost) by thong.lan.Awfulhak.org (8.14.5/8.14.5/Submit) id p6UJhWOV016371; Sat, 30 Jul 2011 12:43:32 -0700 (PDT) (envelope-from brian) Date: Sat, 30 Jul 2011 12:43:32 -0700 From: Brian Somers To: "Rashid N. Achilov" Message-ID: <20110730194332.GI88174@thong.lan.Awfulhak.org> References: <201107221454.11469.achilov-rn@askd.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201107221454.11469.achilov-rn@askd.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@freebsd.org Subject: Re: strange ping on local address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2011 19:58:40 -0000 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 metric 0 mtu > 1500 > options=219b > ether 00:xx:xx:xx:xx:xx > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > 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 Don't _EVER_ lose your sense of humour !