Access Proxmox from separate NIC port

Elderberg

Member
Nov 21, 2019
7
1
23
24
Hi, kindly seeking help with configuring a separate NIC port so that I can manage the host from a different subnet.


Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet static
        address 192.168.100.3

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.2
        gateway 192.168.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0



I can perform host management through 192.168.1.2 at the moment. I'm trying to be able to access it from a machine from 192.168.100.x/24

Thanks in advance
 
Hi, as far as I've seen, you're only missing the netmask for the second network, without that the system assumes /32 and thus it's a single IP only (for point to point connections or the like). With that the system doesn't routes over the whole 192.168.100.0/24 network, and thus isn't reachable there. But your missing that one also in the vmbr0 definition.. strange.

Please try:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
iface eno2 inet manual

iface eno3 inet static
    address 192.168.100.3/24

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.2/24
    gateway 192.168.1.1
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0
 
  • Like
Reactions: Elderberg
Brilliant! That worked like a charm. I used the GUI to make the change and I did enter the /24 but it seems it just didnt save in the /etc/network/interfaces file. (I'm running/testing the latest version 6.1-7).

I'll have to use the command line more often ..

Thanks a lot for the assistance. keep safe.
 
  • Like
Reactions: t.lamprecht

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!