Community discussions

MikroTik App
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

OSPF - Bridged Interface

Sat Feb 23, 2013 12:09 am

Hi all,

I've inherited a network made up of Mikrotik routers of various models, approx 20. The network design is made up of a number of /24's with ALL routers having an IP on one or more of the /24's. All routes are Static. My goal is to redesign the network so that I have /30's between my hops and a Routing Protocol in place. So to aid me I want to build a new "routed" network over the top and slowly dismantle the current /24 static network. So can you clear up a few questions I have? It's my understanding that OSPF requires the same MTU on both facing interfaces. Also, I'm looking at one router (RT2) that actually bridges all interfaces traffic. I've got OSPF set up on this (RT2) and the edge router (RT1). I see the neighbor from the edge (RT1), but not the edge (RT1) as a neighbor on RT2. Could use some assistance.

Thanks so much...

Router 1
[admin@RT1] > /routing ospf instance print                       
Flags: X - disabled 
 0   name="default" router-id=10.255.255.1 distribute-default=never redistribute-connected=no 
     redistribute-static=no redistribute-rip=no redistribute-bgp=no redistribute-other-ospf=no 
     metric-default=1 metric-connected=20 metric-static=20 metric-rip=20 metric-bgp=auto 
     metric-other-ospf=auto in-filter=ospf-in out-filter=ospf-out 
[admin@RT1] > /routing ospf interface print
Flags: X - disabled, I - inactive, D - dynamic, P - passive 
 #    INTERFACE                      COST PRIORITY NETWORK-TYPE   AUTHENTICATION AUTHENTICATION-KEY
 0 D  ether2 Local                     10        1 broadcast      none 
[admin@RT1] > /routing ospf neighbor print 
 0 instance=default router-id=10.255.255.2 address=10.9.0.2 interface=ether2 Local priority=1 
   dr-address=10.9.0.2 backup-dr-address=0.0.0.0 state="Init" state-changes=1 ls-retransmits=0 
   ls-requests=0 db-summaries=0 
[admin@RT1] > /interface print
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                                 TYPE               MTU L2MTU  MAX-L2MTU
 0  X  vlan1                                                vlan              1500
 1  X  vlan59                                               vlan              1500
 2  R  VLAN to CS 557                                       vlan              1500  1594
 3  R  VLAN to CS 558                                       vlan              1500  1594
 4  R  VLAN to CS 556                                       vlan              1500  1594
 5     ether10                                              ether             1500  1600       9116
 6     ether9                                               ether             1500  1600       9116
 7     ether7                                               ether             1500  1600       4080
 8     ether8                                               ether             1500  1600       4080
 9     ether6                                               ether             1500  1600       4080
10     ether5                                               ether             1500  1598       4078
11     ether4                                               ether             1500  1598       4078
12     ether3                                               ether             1500  1598       4078
13  R  ether2 Local                                         ether             1500  1500       4078
14  R  ether1 Public                                        ether             1500  1598       4078
15  R  loopback                                             bridge            1500 65535

[admin@RT1] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE 
28   10.9.0.1/30        10.9.0.0        ether2 Local                                                                                
29   10.255.255.1/32    10.255.255.1    loopback 
Router 2
admin@RT2] > /routing ospf instance print
Flags: X - disabled 
 0   name="default" router-id=10.255.255.2 distribute-default=never redistribute-connected=no redistribute-static=no redistribute-rip=no 
     redistribute-bgp=no redistribute-other-ospf=no metric-default=1 metric-connected=20 metric-static=20 metric-rip=20 metric-bgp=auto 
     metric-other-ospf=auto in-filter=ospf-in out-filter=ospf-out 
[admin@RT2] > /routing ospf interface print      
Flags: X - disabled, I - inactive, D - dynamic, P - passive 
 #    INTERFACE                                                                    COST PRIORITY NETWORK-TYPE   AUTHENTICATION AUTHENTICATION-KEY
 0 D  bridge1                                                                        10        1 broadcast      none                             
[admin@RT2] > /routing ospf neighbor print 

[admin@RT2] > /interface print
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                                                                               TYPE               MTU L2MTU  MAX-L2MTU
 0  R  bridge1                                                                                            bridge            1500 65535
 1  R  ether1-BH_to_Office                                                                                ether             1500
 2  R  ether2-BH_to_QS                                                                                    ether             1500
 3  R  ether3-BH_to_MS                                                                                    ether             1500
 4  R  ether4-57AP                                                                                        ether             1500
 5  R  ether5-24AP                                                                                        ether             1500
 6  R  ether6-Site Monitor                                                                                ether             1500
 7  R  loopback                                                                                           bridge            1500 65535
[admin@RT2] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                                                                                
36   10.9.0.2/30        10.9.0.0        ether1-BH_to_Office                                                                                      
37   10.255.255.2/32    10.255.255.2    loopback
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: OSPF - Bridged Interface

Sat Feb 23, 2013 12:52 am

Use NBMA or better pt(m)p mode. Use of ospf broadcast can be quit painful. Do the following to have a clean setup:

R1: add the /30 (I use /29, just to be sure) to the interface pointing to R2 (or more, if bridged with more routers)
R2. Add the next ip, in the same subnet as R1 pointing towards R1

Add the subnet to ospf area at both routers. Put the OSPF to be in ptp mode, and add a md5.

to be even more clean, make a loopback (bridge) interface, and add a /32 IP to it, and use as the router ID in ospf instance

EG: 10.255.255.1/32 as ip at R1, 10.255.255.2 as IP and area at R2. .3 at R3 etc etc etc.

Should be just about it.
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

Re: OSPF - Bridged Interface

Sat Feb 23, 2013 1:02 am

samsung172, Thanks for the super fast response. I haven't worked with ptmp mode, but I'll take a look. I have lookbacks in place so good to go there.

Grats!
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

Re: OSPF - Bridged Interface

Sat Feb 23, 2013 2:35 am

Ok, think I have it configured correctly, but still only see one neighbor... strange. ether2 Local is a ptp to RT2 via a Cisco switch. See Pics
You do not have the required permissions to view the files attached to this post.
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: OSPF - Bridged Interface

Sat Feb 23, 2013 2:45 am

But, is it R1 that is neighbor of r2?

edit : And what is between the 2 routers? wireless? Ethernet? switch? etc. MTU could be an issue here.
 
tonyd
newbie
Topic Author
Posts: 49
Joined: Fri Jul 20, 2012 3:31 pm

Re: OSPF - Bridged Interface

Sat Feb 23, 2013 9:19 pm

All of the above. RT1 to cisco switch to Canopy AP --/to/-- Canopy AP to RT2. I was wondering the same. I thought I understood MTU to be an issue with OSPF.
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: OSPF - Bridged Interface

Sun Feb 24, 2013 12:35 am

All of the above. RT1 to cisco switch to Canopy AP --/to/-- Canopy AP to RT2. I was wondering the same. I thought I understood MTU to be an issue with OSPF.

Check 2 things.

Enebale bigger mtu at the 2 interface connecting together, and try to ping with lager packets. (and set do not fragmet option) to check that its possible to get frames trough.

Also, make sure that multicast is fully supported trough the stuff between.

(and nr3. Check that the running ospf connection, is no other device in the l2 broadcast domain)

Who is online

Users browsing this forum: No registered users and 1 guest