-
-
Save electropolis/c906a61d923f3054dd82a52b44ad7f80 to your computer and use it in GitHub Desktop.
OSPF Quagga Mikrotik
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/interface ipip | |
add !keepalive local-address=10.5.0.120 name=mt-pritunl-01 remote-address=10.6.0.70 | |
/ip address | |
add address=10.254.254.254 comment="OSPF broadcaast" interface=loopback network=10.254.254.254 | |
add address=172.16.18.1/30 interface=mt-pritunl-gre-01 network=172.16.18.0 | |
/routing ospf instance | |
set [ find default=yes ] redistribute-bgp=as-type-1 router-id=10.254.254.254 | |
/routing ospf interface | |
add interface=loopback network-type=broadcast priority=254 | |
/routing ospf network | |
add area=backbone comment="OSPF RouterID" network=10.254.254.254/32 | |
add area=backbone network=172.16.18.0/30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### OSPF ### | |
! | |
! Zebra configuration saved from vty | |
! 2019/06/22 12:03:26 | |
! | |
hostname srv-vpn-01 | |
log file /var/log/quagga/ospfd.log | |
! | |
debug ospf event | |
! | |
! | |
interface br0 | |
ip ospf authentication-key null | |
ip ospf priority 250 | |
! | |
interface eth0 | |
! | |
interface eth1 | |
! | |
interface lo | |
! | |
interface pritunl-mt-01 | |
! | |
interface tunl0 | |
! | |
router ospf | |
ospf router-id 10.254.254.250 | |
network 10.254.254.250/32 area 0.0.0.0 | |
network 172.16.3.0/24 area 0.0.0.0 | |
network 172.16.18.0/30 area 0.0.0.0 | |
! | |
line vty | |
no login | |
! | |
### Zebra ### | |
! -*- zebra -*- | |
! | |
! zebra sample configuration file | |
! | |
! $Id: zebra.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $ | |
! | |
hostname srv-vpn-01 | |
password zebra | |
enable password zebra | |
! | |
! Interface's description. | |
! | |
interface br0 | |
ip forwarding | |
line vty | |
! | |
!interface sit0 | |
! multicast | |
! | |
! Static default route sample. | |
! | |
!ip route 0.0.0.0/0 203.181.89.241 | |
! | |
!log file zebra.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### show ip ospf interface | |
br0 is up | |
ifindex 7, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST> | |
Internet Address 10.254.254.250/32, Area 0.0.0.0 | |
MTU mismatch detection:enabled | |
Router ID 10.254.254.250, Network Type BROADCAST, Cost: 10 | |
Transmit Delay is 1 sec, State DR, Priority 250 | |
Designated Router (ID) 10.254.254.250, Interface Address 10.254.254.250 | |
No backup designated router on this network | |
Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters | |
Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 | |
Hello due in 1.315s | |
Neighbor Count is 0, Adjacent neighbor count is 0 | |
eth0 is up | |
ifindex 2, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST> | |
OSPF not enabled on this interface | |
eth1 is up | |
ifindex 3, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST> | |
OSPF not enabled on this interface | |
gre0 is down | |
ifindex 9, MTU 1476 bytes, BW 0 Kbit <NOARP> | |
OSPF not enabled on this interface | |
gretap0 is down | |
ifindex 10, MTU 1462 bytes, BW 0 Kbit <BROADCAST,MULTICAST> | |
OSPF not enabled on this interface | |
lo is up | |
ifindex 1, MTU 65536 bytes, BW 0 Kbit <UP,LOOPBACK,RUNNING> | |
OSPF not enabled on this interface | |
pritunl-mt-01 is up | |
ifindex 12, MTU 1476 bytes, BW 0 Kbit <UP,POINTOPOINT,RUNNING,NOARP> | |
Internet Address 172.16.18.2/30, Broadcast 172.16.18.3, Area 0.0.0.0 | |
MTU mismatch detection:enabled | |
Router ID 10.254.254.250, 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 1.315s | |
Neighbor Count is 1, Adjacent neighbor count is 0 | |
tunl0 is down | |
ifindex 4, MTU 1480 bytes, BW 0 Kbit <NOARP> | |
OSPF not enabled on this interface | |
### show ip ospf neighbor | |
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL | |
10.254.254.254 1 Init/DROther 35.445s 172.16.18.1 pritunl-mt-01:172.16.18.2 0 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment