Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 19:12:36 +0100
From:      =?iso-8859-1?Q?Peter_Ankerst=E5l?= <peter@pean.org>
To:        bseklecki@noc.cfi.pgh.pa.us
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipv6 static route.
Message-ID:  <81D79E11-24BA-47B0-A0C7-3AD2AE5DE6ED@pean.org>
In-Reply-To: <4B5DDC18.7000901@noc.cfi.pgh.pa.us>
References:  <31D1B7FC-E6D9-40D7-9BFE-8EE5B46CD3E5@pean.org> <4B5DDC18.7000901@noc.cfi.pgh.pa.us>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jan 25, 2010, at 6:59 PM, Brian A. Seklecki (CFI NOC) wrote:

> On 1/25/2010 12:15 PM, Peter Ankerst=E5l wrote:
>> How do I set a static ipv6 route in rc.conf?
>>=20
>> This command works: route add -inet6 -net 2003:16c8:dc1e:2:: =
-prefixlen 64 2003:16c8:dc1e::2
>>=20
>> and I use this in rc.conf:
>> ipv6_static_routes=3D"2003:16c8:dc1e:2:: -prefixlen 64 =
2003:16c8:dc1e::2"
>>=20
>=20
> Do it like IPv4 static routes with an itemized/serialized list:
>=20
> ipv6_static_routes=3D"pitbpa0_0 pitbpa0_1 faith_0 faith_1"
> ipv6_route_pitbpa0_0=3D"2607:f000:0010:0100::/56 2607:f000:10::4000"
> ipv6_route_pitbpa0_1=3D"2607:f000:0010:0200::/56 2607:f000:10::4000"
> ipv6_route_faith_0=3D"2607:f000:10:0:ffff:: -prefixlen 96 ::1"
> ipv6_route_faith_1=3D"2607:f000:10:0:ffff:: -prefixlen 96 -ifp faith0"
>=20
> Keep the faith, yea?
>=20
> ~BAS
>=20
Thanks, I just figured it out too!=20

--
Peter Ankerst=E5l
peter@pean.org
http://www.pean.org/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81D79E11-24BA-47B0-A0C7-3AD2AE5DE6ED>