Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Switch Question

Hi. I have a 2960 switch connected to a 4500 L3 switch. Below are further details.

2960

int g0/24

switchport mode trunk

switchport trunk allowed all

int vlan1

ip add 10.1.1.2 255.255.255.0

no shut

ip default-gateway 10.1.2.254

4500

int vlan 2

ip address 10.1.2.254

no shut

int gi1/6

switchport mode trunk

switchport trunk encap dot1q

no shut

*both ports are up/up

*from the 2960, i can ping vlan 1,10.1.1.2

The problem is that i am unable to ping the default gateway, 10.1.2.254 from the 2960.

I would really appreciate any help regarding this.

5 REPLIES

Re: Switch Question

Hi

Can u check whats the encap on 2960 and confrim,make sure that its dot1q.

Thanks

Mahmood

New Member

Re: Switch Question

2960 is set to dot1q by default.

Re: Switch Question

Hi

if u look at ur configs u have created the SVI for vlan 2,it should be created for vlan 1 due this its not working.

Thanks

Mahmood

New Member

Re: Switch Question

Yup, you gotta VLAN mismatch.

New Member

Re: Switch Question

Hi,

1. check encapsulation on 2960 whether it is dot1q

2.give ip address to vlan 1 in network 10.1.2.0 255.255.255.0 on 2960

3.you are able to ping vlan 1 ip from 2960 because it is present on 2960 switch itself.

Thanks & regards,

suryakant chavan.

127
Views
5
Helpful
5
Replies
CreatePlease to create content