Skip to content

Commit

Permalink
avoid overwriting router "iface" setting by host "iface" setting exam…
Browse files Browse the repository at this point in the history
…ple.

could someone comment?
  • Loading branch information
itojun committed Nov 5, 1999
1 parent 96dae94 commit 13c32b2
Showing 1 changed file with 29 additions and 23 deletions.
52 changes: 29 additions & 23 deletions kame/kame/etc/rc.net6
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,35 @@
ip6router=NO
ip6mrouter=NO

#----------
# manual configurations - in case ip6router=YES
#route6dflags=
#mroute6dflags=
#
## list of interfaces, and prefix for interfaces
## NOTE: no trailing double colon necessary here!
#iface="ed0 ep0"
#prefix_ed0="fec0:0000:0000:0001"
#prefix_ep0="fec0:0000:0000:0002"
#
## list of outer ip addresses for gif.
#gifs="gif0 gif1"
#gifconfig_gif0="10.1.1.1 10.1.2.1"
#gifconfig_gif1="10.1.1.2 10.1.2.2"

#----------
# manual configurations - in case ip6router=NO
# you can configure only single interface, as specification assumes that
# autoconfigured host has single interface only.
iface="ed0"

#----------
if [ X"${ip6router}" = X"YES" ]; then
#
# manual configurations - in case ip6router=YES
#
# route6dflags=
# mroute6dflags=

#
# list of interfaces, and prefix for interfaces
# NOTE: no trailing double colon necessary here!
#
iface="ed0 ep0"
prefix_ed0="fec0:0000:0000:0001"
prefix_ep0="fec0:0000:0000:0002"

#
# list of outer ip addresses for gif.
#
# gifs="gif0 gif1"
# gifconfig_gif0="10.1.1.1 10.1.2.1"
# gifconfig_gif1="10.1.1.2 10.1.2.2"
else
#
# manual configurations - in case ip6router=NO
# you can configure only single interface, as specification assumes that
# autoconfigured host has single interface only.
#
iface="ed0"
fi

# tool locations
ifconfig=/usr/local/v6/sbin/ifconfig
Expand Down

0 comments on commit 13c32b2

Please sign in to comment.