cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
414
Views
0
Helpful
5
Replies

two swicth connectivity

petercinvest
Level 1
Level 1

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?

                

5 Replies 5

azibnaseem
Level 1
Level 1

Hey petercinvest  '

Please share the Topology & configuration of both switches.

Regards'

This is a experiment, no other devices , configuration are in the original post, no other config, as simple as that

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.




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

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,

Review Cisco Networking for a $25 gift card