First, install Zebra
Configuring RIP with Quagga Routing Suite in Fedora
1.downloadquagga quagga-0.99.16.tar.gz
2. unzip the #tar zxvfquagga-0.99.16.tar.gz
3. configuration #
CD quagga-0.99.16 #
./configure--prefix=/usr/local/zebra--enable-vtysh--enable-user=root--enable-group=root--enable-vty-group=root
in the Run ./configure will appear after quagga Configuration
--------------------
quaggaversion:0.99.16
Hostoperating System:linux-gnu
SourceCode location:.
compiler:gcc
Compilerflags:-os-fno-omit-frame-pointer-g-std=gnu99-wall-wsign-compare-wpointer-arith-wbad-function-cast-w Write-strings-wmissing-prototypes-wmissing-declarations-wchar-subscripts-wcast-qual
Make:make
Includes:
Linkerflags:-LCRYPT-LRT-LCAP-LTERMCAP-LREADLINE-LM
Statefile Directory:/var/run
ConfigFile Directory:/home/kevinjzw/quagga/etc
Exampledirectory:/home/kevinjzw/quagga/etc
User Torun AS:KEVINJZW
Group Torun AS:KEVINJZW
Group Forvty SOCKETS:KEVINJZW
ConfigFile mask:0600
Log filemask:0600
4. compiling
#make
5. installation
#makeinstall
6. Edit Profile changes will be *.conf. Sample file generation *.conf file
#cd/home/kevinjzw/quagga/etc
# ls
Bgpd.conf.sample isisd.conf.sample ripd.conf.sample zebra.conf.sample bgpd.conf.sample2 ospfd.conf.sample Vtysh.con F.sample
# MV Bgpd.conf.sample bgpd.conf
# cpisisd.conf.sample Isisd.conf
other similar ... (MV/CP all Can)
put Zebra under the bin and the Sbin Join $ PATH /root/.bash_profile
Path= $PATH:/usr/local/zebra/bin/:/usr/local/zebra/sbin/
7. running zebra processes and routing processes
zebra-d
Ospfd-d
Bgpd-d
8 , using the script brush configuration
edit broad-based document B JLT
Config terminal
Router BGP 56009
NETWORK122.115.57.3/32 Route-map BGP_OUT1
NETWORK218.245.2.76/32 Route-map BGP_OUT1
End
wr
Quit
Vtysh < BJLT
This article is from the "LIHONGWEIBJ" blog, make sure to keep this source http://lihongweibj.blog.51cto.com/6235038/1660209
Soft routing under Linux Zebra installation uses