Marius van Witzenburg We fight for our survival, we fight!

13Jun/110

How to configure a IPv6 gateway for XS4ALL on FreeBSD

You might first need these two manuals.

How to use a PPPoE or PPPoA connection of XS4ALL on FreeBSD

How to configure IPv6 DHCP client for XS4ALL on FreeBSD

Configuring your server as a router is quite simple.

First edit /etc/rc.conf and add the following

ipv6_ifconfig_em0="2001:980:5E29::1 prefixlen 64"
ipv6_defaultrouter="-interface tun0"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="em0"

This configures IPv6 for your interface and tells it to function as a gateway.

Now setup the config for rtadvd so it will give out the right IP range. Edit /etc/rtadvd.conf

em0: \
:addr="2001:980:5E29::":prefixlen#64:

Now fire up a client connected to the LAN side on em0 and visit the following page to check if you are using IPv6:

http://www.xs4all.nl/klant/veiligheid/mijnip.php

Another useful page with information how to configure IPv6 on your server is in the FreeBSD handbook.

Posted by mariusvw

Reacties (0) Trackbacks (0)

Nog geen reacties


Leave a comment

(required)

Nog geen trackbacks.