zebraのインストール



next up previous
Next: radvdの設定 Up: IPv6ルータとしての設定 Previous: トンネルの張り方

zebraのインストール

次にルーティングデーモンをインストールする.IPv6で利用できるルーティン グプロトコルとして,RIPng,BGP4+が挙げられる.今回はRIPngを用いた設定 例を紹介する.

Linuxで利用できるRIPngルーティングデーモンとしては mrtzebraがある.インストールや設定が容易 であることから,今回はzebraを利用して説明する.

zebraは現在開発中のルーティングデーモンであり,RIP,RIPng,BGP4+,OSPF を話すことのできる多機能ルーティングパッケージである.まだアルファリリー スであるが,Linux上でRIPngとして動作することを確認している.今回は zebra-980604.tar.gzを利用した.zebraは以下のサイトから入手できる.

ftp://ftp.zebra.org/pub/zebra/

zebra のインストールは次のように行う.

# tar xvzf zebra-980604.tar.gz
# cd zebra
# ./configure
# make
# make install

次に,設定ファイルをコピーする.

# cd /usr/local/etc
# cp zebra.conf.sample zebra.conf
# cp ripngd.conf.sample ripngd.conf 

これでzebraのインストールは完了である. 次の通り起動する.

# /usr/local/sbin/zebra &
# /usr/local/sbin/ripngd &

次の例のように経路情報を受信できていれば,ルータとして動作する.

Kernel IPv6 routing table
Destination                                 Next Hop                            
    Flags Metric Ref    Use Iface
::1/128                                     ::0                                 
    U     0      1        0 lo      
3ffe:500::1/128                             fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501::1/128                             fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:401::0/64                        fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:c01::0/64                        fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:1400::0/56                       fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:1801::0/64                       fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:1802::0/64                       fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:1c01::0/64                       fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:0:2001::0/64                       fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:407:1:200:f8ff:fe05:4702/128       fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        0 eth0    
3ffe:501:400::0/40                          fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:800::1/128                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        0 eth0    
3ffe:501:800::0/64                          fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:808:1::0/64                        fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:80a::1/128                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        0 eth0    
3ffe:501:80a::0/64                          fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:811::0/48                          fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:c00::0/40                          fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:1000:1000::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        0 eth0    
3ffe:501:1000::0/48                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c::0/64                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:100::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:200::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:300::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:400::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:500::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:600::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:700::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:f00::0/64                     fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:1000::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:2000::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:3281::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:4281::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:43b0::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100c:5310:280:c6ff:fe03:28aa/128   ::0                                 
    U     0      1        0 lo      
3ffe:501:100c:f000::0/64                    fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:100f::0/64                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:1011::0/48                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:1000::0/40                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        1 eth0    
3ffe:501:1400::0/64                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        0 eth0    
3ffe:501:1400::0/48                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:1413::0/48                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:1c00::0/40                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:501:2000::0/40                         fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:503::0/32                              fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:505::0/32                              fe80::2a0:24ff:fe48:7a3c            
    UG    1      2        0 eth0    
3ffe:500::0/24                              fe80::2a0:24ff:fe48:7a3c            
    UG    1      1        0 eth0    
fe80::280:c6ff:fe03:28aa/128                ::0                                 
    U     0      1        0 lo      
fe80::0/10                                  ::0                                 
    UA    256    2        0 eth0    
ff02::9/128                                 ff02::9                             
    UAC   256    1        0 eth0    
ff02::1:ff03:28aa/128                       ff02::1:ff03:28aa                   
    UAC   256    2        0 eth0    
ff00::0/8                                   ::0                                 
    UA    256    1        0 eth0    
::0/0                                       fe80::2a0:24ff:fe48:7a3c            
    UGDA  1024   1        0 eth0    



Yuji SEKIYA
$Id: node12.html,v 1.3 1998/09/02 04:40:01 sekiya Exp $