cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
881
Views
0
Helpful
2
Replies

Can not pass IP

paul.logan
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Milos Megis
Level 3
Level 3

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>

View solution in original post

2 Replies 2

Milos Megis
Level 3
Level 3

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>

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.