我在網上找到了一個簡單的方法
- Access terminal/console 執(zhí)行終端
- Become a root if you are not already 需要root身份
- Execute “dhclient –v” command 執(zhí)行
dhclient –v命令 - You will notice it will bound IP address (certainly not as shown here) as shown below 顯示ip綁定

image.png
然后ping www.baidu.com發(fā)現可以ping通了