From owner-freebsd-net@FreeBSD.ORG Wed Oct 3 16:23:11 2007 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 2803A16A419 for ; Wed, 3 Oct 2007 16:23:11 +0000 (UTC) (envelope-from elitecoder@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id EEFD513C447 for ; Wed, 3 Oct 2007 16:23:10 +0000 (UTC) (envelope-from elitecoder@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5638150waf for ; Wed, 03 Oct 2007 09:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=GYW4xqwKbAuntw+fWS2aUqPCAhx5CZWDG72svl06X08=; b=AKka7C0LUUkmb7vDXMrgd3VgAGWuxBhdc2Jstl7mrhvmQPNu0K5KJZu10//GmMMHIga423V8GOaxkuAKX0ifb48fxidZ8R08q1YCUNFsb1yR8mwrSL2f/hY8uZM+x3lQJMosa9hhMQv8OUDSSltPlaUzvLbbKo4BAbRCwMbCiS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TmsXbq4NFcu2IyENGPSECH0zjgfDxgXFAeQIVLDaO7WtXiDKCcBCP2YIpVwCvNn3JHBgIsTacp6wnOJcDsQpii4hvuuCU3kbiFxAcEuhIS2U/wZuZe8TvzpFtlyAsPYZ5SY4e9Tg792CtD/qcounHaUjKj1cU740MB2PQxO9H3I= Received: by 10.115.108.1 with SMTP id k1mr3217894wam.1191426883204; Wed, 03 Oct 2007 08:54:43 -0700 (PDT) Received: by 10.114.13.5 with HTTP; Wed, 3 Oct 2007 08:54:43 -0700 (PDT) Message-ID: <3c6d44e30710030854h2e261cf3s31c2825887f50237@mail.gmail.com> Date: Wed, 3 Oct 2007 08:54:43 -0700 From: David To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: arping only sending one packet - not exiting properly 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: Wed, 03 Oct 2007 16:23:11 -0000 Hello all, I am trying to figure out why arping on one of my servers is unable to send more than one packet. When I am not using the verbose flag it will appear to "hang" and not exit until a ^C is given. With the verbose flag it just scrolls those pcap_dispatch errors down the terminal. (this is even the case when I specify -c 1) I don't know what 'arping: select=1 pcap_dispatch=0!' means. Could someone shed some light on this problem? Both systems are built with libnet11-1.1.2.1_1,1 and arping-2.05_2. Both are FreeBSD 6.2-RELEASE SMP I disabled the firewall completely during these tests Not working: [root@host /usr/home/user]# arping -v -c 4 xxx.xxx.90.200 This box: Interface: em0 IP: xxx.xxx.90.201 MAC address: 00:30:48:5b:1d:88 ARPING xxx.xxx.90.200 60 bytes from 00:11:09:2b:b5:28 (xxx.xxx.80.200): index=0 time=19.895 msec arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! arping: select=1 pcap_dispatch=0! ^C --- xxx.xxx.90.200 statistics --- 1 packets transmitted, 1 packets received, 0% unanswered [root@host /usr/home/user]# Working: [root@workinghost /usr/home/user]# arping -v -c 4 xxx.xxx.184.69 This box: Interface: fxp0 IP: xxx.xxx.236.156 MAC address: 00:0f:ea:47:52:f1 ARPING xxx.xxx.184.69 60 bytes from 00:30:48:57:5a:de (xxx.xxx.184.69): index=0 time=6.914 usec arping: select=1 pcap_dispatch=0! 60 bytes from 00:30:48:57:5a:de (xxx.xxx.184.69): index=1 time=5.007 usec arping: select=1 pcap_dispatch=0! 60 bytes from 00:30:48:57:5a:de (xxx.xxx.184.69): index=2 time=5.007 usec arping: select=1 pcap_dispatch=0! --- xxx.xxx.184.69 statistics --- 4 packets transmitted, 3 packets received, 25% unanswered Thanks.