From owner-freebsd-questions Tue Jan 21 21: 0: 6 2003 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 047D037B401; Tue, 21 Jan 2003 21:00:04 -0800 (PST) Received: from dhumketu.homeunix.net (dialpool-210-214-66-217.maa.sify.net [210.214.66.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEDBB43F13; Tue, 21 Jan 2003 21:00:00 -0800 (PST) (envelope-from shantanoo+fbsd@ieee.org) Received: (from shantanu@localhost) by dhumketu.homeunix.net (8.12.6/8.12.6) id h0M4wfVj000594; Wed, 22 Jan 2003 10:28:41 +0530 (IST) (envelope-from shantanoo+fbsd@ieee.org) X-Authentication-Warning: dhumketu.homeunix.net: shantanu set sender to shantanoo+fbsd@ieee.org using -f Date: Wed, 22 Jan 2003 10:28:40 +0530 From: Shantanu Mahajan To: freebsd-questions@freebsd.org, freebsd-doc@freebsd.org Subject: error in ipv6.html of handbook(?) Message-ID: <20030122045840.GA561@dhumketu.homeunix.net> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-doc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.7-RELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (Plz. let me know if this is wrong list to ask this ques.) Following is the part from handbook/ipv6.html ------ BEGIN ---- 19.14.2 Reading IPv6 Addresses The canonical form is represented as: x:x:x:x:x:x:x:x, each ``x'' being a 16 Bit hex value. For example FEBC:A574:382B:23C1:AA49:4592:4EFE:9982 Often an address will have long substrings of all zeros therefore each such substring can be abbreviated by ``::''. For example fe80::1 corresponds to the canonical form fe80:0000:0000:0000:0000:0000:0000:0001 A third form is to write the last 32 Bit part in the well known (decimal) IPv4 style with dots ``.'' as separators. For example 2002::10.0.0.1 corresponds to the (hexadecimal) canonical representation ^^^^^^^^^^^^^^ 2002:0000:0000:0000:0000:0000:000a:0001 which in turn is equivalent to writing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2002::a:1 By now the reader should be able to understand the following: # ifconfig rl0: flags=8943 mtu 1500 inet 10.0.0.10 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::200:21ff:fe03:8e1%rl0 prefixlen 64 scopeid 0x1 ether 00:00:21:03:08:e1 media: Ethernet autoselect (100baseTX ) status: active fe80::200:21ff:fe03:8e1%rl0 is an auto configured link-local address. It includes the enscrambled Ethernet MAC as part of the auto configuration. For further information on the structure of IPv6 addresses see RFC2373 ----- END ---- As far as I can understand, 2002:10.0.0.1 should be 2002:0000:0000:0000:0000:0000:0a00:0001 i.e. 2002::a00:1 and not 2002::a:1 ^^^ ^ Regards, Shantanu -- Everyone is a genius. It's just that some people are too stupid to realize it. PGP keyID 137AFD9E (C7DA 3350 1DEA F371 37DC D92A F0D4 C2ED 137A FD9E) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message