09-24-2016 11:28 PM - edited 03-08-2019 07:34 AM
I need to creastea static route on my L3 switch to my nsx environment
the nsx vxlan is 192.168.10.0/24
how do I add that into the 7k switch. I do not want to overlap any networks
when I do
sh ip route
I see these
192.168.39.0/24, ubest/mbest: 1/0
*via 10.70.0.52, Vlan70, [110/20], 2y15w, ospf-100, type-2
192.168.40.0/24, ubest/mbest: 1/0
*via 10.70.0.52, Vlan70, [110/20], 2y15w, ospf-100, type-2
192.168.45.0/24, ubest/mbest: 1/0
*via 10.70.0.52, Vlan70, [110/20], 2y15w, ospf-100, type-2
192.168.46.0/24, ubest/mbest: 1/0
*via 10.70.0.52, Vlan70, [110/20], 2y15w, ospf-100, type-2
192.168.49.0/24, ubest/mbest: 1/0
*via 10.70.0.52, Vlan70, [110/20], 2y15w, ospf-100, type-2
what are these? I do not see then under sh run in ip route
09-25-2016 10:21 AM
On the 7k, try this command to see if the vlan exist:
sh ip route direct interface vlan <vlan id>
HTH
09-25-2016 12:36 PM
i dont think its there.
ip route 0.0.0.0/0 10.70.0.52
ip route 10.5.140.0/23 10.70.0.52 200
ip route 10.5.144.0/23 10.70.0.52 200
ip route 10.5.152.0/23 10.70.0.52 200
ip route 10.5.170.0/23 10.70.0.52 200
ip route 10.9.100.0/24 10.70.0.52 200
ip route 10.9.120.0/24 10.70.0.52 200
ip route 10.9.130.0/24 10.70.0.52 200
ip route 10.9.150.0/24 10.70.0.52 200
ip route 10.9.156.0/24 10.70.0.52 200
ip route 10.9.190.0/24 10.70.0.52 200
ip route 10.100.0.0/16 10.70.0.52 200
ip route 10.120.0.0/16 10.70.0.52 200
ip route 10.144.1.0/24 10.70.0.52 200
ip route 10.145.0.0/16 10.70.0.52 200
ip route 10.147.0.0/16 10.70.0.52
ip route 10.151.0.0/16 10.70.0.52 200
ip route 10.185.0.0/16 10.70.0.52 200
ip route 10.190.0.0/16 10.70.0.52 200
ip route 161.82.12.16/32 10.70.0.3
no ip source-route
09-25-2016 01:35 PM
Hi;
The static route you attached having AD 200 & while the route you received via OSPF with default AD (110).
Always remember for Route selection process always prefer most-specific route, then AD and so on.
Thanks & Best regards;
09-25-2016 10:51 AM
Hi;
The output you attached clearly show that you are receiving (192.168.39.0, 192.168.40.0, 192.168.45.0, 192.168.46.0, 192.168.49.0) route via OSPF as a type-2 not a static route. And OSPF neighbourship is created on vlan 70 with neighbor-id 10.70.0.52.
Thanks & Best regards;
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