route6dを使った接続

 

前提となるネットワーク構成は
ネットワーク図
  1. /usr/local/v6/etc/rc.net6
    % diff rc.net6.sample rc.net6
    3c3
    < ip6router=NO
    ---
    > ip6router=YES
    8c8
    < #route6dflags=
    ---
    > route6dflags="-A 3ffe:8020:100a::/48,gif0 -O 3ffe:8020:100a::/48,gif0"
    13,15c13,15
    < #iface="ed0 ep0"
    < #prefix_ed0="fec0:0000:0000:0001"
    < #prefix_ep0="fec0:0000:0000:0002"
    ---
    > iface="ed0 ed1"
    > prefix_ed0="3ffe:8020:100a:1"
    > prefix_ed1="3ffe:8020:100a:2"
    18,19c18,19
    < #gifs="gif0 gif1"
    < #gifconfig_gif0="10.1.1.1 10.1.2.1"
    ---
    > gifs="gif0"
    > gifconfig_gif0="210.166.xxx.yyy 202.232.zzz.aaa"
    26c26
    < iface="ed0"
    ---
    > #iface="ed0"
    112c112
    < #     [ -x $rtadvd ] && $rtadvd $iface
    ---
    >       [ -x $rtadvd ] && $rtadvd $iface
    
  2. /usr/local/v6/etc/rtadvd.conf
    % cat rtadvd.conf
    #
    # common definitions.
    #
    default:\
            :chlim#64:raflags#0:rltime#1800:rtime#30000:retrans#1000:\
            :pinfoflags#192:vltime#3600000:pltime#3600000:mtu#1500:
    ether:\
            :mtu#1500:tc=default:
    #
    # interfaces.
    #
    ed0:\
            :addrs#1:addr="3ffe:8020:100a:1::":prefixlen#64:tc=ether:
    ed1:\
            :addrs#1:addr="3ffe:8020:100a:2::":prefixlen#64:tc=ether:
    


もどる