04-02-2018 04:00 AM - edited 03-08-2019 02:28 PM
Hi,
I have two MLNX switches in MLAG configuration and one interface from each MLNX switches is connected to cisco L3 switch in mlag-port channel with two ten gig ports in trunk. My question is how to configure ospf configuration between MLNX switches and Cisco on a MLAG-port channel. I have two vlan that are allowed on mlag-port channel trunk, one for management network and other one for a transit network to carry all networks on MLNX over OSPF. Appreciate your help
Solved! Go to Solution.
04-03-2018 03:19 AM
Hi,
I can reach 192.168.2.0/24 network (vlan 2). I want to make sure this is correct and supported or any other better solution, but still maintaining high availability between Cisco L3 switcth and Mellanox?
Physical and logical diagrams are included for clarity.
MLNXSW1:
=======
interface mlag-port-channel 1
interface mlag-port-channel 1 switchport mode trunk
interface mlag-port-channel 1 no shutdown
interface mlag-port-channel 1 switchport trunk allowed-vlan none
interface mlag-port-channel 1 switchport trunk allowed-vlan add 999
interface mlag-port-channel 1 switchport trunk allowed-vlan add 10
interface vlan 999
interface vlan 999 ip address 192.168.1.2 255.255.255.0
interface vlan 5
interface vlan 5 ip address 192.168.2.2 255.255.255.0
protocol ospf
router ospf 1 vrf default
router ospf 1 vrf default router-id 10.10.1.11
interface vlan 5 ip ospf area 1.1.1.1
interface vlan 999 ip ospf area 0.0.0.0
vlan 999 name "TransitNet"
vlan 5 name "LAN"
interface vlan 999 magp 999 ip virtual-router address 192.168.1.254
interface vlan 5 magp 5 ip virtual-router address 192.168.2.254
interface vlan 999 magp 999 ip virtual-router mac-address 00:02:AC:999:BC:EF
interface vlan 5 magp 5 ip virtual-router mac-address 00:02:AC:5:BC:EF
MLNXSW2:
========
interface mlag-port-channel 1
interface mlag-port-channel 1 switchport mode trunk
interface mlag-port-channel 1 no shutdown
interface mlag-port-channel 1 switchport trunk allowed-vlan none
interface mlag-port-channel 1 switchport trunk allowed-vlan add 999
interface mlag-port-channel 1 switchport trunk allowed-vlan add 10
interface vlan 999
interface vlan 999 ip address 192.168.1.3 255.255.255.0
interface vlan 5
interface vlan 5 ip address 192.168.2.3 255.255.255.0
protocol ospf
router ospf 1 vrf default
router ospf 1 vrf default router-id 10.10.1.11
interface vlan 5 ip ospf area 1.1.1.1
interface vlan 999 ip ospf area 0.0.0.0
vlan 999 name "TransitNet"
vlan 5 name "LAN"
interface vlan 999 magp 999 ip virtual-router address 192.168.1.254
interface vlan 5 magp 5 ip virtual-router address 192.168.2.254
interface vlan 999 magp 999 ip virtual-router mac-address 00:02:AC:999:BC:EF
interface vlan 5 magp 5 ip virtual-router mac-address 00:02:AC:5:BC:EF
Thank you.
04-02-2018 04:48 AM
Hi
Have you tried incluiding the networks associated to the VLANs into OSPF on both sides?
04-03-2018 03:19 AM
Hi,
I can reach 192.168.2.0/24 network (vlan 2). I want to make sure this is correct and supported or any other better solution, but still maintaining high availability between Cisco L3 switcth and Mellanox?
Physical and logical diagrams are included for clarity.
MLNXSW1:
=======
interface mlag-port-channel 1
interface mlag-port-channel 1 switchport mode trunk
interface mlag-port-channel 1 no shutdown
interface mlag-port-channel 1 switchport trunk allowed-vlan none
interface mlag-port-channel 1 switchport trunk allowed-vlan add 999
interface mlag-port-channel 1 switchport trunk allowed-vlan add 10
interface vlan 999
interface vlan 999 ip address 192.168.1.2 255.255.255.0
interface vlan 5
interface vlan 5 ip address 192.168.2.2 255.255.255.0
protocol ospf
router ospf 1 vrf default
router ospf 1 vrf default router-id 10.10.1.11
interface vlan 5 ip ospf area 1.1.1.1
interface vlan 999 ip ospf area 0.0.0.0
vlan 999 name "TransitNet"
vlan 5 name "LAN"
interface vlan 999 magp 999 ip virtual-router address 192.168.1.254
interface vlan 5 magp 5 ip virtual-router address 192.168.2.254
interface vlan 999 magp 999 ip virtual-router mac-address 00:02:AC:999:BC:EF
interface vlan 5 magp 5 ip virtual-router mac-address 00:02:AC:5:BC:EF
MLNXSW2:
========
interface mlag-port-channel 1
interface mlag-port-channel 1 switchport mode trunk
interface mlag-port-channel 1 no shutdown
interface mlag-port-channel 1 switchport trunk allowed-vlan none
interface mlag-port-channel 1 switchport trunk allowed-vlan add 999
interface mlag-port-channel 1 switchport trunk allowed-vlan add 10
interface vlan 999
interface vlan 999 ip address 192.168.1.3 255.255.255.0
interface vlan 5
interface vlan 5 ip address 192.168.2.3 255.255.255.0
protocol ospf
router ospf 1 vrf default
router ospf 1 vrf default router-id 10.10.1.11
interface vlan 5 ip ospf area 1.1.1.1
interface vlan 999 ip ospf area 0.0.0.0
vlan 999 name "TransitNet"
vlan 5 name "LAN"
interface vlan 999 magp 999 ip virtual-router address 192.168.1.254
interface vlan 5 magp 5 ip virtual-router address 192.168.2.254
interface vlan 999 magp 999 ip virtual-router mac-address 00:02:AC:999:BC:EF
interface vlan 5 magp 5 ip virtual-router mac-address 00:02:AC:5:BC:EF
Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide