From owner-freebsd-net@FreeBSD.ORG Tue Feb 6 01:43:23 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50D4116A4FC for ; Tue, 6 Feb 2007 01:43:23 +0000 (UTC) (envelope-from aronesimi@yahoo.com) Received: from web58607.mail.re3.yahoo.com (web58607.mail.re3.yahoo.com [68.142.236.205]) by mx1.freebsd.org (Postfix) with SMTP id E76D213C46B for ; Tue, 6 Feb 2007 01:43:22 +0000 (UTC) (envelope-from aronesimi@yahoo.com) Received: (qmail 47543 invoked by uid 60001); 6 Feb 2007 01:43:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=OQnKXVrlwuRB71D5UWiFqgB0FIY5SvicoSkltgABU37YZoMXHJtm5nILEu7enqVuHMQKk6YE7hVwsz5KGQ1FIArscywe8NXSF66XNvJshmCeDaeN4tzZ6Oy1obbim5Wum5aRcm3j+eNakT/AuyAB3mDCJtHNz0ePw2dbNiu4fww=; X-YMail-OSG: K09TwdEVM1m.MQOSua8xOve9IRWHT_AJ8uNI.Qea.3i5HL9sk3vPVLWscZnumFe2jQ-- Received: from [75.72.230.91] by web58607.mail.re3.yahoo.com via HTTP; Mon, 05 Feb 2007 17:43:22 PST Date: Mon, 5 Feb 2007 17:43:22 -0800 (PST) From: Arone Silimantia To: freebsd-net@freebsd.org MIME-Version: 1.0 Message-ID: <414243.47093.qm@web58607.mail.re3.yahoo.com> X-Mailman-Approved-At: Tue, 06 Feb 2007 03:18:46 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: santy check: adding an ipv6 address for the first time ... 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: Tue, 06 Feb 2007 01:43:24 -0000 Hello, I am running a 6.1-RELEASE system, one IP (v4) address configured, everything is wonderful. Now, in the past I have added additional IPv4 addresses with this command: ifconfig fxp0 alias 192.168.0.2 netmask 255.255.255.255 Easy. So now, I need to add a ipv6 address for the first time, and I am very nervous - the system is very far away from me and it costs a LOT to have someone go reboot it or attach a KVM, etc. so I am _very_ worried about issuing the wrong command and knocking it off the network. Now, I have a real ipv6 connection, and am not tunneling or anything like that, so I don't need to do anything with gif0, do I ? Can I just run this command: ifconfig fxp0 inet6 alias 1234:4567:1234::2 netmask ?? and then: route add -inet6 default 1234:4567:1234::1 and that will work, and NOT knock me off of my ipv4 ? Also, I put ?? in place of my netmask above - what is the ipv6 netmask for a /48 ? Finally, when my provider told me about my ipv6 allocation, they said: "We have created a ::/48 for you, ::1 is your gateway" "inet6number: 1234:5678:1234::/48" So am I correct that my ifconfig IP (see above) should be: 234:5678:1234::2 Or am I misunderstanding how to write that out ? Many thanks. --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.