Yarang's Home

GNU ZEBRA

2006/03/02 12:36

오픈 소스 라우팅 프로토콜 프로그램이다.

이 프로그램은 소스가 오픈되어 있고 RIP, OSPF, BGP등의 라우팅 프로토콜을 지원하기 위한 프로그램이다. 이 프로그램을 설치하면 RIP와 같은 라우팅 프로토콜을 테스트할 수가 있다.

Zebra의 설치
먼저 zebra의 소스를 다운로드 받는다. 최신 버전인 0.95a버전을 받는다.
[yarang@wuc204 ~]$ wget ftp://ftp.zebra.org/pub/zebra/zebra-0.95a.tar.gz
wget 명령은 URL로 파일을 다운로드받을 수가 있도록 해주는 명령이다. 위의 주소에 있는 zebra소스를 그대로 다운로드받을 수가 있다.

[yarang@wuc204 ~]$ tar zxfv zebra-0.95a.tar.gz
다운로드받은 소스 파일의 압축을 푼다.

[yarang@wuc204 ~]$ cd zebra-0.95a
[yarang@wuc204 zebra-0.95a]$ ./configure
압축이 풀린 소스 디렉토리로 이동한 다음 ./configure 명령으로 Makefile을 생성한다.

zebra configuration
-------------------
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]$
위의 설정 화면이 나오면 zebra의 설정은 끝난거다. make 명령으로 컴파일을 실행하면 된다.

[yarang@wuc204 zebra-0.95a]$ make install
컴파일이 모두 끝난 다음에는 install 명령으로 설치하면 된다. 소스 컴파일의 경우 기본 설치 디렉토리는 /usr/local/ 이 된다.  그래서 실행파일은 /usr/local/sbin/에 있게 된다.

[root@wuc207 zebra-0.95a]# make install
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/ospf6d
> /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


PageRank
이올린에 북마크하기(0) 이올린에 추천하기(0)
2006/03/02 12:36 2006/03/02 12:36

trackbacks

trackbacks rss

http://main.yarang.com/trackback/8

  1. Dream levitra online pharmaceutical

    Tracked from "Dream levitra online pharmaceutical" 2009/10/30 21:27 D

    Drug interactions for prozac <a href="http://blogcastrepository.com/members/Drug-interactions-for-prozac.aspx">Drug interactions for prozac</a> Buy prilosec international pharmacy <a href="http://blogcastrepository.com/members/Buy-prilosec-internationa...

  2. Wellbutrin adderall and provigil

    Tracked from "Wellbutrin adderall and provigil" 2009/10/30 22:30 D

    Dream levitra online pharmaceutical <a href="http://blogcastrepository.com/members/Dream-levitra-online-pharmaceutical.aspx">Dream levitra online pharmaceutical</a> Good side effects to prednisone tablets <a href="http://blogcastrepository.com/members/...

  3. Propecia hairline

    Tracked from "Propecia hairline" 2009/10/30 22:31 D

    Dream levitra online pharmaceutical <a href="http://blogcastrepository.com/members/Dream-levitra-online-pharmaceutical.aspx">Dream levitra online pharmaceutical</a> Good side effects to prednisone tablets <a href="http://blogcastrepository.com/members/...

  4. Singulair luketron inhibitor

    Tracked from "Singulair luketron inhibitor" 2009/10/30 23:06 D

    Wellbutrin adderall and provigil <a href="http://blogcastrepository.com/members/Wellbutrin-adderall-and-provigil.aspx">Wellbutrin adderall and provigil</a> Propecia hairline <a href="http://blogcastrepository.com/members/Propecia-hairline.aspx">Propeci...

  5. Plavix and tpa

    Tracked from "Plavix and tpa" 2009/10/31 00:04 D

    Singulair luketron inhibitor <a href="http://blogcastrepository.com/members/Singulair-luketron-inhibitor.aspx">Singulair luketron inhibitor</a> Anabolic steroids zyrtec synthroid pravachol aciph <a href="http://blogcastrepository.com/members/Anabolic-s...

  6. Zithromax storage

    Tracked from "Zithromax storage" 2009/10/31 01:02 D

    Buy followup post viagra <a href="http://blogcastrepository.com/members/Buy-followup-post-viagra.aspx">Buy followup post viagra</a> Plavix and tpa <a href="http://blogcastrepository.com/members/Plavix-and-tpa.aspx">Plavix and tpa</a>

  7. Sideffects of premarin

    Tracked from "Sideffects of premarin" 2009/10/31 01:59 D

    Augmentin a antibiotic <a href="http://blogcastrepository.com/members/Augmentin-a-antibiotic.aspx">Augmentin a antibiotic</a>

  8. Cipro for lgv

    Tracked from "Cipro for lgv" 2009/10/31 03:57 D

    Zithromax storage <a href="http://blogcastrepository.com/members/Zithromax-storage.aspx">Zithromax storage</a> Glucophage sr <a href="http://blogcastrepository.com/members/Glucophage-sr.aspx">Glucophage sr</a>

  9. Renova versus retin a

    Tracked from "Renova versus retin a" 2009/10/31 05:24 D

    How to wean off effexor comfortably <a href="http://blogcastrepository.com/members/How-to-wean-off-effexor-comfortably.aspx">How to wean off effexor comfortably</a> Sideffects of premarin <a href="http://blogcastrepository.com/members/Sideffects-of-pre...

  10. Levitra cialis for women

    Tracked from "Levitra cialis for women" 2009/10/31 06:01 D

    Levaquin tendinopathy <a href="http://blogcastrepository.com/members/Levaquin-tendinopathy.aspx">Levaquin tendinopathy</a> Brook sheilds on paxil <a href="http://blogcastrepository.com/members/Brook-sheilds-on-paxil.aspx">Brook sheilds on paxil</a>

  11. cheap databases nature

    Tracked from "cheap databases" 2009/12/02 20:16 D

    [...] "We will offer a unilateral cease-fire to mark the new year. Offer,laugh Air freight was paralyzed, it said. Offer,laugh [...]

  12. zbsbtphg

    Tracked from "zbsbtphg" 2009/12/13 05:01 D

    zbsbtphg

  13. Redman – Malpractice (2001) (320kbps)

    Tracked from "Redman – Malpractice (2001) (320kbps)" 2009/12/15 20:37 D

    Geargrinder (pc/2009) Multi 5 Full <a href="http://rspost.blogetery.com/games/geargrinder-pc2009-multi-5-full.html">Geargrinder (pc/2009) Multi 5 Full</a>

Leave a Comment

[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다