Community discussions

MikroTik App
 
ginovilla
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Sat Jun 05, 2004 8:02 am

VRRP and Fowarding Protocols

Sun May 31, 2009 6:50 pm

Would VRRP work with OSPF and MPLS?

The quest to this questions is to be able to have 2 routers at one site, in a failover mode if one router fails, the other would work including all parameters like OSPF, MPLS and VPLS
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: VRRP and Fowarding Protocols

Mon Jun 01, 2009 10:30 am

I don't see why you need VRRP in this case? OSPF will reroute traffic if one router fails.
 
User avatar
Eising
Member Candidate
Member Candidate
Posts: 272
Joined: Mon Oct 27, 2008 10:21 am
Location: Copenhagen, Denmark

Re: VRRP and Fowarding Protocols

Tue Jun 02, 2009 11:13 am

If you need first-hop redundancy then VRRP works fine. Whatever forwarding protocols you run inside has nothing to do with VRRP, as VRRP is only redundant at the first hop (ie. default gateway).
 
ginovilla
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Sat Jun 05, 2004 8:02 am

Re: VRRP and Fowarding Protocols

Tue Jun 02, 2009 10:15 pm

So how would the implementation of 2 routers on the same site would be done?

OSPF between them? how about VPLS termination on this routers into the same switch, how to avoid the loops there?
 
User avatar
Eising
Member Candidate
Member Candidate
Posts: 272
Joined: Mon Oct 27, 2008 10:21 am
Location: Copenhagen, Denmark

Re: VRRP and Fowarding Protocols

Wed Jun 03, 2009 5:12 pm

You won't be able to remove the single point of failure without a backup connection. With two WAN lines, here's how I'd do it:

Two routers, one WAN link on each. If one of the WAN lines are considered backup, bump up the ospf interface cost of that one.
Assuming a LAN of 192.168.1.0/24, give router1 192.168.1.2/24 and router2 192.168.1.3/24, define a vrrp interface on both, like:
/interface vrrp add interface=ether1 name=ether1.vip authentication=simple password=foobar arp=enabled preemption-mode=yes priority=5 vrid=1 
/ip address add interface=ether1.vip address=192.168.1.1/32 disabled=no
Do exactly the same on the other router, but change the priority.

Connect both interfaces to the LAN, and make sure your default gateway on your clients is 192.168.1.1.

Voila, redundant routers and redundant WAN. This assumes that a default route is given via OSPF on both WAN links.

If you have only one WAN link, attach your WAN line to a switch and attach both routers to that switch. Buy a quality switch, or your clients will kill you if (when!) it crashes.

Who is online

Users browsing this forum: No registered users and 3 guests