03-25-2018 07:28 AM - edited 03-08-2019 02:23 PM
Hi CISCO community
Maybe this is a basic question and would have been discussed before but I could not find relevant answers as per my own scenario. Let me explain topology and configuration and what I want to achieve
Topology
=========
2x CISCO 3548 switches connected to each other via two fiber cables
1x CISCO 3048 switch connected to these core switches. Two fibers going to each core switch.
Configuration
=============
On two core switches I have configured vPC and it is working fine. In addition to that I have configured multiple VLANs on these two core switches and given them IPs from different subnets. Also HSRP is configured. Example given below
VLAN 213 : 172.22.22.253 (Core-1)
VLAN 213 : 172.22.22.254 (Core-2)
Virtual IP : 172.22.22.1
Enabled Features : interface-vlan, hsrp-engine, vpc, udld
VLAN 221 : 172.22.30.253 (Core-1)
VLAN 221: 172.22.30.254 (Core-2)
Virtual IP : 172.22.30.1
On Access layer CISCO 3048, I have configured VLAN 213 and 221 without IP. Interface-vlan feature is disabled.
Problem
==========
I want to PING an IP 172.22.22.1 from Access Switch which I cannot do. Reason seems obvious that there is no route to the subnet.
MCR-ESW01(config)# show ip route
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
In catalyst series of switches, I used to add default-gateway (VIP of the managment VLAN) and all set go. I have tried to add route using "ip route" command but unabel to acess any of the VLANs interface IPs on core switches.
Let me know if you guys need more info on configurations of these three switches.
Thanks in advance.
Baber
Solved! Go to Solution.
03-26-2018 04:26 AM
Hi,
Only you are missing the default route on Nexus switch:
The command must be like this:
ip route 0.0.0.0/0 VLAN <X> <VLAN Virtual IP>
X= VLAN ID number.
VLAN Virtual IP = Destination (Core switch) VIP of particular VLAN.
Regards,
Deepak Kumar
03-25-2018 08:07 AM
Hi,
IP default gateway and at list one SVI must have IP on access switch to ping your core switch IP or other IP on your network.
Regards,
Deepak Kumar
03-25-2018 08:14 AM - edited 03-25-2018 08:27 AM
Dear Deepak
Can you please tell me the exact command to setup default gateway on the 3048 switch. I couldn't find "ip default-gateway" command which is normally available on other OS images
Software BIOS: version 1.4.0
loader: version N/A kickstart: version 6.0(2)U6(9)
system: version 6.0(2)U6(9)
Power Sequencer Firmware: Module 1: version v4.4
BIOS compile time: 12/09/2013
kickstart image file is: bootflash:///n3000-uk9-kickstart.6.0.2.U6.9.bin
kickstart compile time: 1/7/2017 1:00:00 [01/07/2017 14:01:22]
system image file is: bootflash:///n3000-uk9.6.0.2.U6.9.bin
03-25-2018 08:18 AM - edited 03-25-2018 08:26 AM
I have following route but even then I am unable to ping any other VLAN IP e.g 172.22.22.253 or VIP 172.22.22.1
MCR-ESW01(config-if)# show ip route
IP Route Table for VRF "default" '*' denotes best ucast next-hop '**' denotes best mcast next-hop '[x/y]' denotes [preference/metric] '%' in via output denotes VRF 172.22.30.0/24, ubest/mbest: 1/0, attached *via 172.22.30.20, Vlan221, [0/0], 00:00:05, direct 172.22.30.20/32, ubest/mbest: 1/0, attached *via 172.22.30.20, Vlan221, [0/0], 00:00:05, local
03-25-2018 08:30 AM
HI,
in the Nexus switches, there will no default gateway command. It is the default route.
ip route 0.0.0.0/0 XX.XX.XX.XX
Regards,
Deepak Kumar
03-25-2018 08:52 AM
03-25-2018 08:59 AM
Hi,
Please share configuration of nexus switch.
Regards,
Deepak Kumar
03-25-2018 09:19 AM
03-25-2018 10:23 PM
03-25-2018 10:42 PM
Hi,
I just looked at the configuration and found that there is no IP address under any VLAN or interface. You have to configure one IP address under the SVI so the switch can get source IP from SVI and forward the packet to gateway or destination.
Regards,
Deepak Kumar
03-25-2018 10:55 PM
03-25-2018 11:03 PM
Hi,
I can see "No route" error in ping command. Means you didn't assign the correct route on the switch?
Can you attach a system on VLAN 230 on this switch and ping the other VLANs? Make sure you have to assign default gateway as your core switch SVI interface IP in the switch.
If you can ping the other VLANs using your systems then you have to check your default route which you configured on this switch.
Please share some details as:
What is IP assigned to your core switch SVI 230?
What is default route configuration on this switch?
Can you ping destination IP which you configured in default route?
Regards,
Deepak Kumar
03-26-2018 12:53 AM
Dear Deepak
From my laptop connected to Access SW Port eth1/1 (assigned to VLAN 221), I am able to ping all other VLANs. However, if I try to ping from Access Switch itself, I cannot do that. One reason is obvious that there is no default route configuration on this switch and this is the problem.
How to create default route on the access switch so that this switch is able to ping to other VLANs on the attached core switches. Can you tell me the exact command for that matter.
P.S: Attached config from one of the core switches.
Regards
Baber
03-26-2018 04:26 AM
Hi,
Only you are missing the default route on Nexus switch:
The command must be like this:
ip route 0.0.0.0/0 VLAN <X> <VLAN Virtual IP>
X= VLAN ID number.
VLAN Virtual IP = Destination (Core switch) VIP of particular VLAN.
Regards,
Deepak Kumar
03-27-2018 12:51 AM
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