From owner-freebsd-hackers Fri Dec 4 16:41:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14375 for freebsd-hackers-outgoing; Fri, 4 Dec 1998 16:41:28 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14370 for ; Fri, 4 Dec 1998 16:41:26 -0800 (PST) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (itojun@localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.1+3.1W/3.7W) with ESMTP id JAA17090; Sat, 5 Dec 1998 09:41:01 +0900 (JST) To: Christopher Nielsen cc: hackers@FreeBSD.ORG In-reply-to: enkhyl's message of Fri, 04 Dec 1998 14:42:15 PST. X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: BSDi IPv6 (was: Re: Can we just come to a decision on IPv6 and IPSec?) From: Jun-ichiro itojun Itoh Date: Sat, 05 Dec 1998 09:41:00 +0900 Message-ID: <17086.912818460@coconut.itojun.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> For the rest the set-up and configuring was a breeze just when it came to >> userland tool flags it's confusing to use -ipv6 one time and -ip6 the next. >> Hope this sort of thing can be avoided or standardized under FreeBSD... >I think the goal is transparency to the user, i.e., use IPv6 when possible >and IPv4 when necessary. Although, there will probably be cases where >people will want to make this selection manually. ifconfig, route and other maintenance commands needs "-inet6" flag, like: # ifconfig ed0 inet 10.1.1.1 netmask 0xffffff00 ~~~~ this is assumed so you usually don't use this # ifconfig ed0 inet6 3ffe:0501:4819:ffff:1:2:3:4 prefixlen 64 alias Also we sometimes need such flag to force IPv4 (or v6) adderss is used. For example: # ssh localhost (v4, or v6 - I don't care) # ssh -4 localhost (v4) # ssh -6 localhost (v4) # ssh 127.0.0.1 (v4 too) # ssh ::1 (v6) I agree that options should be standardized among userland tools. KAME is trying to use "-inet6", "inet6" or "-6" for this. itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message