ipv6 static route.

Peter Ankerstål peter at pean.org
Mon Jan 25 18:12:40 UTC 2010


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

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

--
Peter Ankerstål
peter at pean.org
http://www.pean.org/




More information about the freebsd-questions mailing list