Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 1998 17:28:23 -0700 (PDT)
From:      Dan Anderson <danx@cts.com>
To:        FreeBSD-net List <freebsd-net@FreeBSD.ORG>
Subject:   Help w/IPv6 config for FreeBSD
Message-ID:  <Pine.BSI.3.94.980503171955.19253A-100000@king.cts.com>

next in thread | raw e-mail | index | archive | help
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, <anderson@computer.org>, 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<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
sit0: flags=1041<UP,RUNNING,LINK0> mtu 1480
	inet6 ::204.94.80.94/96 
	lladdr 0a:01:01:01 
sit1: flags=1001<UP,LINK0> mtu 1480
	inet6 ::207.211.160.111/128 
sit2: flags=1000<LINK0> mtu 1480
cti0: flags=8010<POINTOPOINT,MULTICAST> mtu 1480
cti1: flags=8010<POINTOPOINT,MULTICAST> mtu 1480
ll0: flags=2<BROADCAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet 204.94.80.94 --> 192.188.72.30 netmask 0xffffff00 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.980503171955.19253A-100000>