astolia 写了: ↑2019-03-15 22:56
你在图形界面里是怎么设置的?看的是什么教程?你又配置了些什么?你的网卡又是什么?看着你写了一大段,全部都是废话,什么有价值信息都没有
不好意思,具体设置信息如下:
图形界面:
下面第一个图
/etc/network/interfaces和/etc/systemd/resolved.conf文件:
下面第二个图
命令行相关信息:
$ dmesg | grep Ethernet
[ 2.871096] i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version 2.7.29
$ ifconfig -a
enp97s0f0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b0:60:66:dd:04:aa txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
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
enp97s0f1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b0:60:66:dd:04:ab txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
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
enp97s0f2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b0:60:66:dd:04:ac txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
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
enp97s0f3: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b0:60:66:dd:04:ad txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
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<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 968985 bytes 76352266 (76.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 968985 bytes 76352266 (76.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlx30b49e8c9c72: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::4cc4:370e:66ee:7d7b prefixlen 64 scopeid 0x20<link>
ether 6a:b0:6e:8c:9e:76 txqueuelen 1000 (Ethernet)
RX packets 19468 bytes 13908076 (13.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16035 bytes 2011722 (2.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
可见,我设置完之后,ifconfig -a显示网络并没有配置,为什么会这样?