cpalkp.blogg.se

Cisco switch default gateway
Cisco switch default gateway












cisco switch default gateway

You should not use the ip default-gateway commands on a router that is acting as a router, and the ip default-network command is really for IGRP, which doesn't understand the default route you can use a static default route.Ĭisco has a document that explains the differences: Configuring a Gateway of Last Resort Using IP Commands: Summary

cisco switch default gateway

If it is routing, then you do not want to use the default-gateway or default-network commands. That being said, since the device is directly connected and both switch stacks have an interface in VLAN2, is this even necessary?Īs YLearn points out, you need to determine if the switch is operating as strictly a layer-2 switch, or is it actually routing (layer-3). Can anyone point me in the right direction to get my switch stack pointing at 10.6.9.10? I am not sure how the gateway ever got set to 10.20.25.254 in the first place :\ I see no references to 10.20.25.254 anywhere in my entire configuration.Īs a side note, VLAN2 ( 10.6.9.0/24) is my native VLAN, and this switch stack is trunked to the switch stack with the 10.6.9.10 address. I have attempted to set the gateway of last resort to 10.6.9.10 with the following commands: ip default-gateway 10.6.9.10īut, the gateway of last resort is still showing as 10.20.25.254 for some reason. The network I need the gateway of this switch stack to point to is 10.6.9.10 so it can then get out to the Internet. However, I do not want my gateway of last resort to be set to 10.20.25.254 to network 0.0.0.0. + - replicated route, % - next hop override O - ODR, P - periodic downloaded static route, H - NHRP, l - LISP Ia - IS-IS inter area, * - candidate default, U - per-user static route

cisco switch default gateway

I - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

cisco switch default gateway

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2Į1 - OSPF external type 1, E2 - OSPF external type 2 When I run show ip route on my Cisco 3850 switch stack, i get the following output PO-SW-SVR-SS-02(config)#do show ip routeĬodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGPĭ - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area














Cisco switch default gateway