quaggaインストール | ぼぶろぐ

ぼぶろぐ

以前は、あいらぶLinux♪というタイトルでしたが、
最近はLinux以外のことも書いているので、タイトルを変更しました。
ぼぶちゃんのぶろぐでぼぶろぐです。

◆quaggaインストール
ルーティング処理を行うquaggaをインストールしてみました

[root@localhost ~]# yum install -y quagga
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.riken.jp
* updates: ftp.riken.jp
fedora | 2.8 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.8 MB 00:20
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package quagga.i386 0:0.99.12-1.fc10 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================
Package Arch Version Repository Size
=========================================================================================
Installing:
quagga i386 0.99.12-1.fc10 updates 1.2 M

Transaction Summary
=========================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 1.2 M
Downloading Packages:
quagga-0.99.12-1.fc10.i386.rpm | 1.2 MB 00:06
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : quagga-0.99.12-1.fc10.i386 1/1

Installed:
quagga.i386 0:0.99.12-1.fc10

Complete!
[root@localhost ~]# cp -p /etc/quagga/zebra.conf /etc/quagga/zebra.conf.org
[root@localhost ~]# vi /etc/quagga/zebra.conf

変更箇所
[root@localhost ~]# diff /etc/quagga/zebra.conf /etc/quagga/zebra.conf.org
2d1
< password xxxxxxxx

[root@localhost ~]# zebra -d
[root@localhost ~]# ps -ef |grep zebra
quagga 4960 1 0 22:02 ? 00:00:00 zebra -d
root 4962 4865 0 22:02 pts/0 00:00:00 grep zebra
[root@localhost ~]# telnet 192.168.11.100 2601  ←LinuxのIPにtelnetで接続
Trying 192.168.11.100...
Connected to 192.168.11.100.
Escape character is '^]'.

Hello, this is Quagga (version 0.99.12).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
localhost.localdomain> en
localhost.localdomain# sh run

Current configuration:
!
hostname localhost.localdomain
password xxxxxxxx
!
interface eth0
ipv6 nd suppress-ra
!
interface lo
!
!
!
line vty
!
end
localhost.localdomain# exit
Connection closed by foreign host.
[root@localhost ~]# chkconfig zebra on
[root@localhost ~]# chkconfig --list zebra
zebra 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost ~]#


show runとか実行してみましたが、ほとんどcisco機器ですね。
ripやospfとかも設定できるみたいですので、今度やってみます。