change net to static

This commit is contained in:
hyx 2026-02-02 13:12:23 +08:00
parent 9a5156be53
commit fed61d3d0d

View File

@ -4,8 +4,8 @@ source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
#address 10.10.12.12
#netmask 255.255.255.0
#gateway 10.10.12.1
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