From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 10:26:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1F2016A500 for ; Tue, 26 Sep 2006 10:26:59 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7109643DB0 for ; Tue, 26 Sep 2006 10:26:48 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k8QAQiEY015266; Tue, 26 Sep 2006 13:26:44 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 26 Sep 2006 13:23:37 +0300 User-Agent: KMail/1.9.1 References: <20060925220057.hqu0378bjk04gccg@webmail.cs.vt.edu> In-Reply-To: <20060925220057.hqu0378bjk04gccg@webmail.cs.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609261323.38104.nvass@teledomenet.gr> Cc: Sushant Sharma Subject: Re: Dummynet Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 10:27:00 -0000 On Tuesday 26 September 2006 05:00, Sushant Sharma wrote: > Hi all, > I have installed dummynet on a machine-2 which I am using to introduce > delay between the packets that I'll be sending from machine-1 to machine-3. > I am using ping to confirm that ICMP/TCP packets are getting delayed. I > know both UDP/TCP fall under ip, so UDP packets should also be getting > delayed but just to confirm, do you guys know of any utility that I can use > to check if UDP packets are also getting delayed. Use traceroute. Or you could run tcpdump on both ingress and egress interfaces and check the timestamps. netcat can send udp packets, bash can(if it's built this way) cat >/dev/udp/192.168.0.1/snmp for example Or you could simply trust dummynet/ipfw. They work:) HTH, Nikos