Link to home
Start Free TrialLog in
Avatar of leblanc
leblanc

asked on

HSRP with OSPF routing

My 2 cores Catalyst 3750 have hsrp configured to provide gateway redundancy for the access switches. I'd like to implement OSPF routing between the cores and the WAN router see pic). But I am not sure which subnet I should use between the cores and the WAN router. Also, I'd like to know if there are any sample config for HSRP with OSPF because I have never done it. Thanks

User generated image
SOLUTION
Avatar of Henk van Achterberg
Henk van Achterberg
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc
leblanc

ASKER

From the access switch to the core, it will just be layer 2 so there is no need for OSPF there. Not to reinvent the wheel, I am just wondering if you know any site with a sample config of HSRP and OSPF. Thanks
Layer 2 between the cores and the WAN router? What are the IP addresses of the WAN router interfaces?
Avatar of leblanc

ASKER

Layer 3 between the cores and the WAN router.
Layer 2 between the cores and the access switch
once again, what are the IP addresses assigned to the WAN router interfaces?
Avatar of leblanc

ASKER

That was one of my questions. I was thinking just a /30, like 10.10.30.1/30 (f0/0) and 10.10.30.5/30 (f1/0) on the router.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

Great. Now I am a beginner when it comes to OSPF, so I have a quick question. When I enable ospf on f0/1 of core 1 and core 2, it will advertise 10.10.10.0 & 10.10.20.0. Correct? Or do I have to enable OSPF under vlan 10 and vlan20 as well?
What I am trying to understand is when you enable OSPF on an interface or use the command network 10.10.0.2 0.0.0.0 (under ROUTER OSPF 1 on core1 for example), it will just allow the interface to send the hello packets. How does it advertise the subnets that it knows?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

So what is the pros and cons to use the below instead of network 10.0.0.0 0.255.255.255 area 0, other than extra typing?

router ospf 1
network 10.10.0.2 0.0.0.0 area 0
network 10.10.10.1 0.0.0.0 area 0
network 10.10.20.1 0.0.0.0 area
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

Make sense Don. I will go ahead and implement this to see how it goes. Thx