cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8488
Views
20
Helpful
11
Replies

VRRP/HSRP with OSPF

MikkelN1996
Level 1
Level 1

Hi everyone, 

As of right now i use VRRP with OSPF, in two areas, the backbone and a normal area "area 10". 

I know that using VRRP with OSPF can be a bit wonky, since in the area with VRRP, where all the end devices resides in, there will be double routes. As of right now i'm using firewall rules to limit the routes of OSPF in the client area. What i mean is that, in Area 10 there are around 10 vlans, and the routers in that area, will learn about all the routes in Area 10, which of course it should do, but since there are so many routes, instead of using firewall rules to limit the routes, is there any better way to limit the routes between ER01 and ER02 so they dont annonce the Area 10 to each other? 

Or maybe there is a better way to implment VRRP with OSPF? 

I have attached a picture of how it physically setup.

1 Accepted Solution

Accepted Solutions

Hello

I think it depends on your configuration how these routes are being received, I would possibly suggest from the WAN rtr advertise a default into area 0 and apply passive interface to all but the the interfaces connecting the ospf areas on the cores.

What ospf network type is being applied?

Maybe something like below however i dont know unless i look it ip the correct syntax for the dells however i am aware they have an ios similar to cisco?

WAN Rtr
int eth5 -6
ip ospf network point-to-point

router ospf x
default-information originate always


DH-R1 -R2
router ospf x
passive-interface default
no passive-interface vlan 10
no passive-interface eth02

int eth02
ip ospf network point-to-point


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

11 Replies 11

Richard Burts
Hall of Fame
Hall of Fame

Your drawing just shows 2 ovals representing 2 areas with 2 routers connecting them. It provides no usable information about either area. Are there multiple routers or just these 2? You provide no information about how you have implemented VRRP or implemented OSPF which makes it difficult to know whether there is a better way to implement them. 

 

HTH

 

Rick

HTH

Rick

Hi Richard, 

I have a more detailed network diagram of my network right now. 

But the main issue is that in Area 10, DH-R1 and DH-R2 annonces the VLANs to each other, so there will multiple routes to each in that vlan, which is unnecessary, they should only be annonced to Area 0, which they are. But is there any other way to block to advertisement in Area 10 between the routers instead of having firewall rules blocking OSPF? 

Or is there any better solution or maybe a design you would recommend.

Hello

I think it depends on your configuration how these routes are being received, I would possibly suggest from the WAN rtr advertise a default into area 0 and apply passive interface to all but the the interfaces connecting the ospf areas on the cores.

What ospf network type is being applied?

Maybe something like below however i dont know unless i look it ip the correct syntax for the dells however i am aware they have an ios similar to cisco?

WAN Rtr
int eth5 -6
ip ospf network point-to-point

router ospf x
default-information originate always


DH-R1 -R2
router ospf x
passive-interface default
no passive-interface vlan 10
no passive-interface eth02

int eth02
ip ospf network point-to-point


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul, 

I already injected the default route into the OSPF area. 

And the VLAN interfaces are also in passive. 

It's just normal area's thats being used, no Stubby, or totally stub areas etc. 

The main issue is that, with VRRP, each of routers in Area 10, they will learn about the routes from each other, which will make big a routing table, so i guess the only fix for this is to create firewall rules on both of routers in Area 10, so block OSPF from each other. 

Have you implemted OSPF where VRRP was used in the same area? 

 

Hello


@MikkelN1996 wrote:

Hi Paul,  

Have you implemted OSPF where VRRP was used in the same area? 

 


No i haven't but hrsp i have, Anyway I dont think it the FHRP is the problem.

When you say the routers in area 10 are receiving each other routes that where I am getting confused -Looking at your topology you posted you should have only one ospf adjacency between the core rtrs and the wan rtr, thus you only routes I would say you should be receiving are any routes from area 0 and possibly the ospf sunbet from each other wan facing interface of the cores

Can you post the FHRP/OSPF config of the cores please.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Like Paul I have implemented OSPF with HSRP (many times) but not with VRRP. I do not see where VRRP makes much difference. 

 

Perhaps I understand the drawing a bit differently from Paul but it looks to me like the 2 routers will be running OSPF on vlans 10, 20, 30, 40, 50, and 60 as well as on the link through area 0. So they will form neighbor relationship on each of those interfaces. But I do not agree that this will create a big routing table. In fact the routing table on both of those routers will have 6 entries for those connected interfaces (one entry for each of the locally connected interfaces) and will not have any OSPF entries for those networks. The OSPF Link State DataBase will have entries learned from its peer router but that is not a large number of entries. I do not see where there is any problem that you need to solve - and I certainly would advise not to have any firewall rules denying OSPF packets.

 

HTH

 

Rick

HTH

Rick

Reading through the discussion again I see the comment that the vlan interfaces are passive which I had not recognized previously. That makes things even better. In that case there will be no neighbor relationship  and no adjacency on the vlan interfaces. So each router will send LSAs through area 0 for the vlans. So each router Link State DataBase will have 6 entries from its neighbor - and will have Zero entries in its routing table reflecting those entries. I do not see any problem here that needs to be solved. If I am missing something then please provide clarification.

 

HTH

 

Rick

HTH

Rick

Hi, 

Yes everything is working correctly, i just tested and verifyed. 

Thanks a lot and have a great new year!

Hello


@MikkelN1996 wrote:

Hi, 

Yes everything is working correctly, i just tested and verifyed. 

Thanks a lot and have a great new year!


That nice to hear you issue has been resolved!

For clarification and maybe to assist others in the future what did you do to rectify problem did any of my or ricks suggestions help ?

 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I just tested with creating a new VLAN and assigned that to both routers in Area 10, and then i could see the routes appearing in routing table within the area 10, i then just put the new vlan interface into passive-interface. 

Which solved the issue. 

 

Hello

glad to hear it - 

may I ask you mark your post as resolved if the support your received helped?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul