Troubleshoot DHCP service issues
If you are troubleshooting make sure you have enabled logging and changed the mode to debug or error etc. This sends the logs to the syslog server configured for the ESG.
You must restart the DHCP service on client virtual machines in the following situations:
- You changed or deleted a DHCP pool, default gateway, or DNS server.
- You changed the internal IP address of the NSX Edge instance
To check the DHCP Service from the command line:
To see any DHCP leases from the command line:
To see the DHCP service config from the command line: show config dhcp
Troubleshoot DNS service issues
On the Edge Services Gateway (ESG) the DNS service is for external upstream DNS servers that the ESG can relay requests for clients. If you are troubleshooting make sure you have enabled logging and change the logging level, this sends the logs to the configured syslog server.
To see the DNS service status: show service dns
To see the DNS service commands available run a show service dns ?
Troubleshoot NAT service issues
If you are troubleshooting you can enable logging on a per NAT rule basis as shown below. This will push the NAT log to the syslog configured on the ESG.
To see the NAT config from the command line: show config nat
A show log follow might be useful while troubleshooting NAT services.