Duplicated route

mow

Member
Nov 3, 2022
231
24
23
Hi,
I just upgraded to pve 7.4 (iso) and, as I had to reboot anyway, added a dual 10GbE card.
Unfortunately, the lower port on the card turned out to be ens3f1 and not ens3f0 as I thought.
So I had to move the IP to the other port.
After that, it still didn't work.
Turns out applying the changes moved the IP but didn't delete the route, so I ended up with two routes for the same net:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default fritz.box 0.0.0.0 UG 0 0 0 vmbr0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 ens3f0
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 ens3f1

After deleting the stale route manually with route del -net 192.168.3.0/24 ens3f0, everything works.
But that should happen automatically when an IP is removed from an iface, right?
 
But that should happen automatically when an IP is removed from an iface, right?
It should. What we dont know is what you did here:
So I had to move the IP to the other port.

Unfortunately you did not capture or present the state of "ip a", so we dont know whether you really moved the IP.
I recommend closely examining your network configuration file and then rebooting. If everything is fine - chalk it up to a fat finger somewhere along the way.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!