My environment consists of a Cisco WS-3750-24T-S L3 switch, a Cisco 3825 integrated services router, and a host connected to the switch. The host is a virtual machine in ESXi that is tagged as VLAN 30, and its physical NIC is connected to GigabitEthernet1/0/13 on the switch. Port 13 on the switch is configured as a trunk, as I plan on having multiple virtual machines tagged as different VLANs connecting to the switch via that port. The host in question has an IP address of 10.2.30.10, and its default gateway is set to 10.2.30.2 (which is the IP address of the VLAN interface on the switch).
The switch has a trunk port at GigabitEthernet1/0/23 that is configured to pass all VLAN traffic to port GigabitEthernet0/0 on the Cisco 3825 router. I have configured GigabitEthernet0/0.30 on the router to have an IP address of 10.2.30.1. All traffic is passed to the "WAN" interface of the router, which is GigabitEthernet0/1 and is set up to receive an IP address via DHCP from the rest of my environment.
The router is able to ping Google's DNS servers (18.104.22.168) without an issue. Any host that is connected directly to the router through GigabitEthernet0/0 and configured with a correct static IP address is also able to ping Google's DNS servers. However, the problem that I am experiencing is that the L3 switch is not able to ping Google's DNS servers, nor is the host connected to the switch.
I have enabled detailed packet debugging, ARP debgging, and ICMP debugging on the switch. When I attempt to ping Google's DNS servers from the host connected to the switch, I receive the following:
IP: s=10.2.30.2 (local), d=22.214.171.124, len 60, unroutable ICMP type=8, code=0
Based upon the troubleshooting that I have done so far, I believe that I am having some sort of NAT issue, when I use the
show ip nat translations command on both the router and switch, I receive an empty response. I have also used the
debug ip nat command to see there are any NAT-related error messages that appear when I attempt to ping an external IP address, but I have not noticed any messages at all.
Thank you in advance for any and all help!