How to manually select management interface

robp2175

New Member
May 30, 2020
3
0
1
49
When I installed proxmox it chose eno2 as the management interface, and maybe I am being a little OCD but I want it to use eno1. However, everytime I try to configure it using eno1 I lose my connection to the box. It also used the wrong subnet and I just ignored it during setup thinking it would be easy to change after the fact.

This was my default config
auto lo
iface lo inet loopback

iface eno1 inet manual

auto eno2
iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.0.200/24
gateway 192.168.0.1
bridge-ports eno2
bridge-stp off
bridge-fd 0


I am trying to do this:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.100.300.11/24
gateway 10.100.300.1
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.0.200/24
bridge-ports eno2
bridge-stp off
bridge-fd 0


but when I do I lose all connections and need to revert back. It just does not make sense to me. I have been working with Linux networking for many many years, but something here is different. Networking connectivity on both interfaces is confirmed working.
 
Also, no matter what I seem to do, I can not get the web interface to come up on the 10.100.300.0 subnet when I also have an interface on the other subnet. Whenever I have a connection working on the other subnet, it INSISTS on making that one the management network where the web interface lives. Very frustrating.
 
** I should also note that eno1 and eno2 are configured exactly the same on the switch.

For example, I can communicate with the device on both networks using this config

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto eno2.100
iface eno2.100 inet manual

auto eno1.100
iface eno1.100 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.100.300.11/24
bridge-ports eno1.100
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.0. 200/23
gateway 192.168.0.1
bridge-ports eno2
bridge-stp off
bridge-fd 0


However, I can't access the web on 10.100.300.11, only on the 192.168 network. What am I missing?
 
The management interface always binds to 0.0.0.0, so it is available everywhere. If you don't like it, just create a firewall rule to prevent access to the ports.
 

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!