From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9b66cee2bf96f69 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-05-27 13:42:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: Brian Haley Organization: Tru64 UNIX Networking User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.2) Gecko/20021205 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Couple of IPv6 Questions. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 27 May 2003 20:57:03 GMT NNTP-Posting-Host: 16.140.64.151 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1054069023 16.140.64.151 (Tue, 27 May 2003 13:57:03 PDT) NNTP-Posting-Date: Tue, 27 May 2003 13:57:03 PDT Xref: archiver1.google.com comp.unix.tru64:9969 David Malone wrote: > I've been fiddling around with IPv6 on Tru64 and there's a couple > of things I haven't been able to figure out. First, I haven't been > able to find a command that displays the neighbour cache - something > like ndp on KAME stacks. # netstat -N I'll add that to my list of documentation that needs updating. > Second, I've been trying to set up a configured tunnel to a FreeBSD > host. I've tried both manually and with ip6_setup, the manual config > goes like this: > > iptunnel create -I ipt0 _v4_dest_addr_ _v4_source_addr_ > ifconfig ipt0 ipv6 > ifconfig ipt0 inet6 _v6_source_addr_ > ifconfig ipt0 up > > I find that if I ping the all-nodes multicast address from the > FreeBSD host, then I get a reply from the Tru64 machine. If I try > pinging the _v6_source_addr_ I don't get a reply at all (I can see > the incomming packet count going up in netstat -in, but the box > doesn't seem to generate any replies, or if it does they don't make > it on to the wire). The problem is that neither machine has a route to the v6 "network" associated with the addresses you added (check netstat -rnf inet6). The IPv6 output errors are probably going up on each system: # netstat -p ipv6 ... 21 packets not transmitted due to error ... Here's an example that will work: Host 1: # iptunnel create -I ipt0 host2 host1 # ifconfig ipt0 ipv6 up # ifconfig ipt0 inet6 2000:7::1 # route add -net -inet6 2000:7::/64 2000:7::1 -interface -dev ipt0 Host 2: # iptunnel create -I ipt0 host1 host2 # ifconfig ipt0 ipv6 up # ifconfig ipt0 inet6 2000:7::2 # route add -net -inet6 2000:7::/64 2000:7::2 -interface -dev ipt0 Netstat -rnf inet6 will have a route to the 2000:7::/64 network through the ipt0 interface now: 2000:7::/64 2000:7::1 US 0 7 ipt0 2000:7::1 2000:7::1 UHL 1 4 ipt0 And you won't have to use "-I ipt0" with ping or traceroute. We assumed that most users will configure tunnels on routers, which will automatically configure all of this for you, as well as advertise and receive routing updates through the tunnel. -Brian Haley, Tru64 Unix Networking