9 # KEYWORD: nojail shutdown
15 command="/usr/sbin/${name}"
16 start_precmd="rtadvd_precmd"
20 if ! checkyesno ipv6_gateway_enable ; then
22 "${name} cannot be used on IPv6 host, only on an IPv6 router."
26 # This should be enabled with a great care.
27 # You may want to fine-tune /etc/rtadvd.conf.
29 # And if you wish your rtadvd to receive and process
30 # router renumbering messages, specify your Router Renumbering
31 # security policy by -R option.
33 # See `man 3 ipsec_set_policy` for IPsec policy specification
35 # (CAUTION: This enables your routers prefix renumbering
36 # from another machine, so if you enable this, do it with
39 # If specific interfaces haven't been specified,
40 # get a list of interfaces and enable it on them
42 case ${rtadvd_interfaces} in
44 for i in `ifconfig -l` ; do
46 lo0|gif[0-9]*|stf[0-9]*|faith[0-9]*|lp[0-9]*|sl[0-9]*|tun[0-9]*)
50 rtadvd_interfaces="${rtadvd_interfaces} ${i}"
56 command_args="${rtadvd_interfaces}"
58 # Enable Router Renumbering, unicast case
59 # (use correct src/dst addr)
60 # rtadvd -R "in ipsec ah/transport/fec0:0:0:1::1-fec0:0:0:10::1/require" ${ipv6_network_interfaces}
61 # Enable Router Renumbering, multicast case
62 # (use correct src addr)
63 # rtadvd -R "in ipsec ah/transport/ff05::2-fec0:0:0:10::1/require" ${ipv6_network_interfaces}