Quagga kasutamine Debianiga
Allikas: Kuutõrvaja
Sissejuhatus
Quagga http://www.quagga.net/ on mitmetel levinud operatsioonisüsteemidel töötav ruutingutarkvara.
Paigaldamine
# apt-get install quagga
Skeem
Olgu tegu kahe lokatsiooni vahelise ühenduse pidamisega
___ | | ___
| |------ 192.168.15.253 192.168.15.254 ------| |
|___| | ____ eth1 eth1 ____ | |___|
| | |------ 1 Gbit/s -----| | |
192.168.17.17 --------| | | |--------- 192.168.14.14
___ | eth0 | | | | eth0 | ___
| |------ |____|------ 10 Mbit/s -----|____| ------| |
|___| | eth2 eth2 | |___|
| 192.168.16.253 192.168.16.254 |
| |
Harukontor Peakontor
Seadistusfailid
Peakontor
hostname ospfd password zebra log stdout ! interface eth1 ! interface eth2 ! router ospf ospf router-id 10.0.14.1 redistribute connected network 192.168.15.0/24 area 0.0.0.0 network 192.168.16.0/24 area 0.0.0.0 ! line vty
Harukontor
hostname ospfd password zebra log stdout ! interface eth1 ! interface eth2 ! router ospf ospf router-id 10.0.17.1 redistribute connected network 192.168.15.0/24 area 0.0.0.0 network 192.168.16.0/24 area 0.0.0.0 ! line vty
Kasutamine
# export VTYSH_PAGER=cat # vtysh Hello, this is Quagga (version 0.99.10). Copyright 1996-2005 Kunihiro Ishiguro, et al. quagga-router#
Muudatuste salvestamine
# write Building Configuration... Configuration saved to /etc/quagga/zebra.conf Configuration saved to /etc/quagga/ospfd.conf [OK]