Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2011 15:02:01 +0700 (NOVT)
From:      System Administrator <root@master.askd.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/159104: ping local interface goes with source address 0.0.0.0
Message-ID:  <201107220802.p6M821tt091415@master.askd.ru>
Resent-Message-ID: <201107220830.p6M8UAUF068540@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159104
>Category:       kern
>Synopsis:       ping local interface goes with source address 0.0.0.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 22 08:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     System Administrator
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
LLC AS-System-Complex
>Environment:
System: 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
Interface:
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
>Description:
When I try to do ordinary ping for local address in interface em0, ping shows 100% lost

master:[root] 102>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

When I do the same, but with hardly specified source address, all OK

master:[root] 103>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.028 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.028 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.028/0.028/0.028/0.000 ms

>How-To-Repeat:
Install FreeBSD-8.x.
Configure any local interface.
Try to ping it.
You falied.

>Fix:
None
>Release-Note:
>Audit-Trail:
>Unformatted:



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