firmware/general/overlay/etc/network/interfaces.d/eth0:1

6 lines
124 B
Plaintext

manual eth0:1
iface eth0:1 inet static
address $(fw_printenv -n ipaddr || echo 192.168.1.10)
netmask 255.255.255.0