02-22-2017 07:55 PM - edited 03-08-2019 09:28 AM
I have two switches, switch01 and switch 02 is both connected through f0/1, switch01 is 2960 switch, switch 02 is 3850 switch
switch01# int f0/1, sw mo tr ,
int f0/2 sw ac vl 10,
int vlan 10, ip add 12.12.12.1 255.255.255.0
switch02#int lo0 ip 2.2.2.2 255.255.255.0
int f0/1, sw mo tr ,
int f0/2 sw ac vl 10,
int vlan 10, ip add 12.12.12.2 255.255.255.0
now in switch01, I can't: ping 12.12.12.2, also can't ping 2.2.2.2, I don't want dynamic routing protocol, how to ping with each other?
02-22-2017 09:16 PM
02-23-2017 01:55 AM
This is a experiment, no other devices , configuration are in the original post, no other config, as simple as that
02-23-2017 04:56 AM
Hi try to shutdown/no shutdown the interface vlan 10 and verify if the interface are UP UP running: show interface status or show ip interface brief. Also you can verify if the vlan 10 is passing through the trunk interface executing show interface trunk. If you need to ping a different subnet you need a layer 3 devices (like router or multilayer switch) to enable the communication between them.
02-23-2017 06:21 AM
Is routing enabled on the 3850?
If not, you won't be able to ping between your two different subnets. Additionally, the 3850 may ignore the SVI for VLAN 10 as you have a loopback defined and a L2 switch only has one management IP.
If routing is enabled on the 3850, the 2960s's default gateway would need to be 12.12.12.2 for it to ping 2.2.2.2.
02-23-2017 06:59 PM
Pls give me the command:
(1) to enable ip routing
(2)default gateway would need to be 12.12.12.2
also i need to remove loopback ip in 3850?
Thanks,
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