ipv6 static route.

Brian A. Seklecki (CFI NOC) seklecki at noc.cfi.pgh.pa.us
Mon Jan 25 17:59:57 UTC 2010


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


> but it does not set the correct routes.
> --
> Peter Ankerstål
> peter at pean.org
> http://www.pean.org/
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"





More information about the freebsd-questions mailing list