Cisco – Cannot ping subinterfaces on Cisco ASA 5508

ciscocisco-asafirewallping

I am not able to ping the inside subinterface on my ASA 5508-x.

When setup this way, I am able to ping the interface:

interface GigabitEthernet1/3
 nameif inside
 security-level 100
 ip address X.X.Y.Y

When setup this way, I am unable to ping the interface:

interface GigabitEthernet1/3
 nameif inside
 security-level 100
 no ip address

interface GigabitEthernet1/3.10
 nameif inside1
 security-level 100
 ip address X.X.Y.253

Specifically, I get "Destination host unreachable." Is this a routing problem?

Edit: Here is the config for the port on the switch connecting to the ASA.

interface GigabitEthernet0/1
 no switchport
 ip address X.X.Y.254 

I have tried to configure it as a switchport with access to Vlan10. Open to trying to configure it again if necessary.

Edit: Discovered that you cannot ping from one interface from another on the ASA. Subinterfaces are treated as separate interfaces so this explains why I could not ping once I configured the inside interface as a subinterface.

Best Answer

After some research I discovered the ASA does not allow pinging from one interface to another. So this explains why I was able to ping the inside interface when it was setup on the physical port but not when it was setup as the VLAN.

Edit: I'll elaborate. If my inside interface:

interface GigabitEthernet0/2
 nameif inside
 security-level 100
 ip address 1.1.1.2 255.255.255.0

(i.e. GigabitEthernet0/2) is not setup as a VLAN and has an IP of (example) 1.1.1.2, I can ping this interface directly as long as I'm sourcing from the inside (and, of course, on the subnet).

However, if I were to setup a subinterface as the inside:

interface GigabitEthernet0/2
 no nameif
 no security-level
 no ip address
interface GigabitEthernet0/2.10
 vlan 10
 nameif inside
 security-level 100
 ip address 1.1.1.2 255.255.255.0

I would no longer be able to ping this address because it is treated as cross-interface pinging.

I found this and confirmed with a Cisco rep.

Apologies for the vague answer to begin with.