[6bone] Basic IPv6 on FreeBSD

Jeroen Massar jeroen@unfix.org
Tue, 13 May 2003 16:45:40 +0200


/* jsha */ wrote:

> 	# IPv6 NETWORK CONFIGURATION
> 	#
> 	gif_interfaces="gif0"
> 	gifconfig_gif0="213.187.181.70 192.16.124.2"
> 	ipv6_enable="YES"
> 	ipv6_gateway_enable="YES"
> 	ipv6_defaultrouter="-interface gif0" 
> 	ipv6_network_interfaces="lnc0 ep0 gif0 lo0"
> 	ipv6_ifconfig_lnc0="3ffe:4008:1b::1200 prefixlen 48"

A subnet should be a /64 if you want Radvd to work.

> 	ipv6_firewall_enable="YES"
> 	ipv6_firewall_type="open"
> 	rtadvd_enable="YES"
> 	rtadvd_interfaces="ep0"
> 	-
> 
> 	lnc0 goes from server to ADSL modem, ep0 goes from server to
> 	workstation. I also keep getting this error message:
> 
> 	cannot forward src fe80:0002::0240:f4ff:fe3d:a742,
>                        dst 2001:04f8:0:0002::000e,
>                        nxt 6, rcvif ep0, outif gif0

Quite clearly you cannot forward link local IP's.
Configure a /64 on lnc0 and ep0 and gif0, configure radvd
to the correct prefix, restart radvd, and it should work(tm)
Though unless you use unnumbered tunnels you will be needing
some addresses over the tunnel. You should show more details
of your configuration and your network design ;)

Greets,
 Jeroen