ifupdown2: - iface: lo method: loopback routing: - "post-up ip rule add fwmark 0x1 lookup 100 2>/dev/null || true" - "post-up ip route add local 0.0.0.0/0 dev lo table 100 2>/dev/null || true" - "pre-down ip route del local 0.0.0.0/0 dev lo table 100 2>/dev/null || true" - "pre-down ip rule del fwmark 0x1 lookup 100 2>/dev/null || true" - iface: eth0 method: static address: 10.1.0.1/24 - iface: eth0.2 method: static address: 10.2.0.1/24 vlan-raw-device: eth0 - iface: eth0.3 method: static address: 10.3.0.1/24 vlan-raw-device: eth0 - iface: eth0.4 method: static address: 10.4.0.1/24 vlan-raw-device: eth0 - iface: eth0.10 method: static address: 10.10.0.1/24 vlan-raw-device: eth0 - iface: eth0.11 method: static address: 10.11.0.1/24 vlan-raw-device: eth0 - iface: eth0.12 method: static address: 10.12.0.1/24 vlan-raw-device: eth0 - iface: eth1 method: dhcp