cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11468
Views
5
Helpful
13
Replies

Cannot ping directly connected gateway from switch and vice versa

uspstech
Level 1
Level 1

I have a ISR4321 -> 2960X -> 2960+

I can ping the 2960+ no problem but I cannot ping the 2960X from the router, and likewise cannot ping the router from the 2960X. I have checked configs, port errors etc and can't find anything wrong. configs below.

 

Router config:

interface GigabitEthernet0/0/0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
negotiation auto

 

interface GigabitEthernet0/0/0.1
encapsulation dot1Q 1 native
ip address 192.168.0.193 255.255.255.192
no ip redirects
no ip unreachables
no ip proxy-arp
ip pim sparse-mode
no cdp enable

 

2960X config:

interface Vlan1
ip address 192.168.0.197 255.255.255.192

ip default-gateway 192.168.0.193

 

2960+ Config:

interface Vlan1
ip address 192.168.0.199 255.255.255.192

ip default-gateway 192.168.0.193

 

Any ideas appreciated.

Thanks!

1 Accepted Solution

Accepted Solutions

Hello,

 

default interface Vlan1, reboot the switch, and configure the IP address again...

View solution in original post

13 Replies 13

Hello,

 

post the config of the 2960X. Is the interface connecting the 2960X to the router a trunk ?

See attached. It is not a trunk but I have tried making it a trunk on the switch side and same difference. Would I need to explicitly make it a trunk on the router side? I have not tried that since the router is vendor controlled but I can call them if need be.

Which interface on the 2960X is connnected to the router ?

Also, the 2960X is in VTP transparent mode, is that on purpose ?

interface GigabitEthernet1/0/47
description ROUTER

 

Yes it is on purpose. We set them to transparent then manually configure the VLANs on each switch.

Hello,

 

try:

 

interface GigabitEthernet1/0/47
description ROUTER

switchport mode trunk

spanning-tree portfast trunk

Still no ping:

interface GigabitEthernet1/0/47
description ROUTER
switchport mode trunk
spanning-tree portfast trunk

Hello,

 

post the output of 'show interfaces vlan 1' of the 2960X.

Vlan1 is up, line protocol is up
Hardware is EtherSVI, address is 848a.8dbf.f5c0 (bia 848a.8dbf.f5c0)
Internet address is 192.168.0.197/26
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not supported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 1000 bits/sec, 1 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
307978 packets input, 21447937 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
32961 packets output, 2427573 bytes, 0 underruns
0 output errors, 2 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out

Hello,

 

is this right ?

 

--> Internet address is 56.171.198.197/26

Sorry ignore that, I edited the post. 192.168.0.197

Hello,

 

default interface Vlan1, reboot the switch, and configure the IP address again...

That did it! pinging fine now! Thanks!!

Hello

on 2960x

Int gig 1/0/47 set as a trunk


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card