First, type “nmcli d” command in your terminal for quick list ethernet card installed on your machine:
Type “nmtui” command in your terminal to open Network manager. After opening Network manager chose “Edit connection” and press Enter
choose you network interfaces and click “Edit”
DHCP configuration
Choose “Automatic” in IPv4 CONFIGURATION and check Automatically connect check box and press OK and quit from Network manager.
Reset network services:
service network restart
桥接: