01-14-2017 10:58 AM - edited 03-07-2019 12:20 AM
I have a stack on 5 C2960x-48LPD-L.
I am in a network of /16, /24, and /23
I am configuring the stack on a /23
I have a VLAN setup on the router with the /23 and the same on the stack
I can get to the Stack by the vlan on the router but not directly.
I can ping the VLAN interface from both ends but not can not ping 8.8.8.8 from the switch.
When I sho ip route on switch I get:
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.16.26.0/23 is directly connected, Vlan955
L 10.16.26.2/32 is directly connected, Vlan955
C 10.16.28.0/23 is directly connected, Vlan961
L 10.16.28.2/32 is directly connected, Vlan961
On the router I get a Gateway of last resort.
ip routing is running on the switch.
I know I am missing a minor command but just can't thing of it.
thanks
Solved! Go to Solution.
01-16-2017 01:16 AM
Try set default gateway for this switch with command:
ip default-gateway x.x.x.x
If this switch is L3 (performs routing) then use command: ip route 0.0.0.0 0.0.0.0 <next_hop_ip_address>
01-16-2017 01:16 AM
Try set default gateway for this switch with command:
ip default-gateway x.x.x.x
If this switch is L3 (performs routing) then use command: ip route 0.0.0.0 0.0.0.0 <next_hop_ip_address>
01-17-2017 10:49 AM
Thank you Milos, I had the default configured.
I have the old IP Addressing working by adding the IP Route for each of my VLANs and the gateway of last resort.
Next task it to setup DHCP on the router moving from a /24 to a /23 on one VLAN and the making it flow correctly.
Thank again for your response.
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