From owner-freebsd-net@FreeBSD.ORG Sat Jan 11 14:13:39 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38D75E01; Sat, 11 Jan 2014 14:13:39 +0000 (UTC) Received: from mail.tyknet.dk (mail.tyknet.dk [IPv6:2a01:4f8:201:2327:144:76:253:226]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E8BB115D2; Sat, 11 Jan 2014 14:13:38 +0000 (UTC) Received: from [10.10.1.214] (217.71.4.82.static.router4.bolignet.dk [217.71.4.82]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id 5495A1873E3; Sat, 11 Jan 2014 14:13:28 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail.tyknet.dk 5495A1873E3 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1389449608; bh=vvuSP6Vx3Ye69Z8QM8uRzC35fXG0AHdI091drQvsUf0=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=lmfutYPva1433KQXN0tY+nbMNaLzaM2X2RG8GIow93AsJg4DBE9GDqsg0l53e9WNg ZDkYYCFlOo0qnxlnxmkGnYiu0EHosccJ1FTGp8CNKj8dwCd6d2INXGiQLZxyY6ZQ/4 QnYirvf9cs3QYcfipjIhOJXfcQY0EmhXCSn37S0U= Message-ID: <52D15185.50802@gibfest.dk> Date: Sat, 11 Jan 2014 15:13:25 +0100 From: Thomas Steen Rasmussen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: sthaug@nethelp.no Subject: Re: Merge ping+ping6 and traceroue+traceroute6 to single utilities? References: <1063008459.20140111160525@serebryakov.spb.ru> <52D14140.3090003@gibfest.dk> <20140111.143644.41639035.sthaug@nethelp.no> In-Reply-To: <20140111.143644.41639035.sthaug@nethelp.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: lev@FreeBSD.org, net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 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, 11 Jan 2014 14:13:39 -0000 On 11-01-2014 14:36, sthaug@nethelp.no wrote: >> Normal network enabled utilities like telnet or ftp or nc support >> both because when using those you usually don't care about the >> address family used, you just want to connect. This is a significant >> difference from using ping or traceroute where you almost always >> want a specific address family, depending on what you are testing. > I strongly disagree with the "almost always want a specific address > family". I normally want to verify that the IP at the other end is > alive, or get some idea of how to get there. If I want a specific > address family I'm very happy to use -4 / -6 options. The IP at the other end will, by definition, always be either v4 or v6, so yes, you do want a specific address family - namely the family your IP belongs to. Best regards, Thomas Steen Rasmussen