Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 12:59:52 -0500
From:      "Brian A. Seklecki (CFI NOC)" <seklecki@noc.cfi.pgh.pa.us>
To:        =?ISO-8859-1?Q?Peter_Ankerst=E5l?= <peter@pean.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipv6 static route.
Message-ID:  <4B5DDC18.7000901@noc.cfi.pgh.pa.us>
In-Reply-To: <31D1B7FC-E6D9-40D7-9BFE-8EE5B46CD3E5@pean.org>
References:  <31D1B7FC-E6D9-40D7-9BFE-8EE5B46CD3E5@pean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@pean.org
> http://www.pean.org/
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5DDC18.7000901>