Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


FreeBSD ipv6 client

Author:mike - Sun Apr 27 10:44:53 2003

Asuming your router is working correctly with the ip 3ffe:80ee:5f8::/1 with a /64 range.

 * Give the interface "wi0" the ip 3ffe:80ee:5f8::2 with cidr prefix 64
ifconfig wi0 inet6 3ffe:80ee:5f8::2 prefixlen 64

 * Add default ipv6 gateway
route add -inet6 default 3ffe:80ee:5f8::1


And your on.



To automate this with the initscripts put this in rc.conf
ipv6_enable="YES"
ipv6_ifconfig_wi0="3ffe:80ee:5f8::2 prefixlen 64"
ipv6_defaultrouter="3ffe:80ee:5f8::1"

if youre with pcmcia you should put them in /etc/start_if.wi0 instead and hack your rc.netw

Add the bold line.

    384         # Set up any static routes.
    385         case ${ipv6_defaultrouter} in
    386         [Nn][Oo] | '')
    387                 ;;
    388         *)
    389                 ipv6_static_routes="default ${ipv6_static_routes}"
<strong>    390                 ipv6_route_default="default ${ipv6_defaultrouter}"</strong>
    391                 ;;  
    392         esac

Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk