이 프로그램은 소스가 오픈되어 있고 RIP, OSPF, BGP등의 라우팅 프로토콜을 지원하기 위한 프로그램이다. 이 프로그램을 설치하면 RIP와 같은 라우팅 프로토콜을 테스트할 수가 있다.
Zebra의 설치
먼저 zebra의 소스를 다운로드 받는다. 최신 버전인 0.95a버전을 받는다.
[yarang@wuc204 zebra-0.95a]$ ./configure
-------------------
zebra version : 0.95a
host operationg system : linux-gnu
source code location : .
compiler : gcc
compiler flags : -g -O2 -Wall
link libraries : -lm -lcrypt
directory for pid files : /var/run
[yarang@wuc204 zebra-0.95a]$
Making install in lib
make[1]: Entering directory `/home/root/zebra-0.95a/lib'
make[2]: Entering directory `/home/root/zebra-0.95a/lib'
make[2]: `install-exec-am'를 위해 할 일이 없습니다
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/lib'
make[1]: Leaving directory `/home/root/zebra-0.95a/lib'
Making install in zebra
make[1]: Entering directory `/home/root/zebra-0.95a/zebra'
make[2]: Entering directory `/home/root/zebra-0.95a/zebra'
/bin/sh ../mkinstalldirs /usr/local/sbin
/usr/bin/install -c zebra /usr/local/sbin/zebra
/bin/sh ../mkinstalldirs /usr/local/etc
/usr/bin/install -c -m 600 ./zebra.conf.sample /usr/local/etc/zebra.conf.sample
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/zebra'
make[1]: Leaving directory `/home/root/zebra-0.95a/zebra'
Making install in bgpd
make[1]: Entering directory `/home/root/zebra-0.95a/bgpd'
make[2]: Entering directory `/home/root/zebra-0.95a/bgpd'
/bin/sh ../mkinstalldirs /usr/local/sbin
/usr/bin/install -c bgpd /usr/local/sbin/bgpd
/bin/sh ../mkinstalldirs /usr/local/etc
/usr/bin/install -c -m 600 ./bgpd.conf.sample /usr/local/etc/bgpd.conf.sample
/usr/bin/install -c -m 600 ./bgpd.conf.sample2 /usr/local/etc/bgpd.conf.sample2
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/bgpd'
make[1]: Leaving directory `/home/root/zebra-0.95a/bgpd'
Making install in ripd
make[1]: Entering directory `/home/root/zebra-0.95a/ripd'
make[2]: Entering directory `/home/root/zebra-0.95a/ripd'
/bin/sh ../mkinstalldirs /usr/local/sbin
/usr/bin/install -c ripd /usr/local/sbin/ripd
/bin/sh ../mkinstalldirs /usr/local/etc
/usr/bin/install -c -m 600 ./ripd.conf.sample /usr/local/etc/ripd.conf.sample
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/ripd'
make[1]: Leaving directory `/home/root/zebra-0.95a/ripd'
Making install in ripngd
make[1]: Entering directory `/home/root/zebra-0.95a/ripngd'
make[2]: Entering directory `/home/root/zebra-0.95a/ripngd'
/bin/sh ../mkinstalldirs /usr/local/sbin
/usr/bin/install -c ripngd /usr/local/sbin/ripngd
/bin/sh ../mkinstalldirs /usr/local/etc
/usr/bin/install -c -m 600 ./ripngd.conf.sample /usr/local/etc/ripngd.conf.sample
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/ripngd'
make[1]: Leaving directory `/home/root/zebra-0.95a/ripngd'
Making install in ospfd
make[1]: Entering directory `/home/root/zebra-0.95a/ospfd'
make[2]: Entering directory `/home/root/zebra-0.95a/ospfd'
/bin/sh ../mkinstalldirs /usr/local/sbin
/usr/bin/install -c ospfd /usr/local/sbin/ospfd
/bin/sh ../mkinstalldirs /usr/local/etc
/usr/bin/install -c -m 600 ./ospfd.conf.sample /usr/local/etc/ospfd.conf.sample
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/ospfd'
make[1]: Leaving directory `/home/root/zebra-0.95a/ospfd'
Making install in ospf6d
make[1]: Entering directory `/home/root/zebra-0.95a/ospf6d'
make[2]: Entering directory `/home/root/zebra-0.95a/ospf6d'
/bin/sh ../mkinstalldirs /usr/local/sbin
/usr/bin/install -c ospf6d /usr/local/sbin/ospf6d
/bin/sh ../mkinstalldirs /usr/local/etc
/usr/bin/install -c -m 600 ./ospf6d.conf.sample /usr/local/etc/ospf6d.conf.sample
make[2]: `install-data-am'를 위해 할 일이 없습니다
make[2]: Leaving directory `/home/root/zebra-0.95a/ospf6d'
make[1]: Leaving directory `/home/root/zebra-0.95a/ospf6d'
Making install in doc
make[1]: Entering directory `/home/root/zebra-0.95a/doc'
make[2]: Entering directory `/home/root/zebra-0.95a/doc'
make[2]: `install-exec-am'를 위해 할 일이 없습니다
/bin/sh ../mkinstalldirs /usr/local/info
mkdir -p -- /usr/local/info
/usr/bin/install -c -m 644 ./zebra.info /usr/local/info/zebra.info
install-info --info-dir=/usr/local/info /usr/local/info/zebra.info
/bin/sh ../mkinstalldirs /usr/local/man/man1
mkdir -p -- /usr/local/man/man1
/usr/bin/install -c -m 644 ./vtysh.1 /usr/local/man/man1/vtysh.1
/bin/sh ../mkinstalldirs /usr/local/man/man8
mkdir -p -- /usr/local/man/man8
/usr/bin/install -c -m 644 ./bgpd.8 /usr/local/man/man8/bgpd.8
/usr/bin/install -c -m 644 ./ospf6d.8 /usr/local/man/man8/ospf6d.8
/usr/bin/install -c -m 644 ./ospfd.8 /usr/local/man/man8/ospfd.8
/usr/bin/install -c -m 644 ./ripd.8 /usr/local/man/man8/ripd.8
/usr/bin/install -c -m 644 ./ripngd.8 /usr/local/man/man8/ripngd.8
/usr/bin/install -c -m 644 ./zebra.8 /usr/local/man/man8/zebra.8
make[2]: Leaving directory `/home/root/zebra-0.95a/doc'
make[1]: Leaving directory `/home/root/zebra-0.95a/doc'
make[1]: Entering directory `/home/root/zebra-0.95a'
make[2]: Entering directory `/home/root/zebra-0.95a'
make[2]: `install-exec-am'를 위해 할이 없습니다.
make[2]: `install-data-am'를 위해 할이 없습니다.
make[2]: Leaving directory `/home/root/zebra-0.95a'
make[1]: Leaving directory `/home/root/zebra-0.95a'
위와 같이 설치가 된다. 위에서 색이 다르게 표시된 줄은 실제 수행되는 명령에 대한 것이다.
설치되는 파일은 다음과 같다.
> /usr/local/sbin/ripngd
> /usr/local/sbin/ospfd
> /usr/local/sbin/zebra
> /usr/local/sbin/bgpd
> /usr/local/sbin/ripd
> /usr/local/etc/ripngd.conf.sample
> /usr/local/etc/zebra.conf.sample
> /usr/local/etc/bgpd.conf.sample
> /usr/local/etc/ripd.conf.sample
> /usr/local/etc/ospf6d.conf.sample
> /usr/local/etc/bgpd.conf.sample2
> /usr/local/etc/ospfd.conf.sample
> /usr/local/man
> /usr/local/man/man1
> /usr/local/man/man1/vtysh.1
> /usr/local/man/man8
> /usr/local/man/man8/ospfd.8
> /usr/local/man/man8/ripngd.8
> /usr/local/man/man8/zebra.8
> /usr/local/man/man8/ripd.8
> /usr/local/man/man8/ospf6d.8
> /usr/local/man/man8/bgpd.8
> /usr/local/info
> /usr/local/info/zebra.info
> /usr/local/info/dir



comments
comments rss (+댓글 쓰러가기)