Vlans + VRRP + Multiple Public IP addresses
Posted: Mon Feb 18, 2019 2:41 pm
Hello,
I'm trying to setup a big network and I just want to find the best possible design to implement it.
Here are the prerequisites .
I have multiple Public IP addresses. Let's say subnets 1.1.1.0/24, 2.2.2.0/24, 3.3.3.0/24.
I need complete isolation between clients so VLANs is a must .
Need redundancy so VRRP is a must also.
Here's what we have now.
2x ISP's with BGP full routing tables on two mikrotik CCR1072 .
So best case its an active-active scenario ( or active - backup ).
So this is what I want:
1) Same networks are advertised through BGP on both routers ( I have allready setup this and it is working ).
2) VRRP in case one router fails , the other one should start forwarding traffic instead. This is setup partially. What I mean is that since I have multiple subnets I have setup many VRRP interfaces on the internal facing ports. The problem here is that I lose 3 IPs per subnet due to VRRP, and VRRP traffic is being broadcasted on the subnets which in turn can be seen on clients traffic.
3) I have not found a proper way to implement vlans on such a big margin.
Lets say I have many clients (200 clients at the same time) , then I need to setup 200 vlan interfaces ( which I cannot create like a bulk, and I need to create them one by one ), then how could I setup vlan and VRRP on multiple vlans effectively, to have complete isolation?
I hope I've been thorough enough with my explanation.
And some configurations already implemented (this is a sample to help understand my situation).
/interface vrrp
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.0/28 password=XXXXX priority=50 version=2
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.128/25 password=XXXXX priority=50 version=2 vrid=5
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.16/28 password=XXXXXX priority=50 version=2 vrid=2
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.32/27 password=XXXXXXX priority=50 version=2 vrid=3
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.64/26 password=XXXXXXX priority=50 version=2 vrid=4
add authentication=ah interface=sfp-sfpplus2 name=1.X.X.0/26 password=XXXXXXXX priority=50 version=2 vrid=10
add authentication=ah interface=sfp-sfpplus2 name=1.X.X.128/25 password=XXXXXXX priority=50 version=2 vrid=12
add authentication=ah interface=sfp-sfpplus2 name=1.X.X.64/26 password=XXXXXXX priority=50 version=2 vrid=11
add authentication=ah interface=sfp-sfpplus4 name=2.X.X.0/24 password=XXXXXXX priority=50 version=2 vrid=6
add authentication=ah interface=sfp-sfpplus2 name=3.X.X.0/24 password=XXXXXXX priority=50 version=2 vrid=14
add authentication=ah interface=sfp-sfpplus4 name=4.X.X.0/26 password=XXXXXXX priority=50 version=2 vrid=15
add authentication=ah interface=sfp-sfpplus4 name=4.X.X.128/25 password=XXXXXXX priority=50 version=2 vrid=17
add authentication=ah interface=sfp-sfpplus4 name=4.X.X.64/26 password=XXXXXXX priority=50 version=2 vrid=16
/ip address
add address=X.X.X.30 interface=X.X.X.X/28 network=X.X.X.X
add address=X.X.X.60/27 comment=X.X.X.32/27 interface=sfp-sfpplus2 network=X.X.X..32
.
.
.
I have read in another post in the forum, that for best results, I've better to add only one VRRP between direct connection on the two routers, and setup an up/down script for bringing interfaces up or down.
I would really appreciate any recommendations.
Best Regards,
Panagiotis Botos
I'm trying to setup a big network and I just want to find the best possible design to implement it.
Here are the prerequisites .
I have multiple Public IP addresses. Let's say subnets 1.1.1.0/24, 2.2.2.0/24, 3.3.3.0/24.
I need complete isolation between clients so VLANs is a must .
Need redundancy so VRRP is a must also.
Here's what we have now.
2x ISP's with BGP full routing tables on two mikrotik CCR1072 .
So best case its an active-active scenario ( or active - backup ).
So this is what I want:
1) Same networks are advertised through BGP on both routers ( I have allready setup this and it is working ).
2) VRRP in case one router fails , the other one should start forwarding traffic instead. This is setup partially. What I mean is that since I have multiple subnets I have setup many VRRP interfaces on the internal facing ports. The problem here is that I lose 3 IPs per subnet due to VRRP, and VRRP traffic is being broadcasted on the subnets which in turn can be seen on clients traffic.
3) I have not found a proper way to implement vlans on such a big margin.
Lets say I have many clients (200 clients at the same time) , then I need to setup 200 vlan interfaces ( which I cannot create like a bulk, and I need to create them one by one ), then how could I setup vlan and VRRP on multiple vlans effectively, to have complete isolation?
I hope I've been thorough enough with my explanation.
And some configurations already implemented (this is a sample to help understand my situation).
/interface vrrp
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.0/28 password=XXXXX priority=50 version=2
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.128/25 password=XXXXX priority=50 version=2 vrid=5
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.16/28 password=XXXXXX priority=50 version=2 vrid=2
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.32/27 password=XXXXXXX priority=50 version=2 vrid=3
add authentication=ah interface=sfp-sfpplus2 name=X.X.X.64/26 password=XXXXXXX priority=50 version=2 vrid=4
add authentication=ah interface=sfp-sfpplus2 name=1.X.X.0/26 password=XXXXXXXX priority=50 version=2 vrid=10
add authentication=ah interface=sfp-sfpplus2 name=1.X.X.128/25 password=XXXXXXX priority=50 version=2 vrid=12
add authentication=ah interface=sfp-sfpplus2 name=1.X.X.64/26 password=XXXXXXX priority=50 version=2 vrid=11
add authentication=ah interface=sfp-sfpplus4 name=2.X.X.0/24 password=XXXXXXX priority=50 version=2 vrid=6
add authentication=ah interface=sfp-sfpplus2 name=3.X.X.0/24 password=XXXXXXX priority=50 version=2 vrid=14
add authentication=ah interface=sfp-sfpplus4 name=4.X.X.0/26 password=XXXXXXX priority=50 version=2 vrid=15
add authentication=ah interface=sfp-sfpplus4 name=4.X.X.128/25 password=XXXXXXX priority=50 version=2 vrid=17
add authentication=ah interface=sfp-sfpplus4 name=4.X.X.64/26 password=XXXXXXX priority=50 version=2 vrid=16
/ip address
add address=X.X.X.30 interface=X.X.X.X/28 network=X.X.X.X
add address=X.X.X.60/27 comment=X.X.X.32/27 interface=sfp-sfpplus2 network=X.X.X..32
.
.
.
I have read in another post in the forum, that for best results, I've better to add only one VRRP between direct connection on the two routers, and setup an up/down script for bringing interfaces up or down.
I would really appreciate any recommendations.
Best Regards,
Panagiotis Botos