File: //proc/self/root/etc/network/interfaces
# Interface lo
auto lo
iface lo inet loopback
# Interface eth0
auto eth0
iface eth0 inet static
address 10.16.10.103/23
post-up /usr/bin/arping -U -I eth0 -q -c 1 10.16.10.103 || true
# Interface vlan2011
auto vlan2011
iface vlan2011 inet static
address 90.156.142.141/23
vlan-raw-device eth0
post-up ip route add 90.156.142.1 dev vlan2011
post-up ip route add default via 90.156.142.1 dev vlan2011
pre-down ip route del default via 90.156.142.1 dev vlan2011
pre-down ip route del 90.156.142.1 dev vlan2011
post-up /usr/bin/arping -U -I vlan2011 -q -c 1 90.156.142.141 || true