cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5440
Views
0
Helpful
22
Replies

Unable to ping from Cisco 9300 CLI

chueymtz
Level 1
Level 1

I have a network with 21 9300 L3 routers, I'm confused as this is my first time setting these up, they are able to ping the internet  from the vlans but when i try to ping from the cli 8.8.8.8 it fails, it only works from the main 9300 at our hq that is the only one that can ping 8.8.8.8 from the CLI. I've tried to match the configuration from all of our switches but it doesn't seem to allow me to connect. I initially added a static route but that didn't work and then i added a default gateway but that also did not work. Note: all of the switches come back to the hq switch by fiber.

22 Replies 22

balaji.bandi
Hall of Fame
Hall of Fame

As per the information here is my observation :

 

1. Device able to ping 8.8.8.8 ( end device like PC right ?)

2. and you able to ping Main switch (HQ) this proved  that this switch acting as Layer 3 for all the VLAN

 

3. May be rest of all device acting as Layer 2 ( with only Layer 3 for management vlan - this is my assumption)

 

can you remove any confidentail information and post the config for the device now working :

 

show ver

show run

show vlan

show ip route

show ip interface brief

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I've attached the conif files for each hq is the one that is working properly, sr is the one that isn't

Thank you for the information :

 

HQ - i believe you connected to Internet

SR we take brach that one not working.

 

HQ Te 1/1/1  - 1/0/1 ( SR) connected please confirm

 

on SR

 

interface GigabitEthernet1/0/1
description
no switchport
ip address 10.76.200.22 255.255.255.0
ip nat outside   <-- why you have NAT here, i do not see any where you have NAT inside ?) if no nat remove this
speed 100
duplex full

 

If you learning routes from IGP EIGRP : then you do not need below static route (until you want to)

 

no ip default-gateway 10.76.22.1  (this is not need for sure)
ip route 0.0.0.0 0.0.0.0 10.76.2.10

 

 

do this suggest and test it ?

are you sure  SR Switch users connected to port (PC working Internet ?)

 

 

still not working you need to change some more settings :

 

why VLAN 100 and 200 have different IP range ?  (i can understad you segmenged Router port between switch) - is there any reason ?

 

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank you Balaji,

 

I removed the nat i was researching online and that was a recommendation

 

I also removed the gateway

 

The network is segmented as anything on the 10.76.x.x (VLAN 100) network has internet, anything on the 172.16.x.x. (VLAN 200) network is on a closed network no internet access, this is because it is a scada system at water plants. This is how i inherited this network not sure why anything was done this way.

I removed the nat i was researching online and that was a recommendation
I also removed the gateway

ok what is the outcome of this ? is this working as expected ?

 

The network is segmented as anything on the 10.76.x.x (VLAN 100) network has internet, anything on the 172.16.x.x. (VLAN 200) network is on a closed network no internet access, this is because it is a scada system at water plants. This is how i inherited this network not sure why anything was done this way.

ok we understand this most plants does this to make secure prevate network.

 

Since you have p2p configured switch to switch on ASA (if you are not running any EIGRP) you need to send static Route back to SR switch IP address towards 10.76.200.2

 

Now what we need is,

 

take small paper and pend write small network what connected where ?

now what is not working ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

ok what is the outcome of this ? is this working as expected ?

-no, it is still working the same

 

Since you have p2p configured switch to switch on ASA (if you are not running any EIGRP) you need to send static Route back to SR switch IP address towards 10.76.200.2

- So we do have a checkpoint firewall in place and there is no routing configured in there only rules. I've added a static route to 10.76.200.2 and that doesn't work either

 

My vlans are working correctly at all plants, the main issue is that when I try to license cisco I am unable to because the SR switch is not able to ping cisco or 8.8.8.8 from the putty cli, but on the HQ router I am able to ping and it is allowing me to license. I hope that makes sense.

 

I suggest to open checkpoint smart dashboard

 

ping from switch and see is that request coming to checkpoint ? what is the status Deny or permit. (what IP address you see there)

 

check any routing required back to your HQ Switch.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

--> when i try to ping from the cli 8.8.8.8 it fails, it only works from the main 9300 at our hq that is the only one that can ping 8.8.8.8 from the CL

 

From which source IP are you pinging ? Make sure that from whatever source address you ping, that address is NATted (translated) at the network edge. What IP address is the HQ pinging from ?

Reza Sharifi
Hall of Fame
Hall of Fame

If you are able to ping 8.8.8.8 from the user vlan/subnet and not the switches, that is because the user subnet is NATed and not the management IP subnet you are using on the switches. So, if you want to be able to ping from the switches, you have to add that subnet to whatever device is doing the NAT for you. BTW, it is not a good practice to expose your switches management subnet to the outside world. 

 

HTH

Thank you, i'm not sure how nated works sorry I'm really really new to this. The main issue is that I am trying to register the switches/router and since it can't ping out it isn't allowing me to register the devices on the cisco portal. I can do this manually but I'd like to figure out why it isn't working correctly.

Looking at your config, you have configured the same address on both switches. See below:

interface Vlan100
description Admin
ip address 10.76.22.1 255.255.255.0

ip default-gateway 10.76.22.1

ip route 0.0.0.0 0.0.0.0 10.76.2.10

 

interface Vlan100
description Admin
ip address 10.76.22.1 255.255.255.0

ip route 0.0.0.0 0.0.0.0 10.76.2.10

 

So, keep the HQ the same and change the other one to a different IP that is not being used:  example:

interface Vlan100
description Admin
ip address 10.76.22.5 255.255.255.0

ip route 0.0.0.0 0.0.0.0 10.76.2.10

 

 

Also, on the same switch, delete the below statement since you already have a default route installed.

ip default-gateway 10.76.22.1

no ip default-gateway 10.76.22.1

 

HTH

Thank you, for the vlan100 the ip's should be different SR is 10.76.22.1 and HQ is 10.76.2.1.

Thank you, for the vlan100 the ip's should be different SR is 10.76.22.1 and HQ is 10.76.2.1.

but that is not what is in the config you posted. Also, if this is for admin (description Admin) why do you need a different subnet per switch.

Simply, pick one subnet and assign ips to different switches from the same subnet just like the example I posted.

 

HTH

Than you Reza, so the reason there are 2 vlans Controls vlan has no internet access on any machines it is a closed network for security reasons, admin vlan has internet and is used on computers that are used for clocking in and out email etc. I inherited this network very recently so I can't really roll out changes like that. Not really sure on why it was setup this way with the subnetting and I have no way of getting that info from previous engineer.