<p>命令:ifconfig</p>
<p>执行结果:</p>
<p>enp0s8: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500
inet 10.1.1.1  netmask 255.255.255.0  broadcast 10.1.1.255
inet6 fe80::a00:27ff:febc:5f0c  prefixlen 64  scopeid 0x20<link>
ether 08:00:27:bc:5f:0c  txqueuelen 1000  (Ethernet)
RX packets 6  bytes 492 (492.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 8  bytes 648 (648.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0</p>
设置新添加的网卡参数如下:IP=10111 24 网关:1011254DNS:10111;设置完成后查看该网卡的IP地址。写出查看ip地址的命令和和执行的结果

原文地址: https://www.cveoy.top/t/topic/crci 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录