Correct IPv6 Static Route Format in rc.conf

In adding a IPv6 static route into my rc.conf file, is this the correct format? I'm running FreeBSD v9.

Code:
ipv6_static_routes="v1"
ipv6_route_v1="<v6_network>/<prefixlen> <v6_destination>"

Example:

Code:
ipv6_static_routes="v1"
ipv6_route_v1="2001:0600::/23 2001:4830:1600:403::1"

My concern is if you need to add (-net6 or -inet6) or something in the ipv6_route field.


Thanks,
 
Have a look at the examples in /etc/default/rc.conf:
Code:
#ipv6_static_routes="xxx"       # An example to set fec0:0000:0000:0006::/64
                                #  route toward loopback interface.
#ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1"
 
SirDice said:
Have a look at the examples in /etc/default/rc.conf:
Code:
#ipv6_static_routes="xxx"       # An example to set fec0:0000:0000:0006::/64
                                #  route toward loopback interface.
#ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1"




Cool. Thanks.
 
Back
Top