Linux网络配置的基本方法
进入Linux界面后,右击选择open terminal(打开终端)
会出现命令行窗口:
用ifconfig命令查看网络配置:
[root@localhost ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0c:29:b6:bb:ac txqueuelen 1000 (Ethernet)
RX packets 125 bytes 7500 (7.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1 (Local Loopback)
RX packets 76 bytes 6908 (6.7