From owner-freebsd-questions Thu Nov 16 14:24:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id B3B7037B479 for ; Thu, 16 Nov 2000 14:24:11 -0800 (PST) Received: from medusa.kfu.com (medusa.kfu.com [205.178.90.222]) by quack.kfu.com (8.11.1/8.11.1) with ESMTP id eAGMOBo69661; Thu, 16 Nov 2000 14:24:11 -0800 (PST) (envelope-from nsayer@medusa.kfu.com) Received: (from nsayer@localhost) by medusa.kfu.com (8.11.0/8.11.0) id eAGMOAU77381; Thu, 16 Nov 2000 14:24:10 -0800 (PST) (envelope-from nsayer) Date: Thu, 16 Nov 2000 14:24:10 -0800 (PST) From: Nick Sayer Message-Id: <200011162224.eAGMOAU77381@medusa.kfu.com> To: doug@safeport.com Subject: ::1 in /etc/hosts Cc: questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ::1 is the IPv6 localhost address. IPv6 addresses are in the format nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn where n is a hex digit. If you have a string of 0s, you can leave the digits and extra colons out. So ::1 is actually 0000:0000:0000:0000:0000:0000:0000:0001. If you ifconfig an interface with IPv6 in the kernel, you will find the link local address which generally looks like fe80::290:27ff:fed1:576b In this case, it's fe80:0000:0000:0000:0290:27ff:fed1:576b. Link local addresses allow IPv6 nodes on a routerless segment to talk to each other. Imagine you and a friend with laptops and if_wi cards come across each other in a coffee house. You can instantly put the cards in adhoc mode and communicate using ipv6. You don't have to stop first and agree on IP addresses and netmask and crap. You would have to do some sort of ephemeral name service or type in each other's link local addresses in order to really do anything, however. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message