02-13-2015 08:04 AM - edited 03-07-2019 10:38 PM
Hi all
I got an problem with a trunking problem between Router 2811 and C2960 switch
In router 2811 - I created f0/0.1 10.65.20.1 (VLAN 1) and f0/0.48 10.65.23.1 (VLAN 48)
In C2960 - Vlan 1 10.65.20.30 , VLAN 48 10.65.23.30
Finally I can only ping VLAN 1 IP but fail to ping VLAN 48 IP, can help me how to troubleshoot it?
Hugo
Router 2811 Configuration:
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 10.65.20.1 255.255.255.0
!
interface FastEthernet0/0.48
encapsulation dot1Q 48
ip address 10.65.23.1 255.255.255.0
C2960 Configuration:
interface FastEthernet0/24
switchport mode trunk
02-13-2015 08:22 AM
Hugo,
Besides creating interface Vlan 48 on your Catalyst 2960, did you also create the vlan 48 itself? This sounds like the VLAN 48 was not created and so the interface Vlan 48 was inoperable.
Best regards,
Peter
02-13-2015 08:24 AM
Well I think we have covered everything between us :-)
Jon
02-13-2015 09:05 AM
Jon,
LOL, yes indeed :)
Best regards,
Peter
P.S.: It is so good to see you here again!
02-13-2015 12:41 PM
2960_24#sh ip int br
Interface IP-Address OK? Method Status Protocol
Vlan1 10.65.20.31 YES NVRAM up up
Vlan48 10.65.23.31 YES NVRAM up up
02-13-2015 08:23 AM
Ping from where ie. what device and what IP does it have ?
Have you set the default gateway on the client correctly ?
Can you post a "sh int trunk" from the switch.
Jon
02-13-2015 12:40 PM
2811#sh vlans
Virtual LAN ID: 1 (IEEE 802.1Q Encapsulation)
vLAN Trunk Interface: FastEthernet0/0.1
This is configured as native Vlan for the following interface(s) :
FastEthernet0/0
Protocols Configured: Address: Received: Transmitted:
IP 10.65.20.1 388873 262275
Other 0 1723
390760 packets, 71854310 bytes input
263998 packets, 53723195 bytes output
Virtual LAN ID: 48 (IEEE 802.1Q Encapsulation)
vLAN Trunk Interface: FastEthernet0/0.48
Protocols Configured: Address: Received: Transmitted:
IP 10.65.23.1 0 0
Other 0 20
0 packets, 0 bytes input
20 packets, 1883 bytes output
2960_24#sh int trunk
Port Mode Encapsulation Status Native vlan
Fa0/24 on 802.1q trunking 1
Gi0/1 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/24 1-4094
Gi0/1 1-4094
Port Vlans allowed and active in management domain
Fa0/24 1,48
Gi0/1 1,48
Port Vlans in spanning tree forwarding state and not pruned
Fa0/24 1,48
Gi0/1 1,48
02-13-2015 12:50 PM
Ping from 2960 to 2811 (VLAN 1)
2960_24#ping 10.65.20.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.65.20.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
Ping from 2960 to 2811 (VLAN 48)
2960_24#ping 10.65.23.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.65.23.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Ping from 2960 to 2811 (VLAN 48)
2960_24#ping 10.65.23.1 source vlan 48
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.65.23.1, timeout is 2 seconds:
Packet sent with a source address of 10.65.23.31
.....
Success rate is 0 percent (0/5)
Ping from 2811 to 2960 (VLAN 1)
2811#ping 10.65.20.31
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.65.20.31, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Ping from 2811 to 2960 (VLAN 48)
2811#ping 10.65.23.31
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.65.23.31, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Ping from 2811 to 2960 (VLAN 48)
2811#ping 10.65.23.31 source f0/0.48
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.65.23.31, timeout is 2 seconds:
Packet sent with a source address of 10.65.23.1
.....
Success rate is 0 percent (0/5)
02-13-2015 12:59 PM
Is the switch only meant to be L2 ie. no L3 routing between vlans ?
If so pick one of the vlans on the switch and then shutdown the other vlan interface.
Then add this to your switch -
"ip default-gateway x.x.x.x"
where x.x.x.x is the router IP address assigned to interface for the vlan that you still have up on your switch.
Jon
02-13-2015 01:02 PM
2960_24#sh run | inc gateway
ip default-gateway 10.65.20.1
02-13-2015 01:07 PM
Can you shutdown the vlan interface for vlan 48 on the switch and then try pinging from the switch to 10.65.23.1 on the router.
Jon
02-13-2015 01:07 PM
Tried but failure
02-13-2015 01:09 PM
Can you post the output of "sh ip route" from the switch.
Jon
02-13-2015 01:13 PM
No "sh ip route" for 2960
2960_24#sh ip ?
access-lists List IP access lists
accounting The active IP accounting database
admission Network Admission Control information
aliases IP alias table
arp IP ARP table
auth-proxy Authentication Proxy information
device Show IP Tracking Hosts
dhcp Show items in the DHCP database
host IP host information
http HTTP information
igmp IGMP information
interface IP interface status and configuration
local IP local options
nat IP NAT information
port-map Port to Application Mapping (PAM) information
redirects IP redirects
sla Service Level Agreement (SLA)
sockets Open IP sockets
source IP source
ssh Information on SSH
traffic IP protocol statistics
verify Ip verify
02-13-2015 01:18 PM
Did you see my last post ie. don't shutdown the interface then bring it back up, leave it shutdown.
Jon
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