07-04-2022 01:14 PM
Hi there
I've been using CML for a few months so I'm not an expert on it quite yet so maybe the solution is simple. I can't seem to be able to ping a VLAN interface.
Just as a simple demonstration, I hooked up two IOSvL2 switches together and gave them each an address in the 192.168.1.0/24 subnet on VLAN 1. I enabled ip routing globally on both devices but I cannot ping either switch.
I know the switch is called IOSvL2, but I can ping using a routing protocol like EIGRP or OSPF. Just wondering if this is a bug or not.
Thanks
07-04-2022 01:19 PM - edited 07-04-2022 01:41 PM
I do not see any bugs, ( i am using vIOS - (vios_l2-ADVENTERPRISEK9-M), Version 15.2) - works as expected.
how have you connected these 2 devices to each other?
post below information :
show run (both the devices)
show IP interface brief
show cdp neigh
show IP route
07-04-2022 02:12 PM
SW1:
show run
hostname SW1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
interface GigabitEthernet0/0
negotiation auto
!
interface GigabitEthernet0/1
negotiation auto
!
interface GigabitEthernet0/2
negotiation auto
!
interface GigabitEthernet0/3
negotiation auto
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
!
ip forward-protocol nd
!
ip http server
ip http secure-server
--------------------------------------------------
cdp
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2 Gig 0/0 130 R S I Gig 0/0
Total cdp entries displayed : 1
-------------------------------------------------
ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/2 unassigned YES unset up up
GigabitEthernet0/3 unassigned YES unset up up
Vlan1 192.168.1.1 YES manual up up
-------------------------------------------------
ip route
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, Vlan1
L 192.168.1.1/32 is directly connected, Vlan1
----------------------------------------------------
SW2:
show run
hostname SW2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface GigabitEthernet0/0
negotiation auto
!
interface GigabitEthernet0/1
negotiation auto
!
interface GigabitEthernet0/2
negotiation auto
!
interface GigabitEthernet0/3
negotiation auto
!
interface Vlan1
ip address 192.168.1.2 255.255.255.0
!
ip forward-protocol nd
!
ip http server
ip http secure-server
----------------------------
cdp
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW1 Gig 0/0 137 R S I Gig 0/0
Total cdp entries displayed : 1
--------------------------------
ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/2 unassigned YES unset up up
GigabitEthernet0/3 unassigned YES unset up up
Vlan1 192.168.1.2 YES manual up up
------------------------------------
show ip route
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, Vlan1
L 192.168.1.2/32 is directly connected, Vlan1
07-04-2022 02:20 PM
i do not see any issue with config, save config, reload both the switches and test.
07-04-2022 02:26 PM
I appreciate the suggestion, unfortunately I tried that numerous times to no avail.
I'm guessing this is a weird bug that is occurring, but I'm not sure how to fix it.
07-04-2022 02:32 PM
show version
here is my show version :
show version
Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20190423)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to V152_6_0_81_E
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 23-Apr-19 04:48 by mmen
ROM: Bootstrap program is IOSv
SW1 uptime is 56 minutes
System returned to ROM by reload
System image file is "flash0:/vios_l2-adventerprisek9-m"
07-05-2022 07:28 AM
SW1 show version:
SW1#show version
Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Experimental Version 15.2(20200924:215240) [sweickge-sep24-2020-l2iol-release 135]
Copyright (c) 1986-2020 by Cisco Systems, Inc.
Compiled Tue 29-Sep-20 11:53 by sweickge
ROM: Bootstrap program is IOSv
SW1 uptime is 6 minutes
System returned to ROM by reload
System image file is "flash0:/vios_l2-adventerprisek9-m"
It looks like my show version is slightly different, but I don't know if that's important or not.
07-05-2022 08:20 AM
Your is latest than mine, i wil wipe the node and re-create a Lab and test it..
some time virtual give lot problems. but your config is very simple to work as expoected.
07-05-2022 09:12 AM
I appreciate the help
I'm wondering if I have to rebuild the whole server and start from scratch. That is something I don't really want to do, but if I have no choice then I have no choice.
07-05-2022 09:39 AM - edited 07-05-2022 09:39 AM
i am not suggesting to rebuild, delete the nodes and re-create the lab and test it.
07-05-2022 09:56 AM
Unfortunately I tried that several times. Still can't do a simple ping unless I have a routing protocol enabled.
07-05-2022 10:59 AM
I rebuilt the lab and still the same results. I took two routers and put the same config on them and they ping just fine. I then moved the cable to connect one switch to one router and the ping actually responded using the same configuration.
02-15-2023 01:18 AM
i'm a bit late on that but i ran into the same today. when you take a look on the SVI mac-address, you'll see that SW1 and SW2 has the same
bug description: Port-channels do not come up in IOSvL2 nodes. (also applies to SVIs).
Hope that helps
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