1 / 11

GNU Zebra

GNU Zebra. www.zebra.org Free software that runs routing protocols Supports RIP v1/v2, OSPF, BGP Configuration syntax is like cisco Linux or *BSD. Zebra by daemons. Zebra – the main program, interface config, static routing, communication with kernel routing tables Ospfd – ospf specific

lydie
Download Presentation

GNU Zebra

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GNU Zebra • www.zebra.org • Free software that runs routing protocols • Supports RIP v1/v2, OSPF, BGP • Configuration syntax is like cisco • Linux or *BSD

  2. Zebra by daemons • Zebra – the main program, interface config, static routing, communication with kernel routing tables • Ospfd – ospf specific • Bgpd – bgp specific • Config is specific to demon

  3. “Console” communication with each zebra process is via telnet localhost <port#>, with a separate port # for each process. There’s a default port, but you can set the port on command line. Commands are cisco-style, but only the commands pertinent to that process work. ie "show ip route" will work when telnetted to zebra, but not work when telnetted to bgpd. Likewise, "show ip bgp" will not work for the zebra process, but will for bgpd.

  4. running Installed in ITL lab. binaries in /usr/local/sbin. The configs are in /usr/local/etc Example started with "zebra -P 5554" and "bgpd -P 5555"

  5. telnet localhost 5554 (to connect to zebra) telnet localhost 5555 (to connect to bgpd) Vty password must be set and enable password may be set

  6. hostname Router password zebra enable password zebra interface lo interface eth0 interface eth1 ip route 222.222.222.0/24 Null0 line vty end

  7. hostname zebrabgpd password zebra log stdout router bgp 65000 network 222.222.222.0/24 neighbor 172.21.110.5 remote-as 500 line vty end

  8. zebrabgpd# sh ip bgp summary BGP router identifier 192.168.10.63, local AS number 65000 3 BGP AS-PATH entries 0 BGP community entries Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 172.21.110.5 4 500 1073 1068 0 0 0 16:26:45 10 Total number of neighbors 1

  9. zebrabgpd# sh ip bgp BGP table version is 0, local router ID is 192.168.10.63 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.5.0.0/16 172.21.110.5 0 0 500 i *> 172.21.0.0 172.21.110.5 0 0 500 ? *> 172.22.0.0 172.21.110.5 0 0 500 ? *> 172.23.0.0 172.21.110.5 0 0 500 ?

  10. (continued) *> 172.25.0.0/23 172.21.110.5 0 500 25 i *> 172.26.0.0/23 172.21.110.5 0 500 25 i *> 192.168.10.0 172.21.110.5 0 0 500 ? *> 192.168.20.0 172.21.110.5 0 0 500 ? *> 192.168.80.0 172.21.110.5 0 0 500 i *> 192.168.90.0 172.21.110.5 0 0 500 i *> 222.222.222.0 0.0.0.0 0 32768 i

  11. WARNING • A zebra is not = to a horse!!! • Zebras have never been domesticated, anywhere in the world • I(zebra) > I(tiger) Zookeeper injuries from zebras exceed zookeeper injuries from tigers. (from Guns, Germs, and Steel by Diamond)

More Related