Mlag default route

  • 0
  • 2
  • Question
  • Updated 3 years ago
  • Answered
Hi,

I have an question with mlag which my access switch default route should point to which Core Switch? Please refer to below scenario.

http://i.imgur.com/gNIDTYA.jpg


Core Switch 1
=========================================
Create vlan test10 tag 10
Configure test10 ipaddress 192.168.10.1/24
configure test10 add port 23, 24 tagged
Create vlan test20 tag 20
Configure test20 ipaddress 192.168.20.1/24
configure test20 add port 23, 24 tagged
configure default ipaddress 192.168.1.1/24
enable ipforwarding

Create vlan isc tag 3000
configure isc ipaddress 1.1.1.1/24
configure isc add port 24 tagged

Create mlag peer "peerToCS2"
config mlag peer "peertoCS2" ipaddress 1.1.1.2
enable mlag port 23 peer "peerToCS2" id 1

Core Switch 2
=========================================
Create vlan test10 tag 10
Configure test10 ipaddress 192.168.10.1/24
configure test10 add port 23, 24 tagged
Create vlan test20 tag 20
Configure test20 ipaddress 192.168.20.1/24
configure test20 add port 23, 24 tagged
configure default ipaddress 192.168.1.2/24
enable ipforwarding

Create vlan isc tag 3000
configure isc ipaddress 1.1.1.2/24
configure isc add port 24 tagged

Create mlag peer "peerToCS1"
config mlag peer "peertoCS1" ipaddress 1.1.1.1
enable mlag port 23 peer "peerToCS1" id 1


Access Switch
==========================================
Create vlan test10 tag 10
configure test10 add port 21 tagged
Create vlan test20 tag 20
configure test20 add port 21 tagged
enable sharing 23 grouping 23-24

configure default ipaddress 192.168.1.4/24
configure iproute add default 192.168.1.x ????


Thanks and Regards,
Edward





Photo of Edward

Edward

  • 120 Points 100 badge 2x thumb

Posted 4 years ago

  • 0
  • 2
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
I believe you can configure the VRRP on core 1 and core 2 switch and configure VIP as default gateway on ACCESS switch.
Photo of Edward

Edward

  • 120 Points 100 badge 2x thumb
Thanks for your reply, btw VRRP is the only way in this case?
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
VRRP is the best and easiest solution. However, I believe you may configure flow-redirect and change the next hop address. but, I have not seen anyone who uses flow-redirect to achieve.
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
VRRP would be the best solution to allow for the traffic to really span to both core switches. 
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Edward Sumit is right what you need to do is set up VRRP and specifically active/active setting which is explained on page 1118 of the 15.4 ExtremeXOS concepts guide.

This will allow both MLAG switches to act as the default gateway.

Let us know if you have questions after reading it.

P
Photo of Edward

Edward

  • 120 Points 100 badge 2x thumb
Thanks, I will look into vrrp set up.
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
https://community.extremenetworks.com/extreme/topics/active_active_vrrp_with_mlag

We have already discussed acitve-active VRRP with MLAG in above post. still, if you have any doubt then let us know.
Photo of santhosh kumar

santhosh kumar

  • 134 Points 100 badge 2x thumb
Hi,
 I have a query reagrding Mlag in L3 Switch which is acting as a Gateway for all Vlans. we are using BD X8 as core switch in which we have enabled Mlag as below. is it necessary that i have to make VRRP configuration as i can see my gateway switches are working fine with this configuration. kindly suggest me in this regard.

Core Switch 1
=========================================
Create vlan test10 tag 10
Configure test10 ipaddress 192.168.10.1/24
configure test10 add port 23, 24 tagged
Create vlan test20 tag 20
Configure test20 ipaddress 192.168.20.1/24
configure test20 add port 23, 24 tagged
configure default ipaddress 192.168.1.1/24
enable ipforwarding

Create vlan isc tag 3000
configure isc ipaddress 1.1.1.1/24
configure isc add port 24 tagged

Create mlag peer "peerToCS2"
config mlag peer "peertoCS2" ipaddress 1.1.1.2
enable mlag port 23 peer "peerToCS2" id 1

Core Switch 2
=========================================
Create vlan test10 tag 10
Configure test10 ipaddress 192.168.10.1/24
configure test10 add port 23, 24 tagged
Create vlan test20 tag 20
Configure test20 ipaddress 192.168.20.1/24
configure test20 add port 23, 24 tagged
configure default ipaddress 192.168.1.2/24
enable ipforwarding

Create vlan isc tag 3000
configure isc ipaddress 1.1.1.2/24
configure isc add port 24 tagged

Create mlag peer "peerToCS1"
config mlag peer "peertoCS1" ipaddress 1.1.1.1
enable mlag port 23 peer "peerToCS1" id 1
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Santhosh im order for MLAG to give you the best solution you really should have VRRP in active/active mode otherwise all of the traffic will go to one switch to be routed.

Hope that helps
Photo of Daniel Flouret

Daniel Flouret, Employee

  • 7,470 Points 5k badge 2x thumb
Santosh,

Here's a picture of what happens if you route traffic through only one member of the MLAG pair (either because it is the default gateway or because VRRP is configured as Active / Standby).



ALL traffic sent to the MLAG switch that is NOT acting as the active Default Gateway must traverse the ISC link.
Photo of Ebrar

Ebrar

  • 120 Points 100 badge 2x thumb
Hi,

In our case there is a router in place of the server. We use active-active VRRP and we have a MLAG configuration. But we should also use BGP between router and SWs. We have two BGP neighbor between Router-to-SW1 and Router-to-SW2. Because extreme guys told us we can not use VRRP IP as BGP peer. So because of the router BGP best route selection process, traffic goes through only one SW. I want to use both the SWs as active. I want to throw traffic from all the links between router and SWs.

So what should i do?

Can you help me?

Thanks,
Ebrar