be able to configure to run an IPv6 routing daemon even on
an end node. Requested by: Masachika ISHIZUKA <ishizuka@ish.org> MFC after: 1 week
This commit is contained in:
parent
68bf681e90
commit
c8703a911a
@ -265,6 +265,8 @@ ipv6_router="/usr/sbin/route6d" # Name of IPv6 routing daemon.
|
||||
ipv6_router_flags="" # Flags to IPv6 routing daemon.
|
||||
#ipv6_router_flags="-l" # Example for route6d with only IPv6 site local
|
||||
# addrs.
|
||||
#ipv6_router_flags="-q" # If you want to run a routing daemon on an end
|
||||
# node, you should stop advertisement.
|
||||
#ipv6_network_interfaces="ed0 ep0" # Examples for router
|
||||
# or static configuration for end node.
|
||||
# Choose correct prefix value.
|
||||
|
@ -201,18 +201,19 @@ network6_pass1() {
|
||||
# setup faith
|
||||
network6_faith_setup
|
||||
|
||||
# ipv6_router
|
||||
case ${ipv6_router_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -x ${ipv6_router} ]; then
|
||||
echo -n " ${ipv6_router}"
|
||||
${ipv6_router} ${ipv6_router_flags}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
case ${ipv6_gateway_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
# ipv6_router
|
||||
case ${ipv6_router_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -x ${ipv6_router} ]; then
|
||||
echo -n " ${ipv6_router}"
|
||||
${ipv6_router} ${ipv6_router_flags}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# rtadvd
|
||||
# This should enabled with a great care.
|
||||
# You may want to fine-tune /etc/rtadvd.conf.
|
||||
|
@ -201,18 +201,19 @@ network6_pass1() {
|
||||
# setup faith
|
||||
network6_faith_setup
|
||||
|
||||
# ipv6_router
|
||||
case ${ipv6_router_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -x ${ipv6_router} ]; then
|
||||
echo -n " ${ipv6_router}"
|
||||
${ipv6_router} ${ipv6_router_flags}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
case ${ipv6_gateway_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
# ipv6_router
|
||||
case ${ipv6_router_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -x ${ipv6_router} ]; then
|
||||
echo -n " ${ipv6_router}"
|
||||
${ipv6_router} ${ipv6_router_flags}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# rtadvd
|
||||
# This should enabled with a great care.
|
||||
# You may want to fine-tune /etc/rtadvd.conf.
|
||||
|
Loading…
Reference in New Issue
Block a user