After having some interviews where I’ve been asked about routing on linux solutions, I’ve decided to playaround with Quagga. As always, you can find all the info already on the internet. And in my case Brian Kletter had all the necessary info to setup the environment. Here’s the link on how to setup a linux server with quagga software. And here the initial setup for quagga.

For this lab I’ve decided to get familiar with the syntax first and capabilities and then to test a quick ospf scenario.

After setting it up it looks like this:

quagga# sh ip ospf interface ens3
ens3 is up
  ifindex 2, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST>
  Internet Address, Broadcast, Area
  MTU mismatch detection:enabled
  Router ID, Network Type POINTOPOINT, Cost: 10
  Transmit Delay is 1 sec, State Point-To-Point, Priority 1
  No designated router on this network
  No backup designated router on this network
  Multicast group memberships: OSPFAllRouters
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    Hello due in 5.011s
  Neighbor Count is 1, Adjacent neighbor count is 1
quagga# sh ip ospf nei

    Neighbor ID Pri State           Dead Time Address         Interface
   RXmtL RqstL DBsmL           1 Full/DROther      37.318s     ens3:
       0     0     0
quagga# sh ip ro
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel,
       > - selected route, * - FIB route

O>* [110/11] via, ens3, 00:07:28
O>* [110/20] via, ens3, 00:07:28
C>* is directly connected, lo
O [110/10] is directly connected, ens3, 00:23:44
C>* is directly connected, ens3
C>* is directly connected, lo
O>* [110/10] is directly connected, lo, 00:01:19
R3#sh ip ro ospf
... is subnetted, 1 subnets
O IA [110/20] via, 00:00:42, Ethernet0/0

Also, a really good tutorial can be found here. As a final note I think that this is not that hard to configure if you have some basic unix knowledge, and I’m pleasantly surprised to see that ctrl+z has the same behaviour like on Cisco devices and it doesn’t stops the vtysh process, like a normal shell would do :)

Today is Romania’s National Day, so happy aniversary to all my Romanian folks wherever they may be now.