add content to /etc/network/interfaces

This commit is contained in:
hyx 2026-01-28 17:28:49 +08:00
parent ca3d7c8b02
commit c8d165f7f4

View File

@ -1,3 +1,11 @@
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.12.12
netmask 255.255.255.0
gateway 10.10.12.1
hwaddress ether 90:A9:F7:30:00:00