Hping/Ping

Dave Raven dave at raven.za.net
Tue Feb 26 17:42:30 UTC 2008


Hi,
	Yes there are no hops, I'm just pinging the router infront of me. 

# netstat -nI silbpi1
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs
Coll
silbp  1500 <Link#2>    00:e0:ed:0c:a8:5d 1009627153  2459 1323071177     0
0
silbp  1500 x.x.x.x x.x.x.x     606092     - 1323073544     -     -

There are errors, but that was from when I was changing the mode of the
interface (from autosense) - they don't increment as the pings drop.. 


# ifconfig silbpi1
silbpi1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<RXCSUM,TXCSUM>
        inet x.x.x.x netmask 0xfffffff0 broadcast x.x.x.x
        ether 00:e0:ed:0c:a8:5d
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active

The silbpi card uses the em driver - I tried the onboard em cards but had
the same problem..


I've also connected a cable to my other card, silbpi0, which does no traffic
and pinging on there is stable. That seems to indicate it's something card
specific, but hping never has a problem ?

Thanks for the help
Dave

-----Original Message-----
From: Ingo Flaschberger [mailto:if at xip.at] 
Sent: Tuesday, February 26, 2008 7:34 PM
To: Dave Raven
Cc: freebsd-net at freebsd.org
Subject: RE: Hping/Ping

Dear Dave,

> 	Also, if I use tethereal to sniff for icmp packets to the host I'm
> pinging I see them all even though I am getting drops --
>
> 23 packets transmitted, 22 packets received, 4% packet loss
>
> The last two lines of my tethereal --
>
> 45  22.214610 x.x.x.x -> y.y.y.y ICMP Echo (ping) request
> 46  22.215133 y.y.y.y -> x.x.x.x ICMP Echo (ping) reply
>
> 46/2 (request/reply) = 23. So 23 packets actually went out and returned,
yet
> I still get drops?

*) You ping machine to machine (no other hops between)?
*) ifconfig <yournetworkinterface>
*) netstat -nI <yournetworkinterface>

Kind regards,
 	Ingo Flaschberger



More information about the freebsd-net mailing list