level 8
/ec/network/interfaces设置
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0
allow-hotplug enp2s0
iface enp2s0 inet static
address 192 .168 .31.100
netmask 255.255.255 .0
gateway 192.168.31.1
2023年02月21日 05点02分