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:
Hajimu UMEMOTO 2002-07-18 05:00:16 +00:00
parent 90171c93bb
commit 8abac11f6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100279
3 changed files with 24 additions and 20 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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.