Test whether the LAN can communicate with the public network

1. Test the ability to access the external network: curl -l http://www.baidu.com
2. Test the ability to access the external network: wget http://www.baidu.com
3. Check the public IP: curl members.3322. org/dyndns/getip
Note: The ping command may not correctly reflect the network capabilities of the system

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324842939&siteId=291194637