I have two virtual NICs set up in my Debian 12 VM on Proxmox 9. Both NICs are configured to use DHCP to get their IP and other network settings (except as overridden in the config, see below).
VLAN10: The VLAN that is meant to have internet access.
VLAN200: My high-speed storage network.
Now that I’m implementing more firewall rules, I’m realizing that Debian 12 (or rather, the version of ifupdown2 that ships with it) seems to have some issues letting users set a default route in a way that survives reboot.
As shown below, I want my default route to be 10.10.10.1, as that VLAN has a set of rules that allow it to access the WAN and use DHCP and DNS from the upstream firewall.
EDIT: I lose internet access if VLAN200 doesn’t have WAN access. Even though VLAN10 does have WAN access and there’s a route there, the server won’t fail over and use it.
But as you can see below, it’s setting the default route to VLAN 200 and I have no idea how to make it not do that. I tried manually setting a gateway address to designate the default gateway per some older tutorials, but that’s not going it.
I’ve also read that this might be a known issue in the version of ifupdown2 that shipped with Debian 12, but I’m not sure about that.
Diagnostic info below. Thanks for any advice. ![]()
root@memory-alpha2:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@memory-alpha2:~# uname -a
Linux memory-alpha2 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64 GNU/Linux
root
root@memory-alpha2:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp6s18
iface enp6s18 inet dhcp
gateway 10.10.10.1
dns-nameservers 10.10.10.1
root@memory-alpha2:~# ip -c a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp6s18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc fq_codel state UP group default qlen 1000
link/ether bc:24:11:48:22:88 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.47/24 brd 10.10.10.255 scope global dynamic enp6s18
valid_lft 6709sec preferred_lft 6709sec
inet6 fe80::be24:11ff:fe48:2288/64 scope link
valid_lft forever preferred_lft forever
3: enp6s19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc fq_codel state UP group default qlen 1000
link/ether bc:24:11:eb:1b:6c brd ff:ff:ff:ff:ff:ff
inet 10.10.200.9/24 brd 10.10.200.255 scope global dynamic enp6s19
valid_lft 6456sec preferred_lft 6456sec
inet6 fe80::be24:11ff:feeb:1b6c/64 scope link
valid_lft forever preferred_lft forever
root@memory-alpha2:~# ip route
default via 10.10.200.1 dev enp6s19
10.10.10.0/24 dev enp6s18 proto kernel scope link src 10.10.10.47
10.10.200.0/24 dev enp6s19 proto kernel scope link src 10.10.200.9
root@memory-alpha2:~# ifup --version
ifup version 0.8.41
...
root@memory-alpha2:~# ifdown --version
ifdown version 0.8.41
Copyright (c) 1999-2009 Anthony Towns
2010-2015 Andrej Shadura
2015-2017 Guus Sliepen
...