06-05-2018 05:20 AM - edited 03-01-2019 01:34 PM
Hello.
My question is about pinging a public IP address from an ESXi shell.
The context is the following:
- a Cisco ISR4331,
- a NIM E-Series NCE (UCSE) module inside the ISR4331,
- a VMware ESXi host installed on the UCSE.
Some configuration from the ISR4331:
interface GigabitEthernet0/0/1.60 encapsulation dot1Q 60 native ip address 192.168.3.1 255.255.255.0 ! interface ucse0/1/0
ip unnumbered GigabitEthernet0/0/1.60
no negotiation auto
switchport mode access
!
interface ucse0/1/1
no ip address
shutdown
no negotiation auto
switchport mode access
! ucse subslot 0/1
imc access-port shared-lom console
imc ip address 192.168.3.61 255.255.255.0 default-gateway 192.168.3.1
! ip route 192.168.3.61 255.255.255.255 ucse0/1/0
ip route 192.168.3.62 255.255.255.255 ucse0/1/0
Pinging the CIMC interface (192.168.3.61) and the ESXi vmk0 interface (192.168.3.62) from the ISR4331 works:
isr4331(config)# do ping 192.168.3.61 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.61, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/2/5 ms isr4331# ping 192.168.3.62 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.62, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Some commands output from the ESXi shell:
esxi_shell# esxcli network ip interface ipv4 get Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type DHCP DNS ---- ------------ ------------- -------------- ------------ -------- vmk0 192.168.3.62 255.255.255.0 192.168.3.255 STATIC false esxi_shell# ping 192.168.3.1 PING 192.168.3.1 (192.168.3.1): 56 data bytes 64 bytes from 192.168.3.1: icmp_seq=0 ttl=255 time=1.261 ms 64 bytes from 192.168.3.1: icmp_seq=1 ttl=255 time=0.715 ms 64 bytes from 192.168.3.1: icmp_seq=2 ttl=255 time=0.826 ms --- 192.168.3.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.715/0.934/1.261 ms esxi_shell# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes --- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss
I can ping the gateway (192.168.3.1) from the ESXi shell.
But I cannot ping any external address (like for instance Google's IP address 8.8.8.8).
Can you please help me find out what's wrong in my configuration?
Thank you and best regards.
06-05-2018 05:22 AM
Have you tried a traceroute to see where the traffic is getting dropped?
06-05-2018 05:23 AM - edited 06-05-2018 05:24 AM
Hello.
esxi_shell# traceroute 8.8.8.8 traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 40 byte packets 1 192.168.3.1 (192.168.3.1) 0.811 ms 0.209 ms 0.193 ms 2 * * *
30 times
Thanks.
06-05-2018 05:42 AM
Hello.
And from the ISR4331:
isr4331# traceroute 8.8.8.8 Type escape sequence to abort. Tracing the route to google-public-dns-a.google.com (8.8.8.8) VRF info: (vrf in name/id, vrf out name/id) 1 80.10.115.222 11 msec 10 msec 11 msec 2 10.123.205.206 11 msec 10.123.205.202 11 msec 10.123.205.206 10 msec 3 ae42-0.niidf301.Paris15eArrondissement.francetelecom.net (193.252.159.149) 10 msec ae42-0.niidf302.Paris13eArrondissement.francetelecom.net (193.252.159.153) 13 msec ae42-0.niidf301.Paris15eArrondissement.francetelecom.net (193.252.159.149) 11 msec 4 193.252.137.78 14 msec 16 msec ae40-0.niidf302.Paris13eArrondissement.francetelecom.net (193.252.103.38) 11 msec 5 193.252.137.78 14 msec 13 msec 16 msec 6 * * 72.14.219.114 11 msec 7 209.85.251.146 13 msec 66.249.95.102 11 msec * 8 108.170.231.5 11 msec 108.170.238.106 12 msec 66.249.94.177 12 msec 9 google-public-dns-a.google.com (8.8.8.8) 11 msec 108.170.231.3 12 msec google-public-dns-a.google.com (8.8.8.8) 11 msec
Thank you.
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