D
D
Dima Petrov2017-09-07 15:38:13
linux
Dima Petrov, 2017-09-07 15:38:13

How to configure bird ospf?

Druste, help I can't set up ospf on bird4. (don't beat me hard, I only know the ospf protocol for a couple of days) I'm
setting up a test bench.
Given:
network 10.5.0.0/22
​​three machines, two have quagga, one has bird4.
two quaggs see each other, but the bird does not see anyone and is not visible.
iptables is clean.
configs:
quagga /etc/quagga/ospfd.conf

!
! Zebra configuration saved from vty
!   2017/09/05 11:13:37
!
hostname ospfd
password zebra
log stdout
log file /var/log/quagga/ospfd.log
!
!
!
interface enp0s3
ip ospf hello-interval 1
!
interface lo
!
interface tap0
!
router ospf
 ospf router-id 10.5.0.2
 network 10.5.0.0/22 area 0.0.0.0
 neighbor 10.5.0.3
!
line vty
!

[[email protected] quagga]# cat /etc/quagga/zebra.conf 
!
! Zebra configuration saved from vty
!   2017/09/05 11:13:37
!
hostname Router
password zebra
enable password zebra
log file /var/log/quagga/quagga.log
!
interface enp0s3
 description LAN
 ip address 172.17.1.79/24
 ipv6 nd suppress-ra
!
interface lo
 description loopback
 ip address 127.0.0.1/8
!
interface tap0 
 description VPN
 ip address 10.5.0.2/22
 ipv6 nd suppress-ra
!
ip forwarding
!
!
interface enp0s3
 ip route 0.0.0.0/0 172.17.1.1
!
line vty
!

[email protected]:~# cat /etc/bird4.conf
log syslog all;
router id 10.5.0.4;

protocol kernel {
        export all;
        scan time 15;
};

protocol ospf  test {
        import all;
        export all;
  
        area 0.0.0.0 {
  networks {
    10.5.0.0/22;	
    };
                interface "tap0" {
                        cost 1;
                        hello 5;
                        priority 100;
                        dead 10;
      type bcast;
                        authentication none;
                        #password "zebra";
                };
         };
};

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Alexander Karabanov, 2017-09-07
@sajor2006

You need to make sure that the timers hello, dead, etc. match.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question