Set statiic IPs for interfaces

This commit is contained in:
Christer Warén
2025-08-26 08:11:46 +03:00
parent b889bd2054
commit 89d03c5141

View File

@@ -12,9 +12,13 @@ allow-hotplug enp0s25
iface enp0s25 inet dhcp
auto enp0s25.20
iface enp0s25.20 inet dhcp
iface enp0s25.20 inet static
address 192.168.2.10/27
gateway 192.168.2.1
hw-mac-address 90:1b:0e:5b:18:fb
auto enp0s25.69
iface enp0s25.69 inet dhcp
iface enp0s25.69 inet static
address 192.168.69.20/26
gateway 192.168.69.1
hw-mac-address 90:1b:0e:5b:18:fc