Community discussions

MikroTik App
 
fahad87
just joined
Topic Author
Posts: 1
Joined: Wed Sep 26, 2018 9:37 am

How to create sub-interfaces,run multi process OSPF, redistribution via route-map????

Wed Sep 26, 2018 9:48 am

Dear Users,

I need to know how to perform these tasks on mikrotik router CCR-1036.

Create sub-interfaces and encapsulate via dot-1q
run multiple ospf processes
redistribute a public pool in ospf processes via route-map.

I am giving the equivalent configuration of cisco below.

interface GigabitEthernet0/1
ip address 121.52.*****
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
!

!
interface GigabitEthernet0/2.20
encapsulation dot1Q 20
ip address 172.31.******* 255.255.255.252
!

!
interface GigabitEthernet0/2.40
encapsulation dot1Q 40
ip address 10.31.***** 255.255.255.252
!
router ospf 2
redistribute connected subnets metric 40 route-map ospf-default
network 172.31***** 0.0.0.3 area 0
!
!
router ospf 4
redistribute connected subnets route-map ospf-default
network 10.31***** 0.0.0.3 area 0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
access-list 10 permit 121.52***** 0.0.0.15
!
nls resp-timeout 1
cpd cr-id 1
route-map ospf-default permit 10
match ip address 10
set metric-type type-2
!
 
joegoldman
Forum Veteran
Forum Veteran
Posts: 767
Joined: Mon May 27, 2013 2:05 am

Re: How to create sub-interfaces,run multi process OSPF, redistribution via route-map????

Wed Sep 26, 2018 12:52 pm

https://wiki.mikrotik.com/wiki/Manual:TOC

Get reading.

All you are asking for is definitely possible, albeit with different terminology.

Familiarise yourself with Winbox, and a lot of stuff will become clear, like creating a new VLAN interface, setting the tag and applying it to certain interface.

Also OSPF can create multiple instances.

Routemaps will be hardest to learn as the design philosophy is a bit different. You'd be using Routing Filters, which work the same in RouterOS for both OSPF and BGP. If you are familiar with route filters in IOS for BGP, then you should be able to find your way around RouterOS Route Filters.

Who is online

Users browsing this forum: No registered users and 63 guests