[6bone] IPv6 and FreeBSD

Nick Kraal Nick Kraal <nick@arc.net.my>
Tue, 17 Sep 2002 18:56:36 +0800


I hope that this is not OTT on this mailing-list.

I am trying to implement a simple IPv6 gateway on FreeBSD. This box has
three interfaces xl0,ep1 and gif0. xl0 is connected to a v4 network and runs
fine. gif0 is a IPv4 tunneled interface to the existing IPv6 router. The ep1
interface is to a switch where I am trying to construct a pure IPv6 network
2001:FFFF:B405:2::/64. IPv6 connectivity from the box seems to be working
fine but I am a bit stuck on the RA portion running on interface ep1. Can
this work or must I install Zebra. Any ideas/hints/pointers will be greatly
appreciated.

Thanks in advance.

-nick/

...from the IPv6 router:
ipv6 route 2001:FFFF:B405::/48 Tunnel 5

...from /etc/rc.conf
# ---IPv6 router config---
ipv6_enable="YES"
ipv6_static_routes="default"
ipv6_route_default="default -interface gif0"
ipv6_gateway_enable="YES"
ipv6_network_interfaces="xl0 ep1"
ipv6_prefix_xl0="2001:FFFF:B405:1 prefixlen 64"
ipv6_prefix_ep1="2001:FFFF:B405:2 prefixlen 64"
gif_interfaces="gif0"
prefixcmd="YES"
rtadvd_enable="YES"
rtadvd_interfaces="ep1"
gifconfig_gif0="200.100.200.110 200.100.220.12"
ifconifg_xl0_alias0="2001:FFFF:B405:1::1 prefixlen 64"
ifconifg_ep1_alias0="2001:FFFF:B405:2::1 prefixlen 64"