christoph ender's

blog

monday the 20th of february, 2023

persistent dummy NICs

For monitoring purposes of a raspi device, which only has dynamic IP addresses assigned, I needed a virtual dummy NIC which can be assigned a static IP. In order to have this dummy0 interface avilable after boot the following configuration needs to be written to /etc/network/interfaces:

auto dummy0
iface dummy0 inet6 static
  address fd00:0:0:10::1
  netmask 64
  pre-up ip link add dummy0 type dummy