From owner-freebsd-net Sun May 3 17:28:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02666 for freebsd-net-outgoing; Sun, 3 May 1998 17:28:34 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mh2.cts.com (root@mh2.cts.com [205.163.24.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02653 for ; Sun, 3 May 1998 17:28:23 -0700 (PDT) (envelope-from danx@cts.com) Received: from king.cts.com (danx@king.cts.com [198.68.168.21]) by mh2.cts.com (8.8.7/8.8.5) with SMTP id RAA23378 for ; Sun, 3 May 1998 17:28:23 -0700 (PDT) Date: Sun, 3 May 1998 17:28:23 -0700 (PDT) From: Dan Anderson To: FreeBSD-net List Subject: Help w/IPv6 config for FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi There, I have the IPv6 patches by INRIA.fr for FreeBSD 2.2.5 and have it up and running locally. I'm trying to connect to the 6bone through a tunnel but cannot ping. (Gory details below for those interested). I've done it successfully for Linux. The INRIA instructions are very sketchy, so . . . if you tunneled successfully to IPv6 with sit tunnel devices, please e-mail me your /etc/rc.ipv6 startup file. Thanks. - Dan Anderson, , San Diego, California # cat /etc/rc.ipv6 #!/bin/sh # /etc/rc.ipv6 autoconf6 -v >/tmp/autoconf6 2>&1 ifconfig ed1 inet6 firstalias 3ffe:1d01:2:2::/64 eui64 #danx.att # Tunnel ifconfig sit0 inet6 ::204.94.80.94/96 ifconfig sit0 up ifconfig sit1 inet6 ::207.211.160.111/128 ifconfig sit1 up route -n add -inet6 3ffe::/16 ::207.211.160.111 sysctl -w net.inet6.ipv6.forwarding=1 sysctl -w net.inet6.ipv6.mforwarding=1 # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Mtu Netif Expire default 192.188.72.30 UGSc 1 2 1500 ppp0 10.1.1/24 link#1 UC 0 0 1500 ed1 - 127.0.0.1 127.0.0.1 UHl 1 1 16384 lo0 192.188.72.30 204.94.80.94 UH 2 0 1500 ppp0 204.94.80.94 127.0.0.1 UGHS 0 1 16384 lo0 IPv6: Destination Gateway Flags Refs Use Mtu Netif Expire ::/96 0.0.0.0 UC 0 0 - sit0 - ::1 ::1 UHl 0 0 16384 lo0 ::207.211.160.111 207.211.160.111 UHLl 1 0 16384 sit1 3ffe::/16 ::207.211.160.111 UGS 0 3 1480 sit1 3ffe:1d01:2:2::/64 link#1 UC 0 0 1500 ed1 - 3ffe:1d01:2:2:240:5ff:fe19:2f85 0:40:5:19:2f:85 UHDLWl 0 2 16384 ed1 fe80::/64 link#1 UC 0 0 1500 ed1 - 12#ff01::/16 ::1 US 0 0 16384 lo0 1#ff02::/16 fe80::240:5ff:fe19:2f85 US 0 3 1500 ed1 12#ff11::/16 ::1 US 0 0 16384 lo0 1#ff12::/16 fe80::240:5ff:fe19:2f85 US 0 0 1500 ed1 # ifconfig -a ed1: flags=8a43 mtu 1500 inet 10.1.1.1 netmask 0xffffff00 broadcast 10.1.1.255 inet6 3ffe:1d01:2:2:240:5ff:fe19:2f85/64 inet6 fe80::240:5ff:fe19:2f85/64 ether 00:40:05:19:2f:85 lp0: flags=8810 mtu 1500 sit0: flags=1041 mtu 1480 inet6 ::204.94.80.94/96 lladdr 0a:01:01:01 sit1: flags=1001 mtu 1480 inet6 ::207.211.160.111/128 sit2: flags=1000 mtu 1480 cti0: flags=8010 mtu 1480 cti1: flags=8010 mtu 1480 ll0: flags=2 mtu 1500 tun0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 ppp0: flags=8051 mtu 1500 inet 204.94.80.94 --> 192.188.72.30 netmask 0xffffff00 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1/128 # ping6 danx.ipv6 trying to get source for danx.ipv6 source should be 3ffe:1d01:2:2:240:5ff:fe19:2f85 PING danx.ipv6.yosemite.ca.us (3ffe:1d01:2:2:240:5ff:fe19:2f85): 56 data bytes 64 bytes from 3ffe:1d01:2:2:240:5ff:fe19:2f85: icmp6_seq=0 ttl=255 time=0.234 ms 64 bytes from 3ffe:1d01:2:2:240:5ff:fe19:2f85: icmp6_seq=1 ttl=255 time=0.189 ms ^C --- danx.ipv6.yosemite.ca.us ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.189/0.211/0.234 ms # ping6 dan.ipv6 trying to get source for dan.ipv6 source should be ::207.211.160.111 PING dan.ipv6.yosemite.ca.us (3ffe:1d01:2:1:200:c0ff:feee:f097): 56 data bytes ping: wrote dan.ipv6.yosemite.ca.us 64 chars, ret=-1 ping: wrote dan.ipv6.yosemite.ca.us 64 chars, ret=-1 --- dan.ipv6.yosemite.ca.us ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss ping: sendto: Network is down ping: sendto: Network is down ^C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message