[SOLVED] bridge for pve communication

piviul

Active Member
Mar 19, 2020
50
3
28
Good morning sirs, I have a cluster with 2 proxmox nodes that communicates using a bond1 link connection:
Code:
# ip address | grep bond1
3: eno2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond1 state UP group default qlen 1000
7: ens3f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond1 state UP group default qlen 1000
12: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    inet 192.168.255.1/24 scope global bond1
Now I would like to access to this LAN from one of the VM managed by the cluster (the switch is a managed switch an I would like to access the web configuration page of the switch from one of the VM). The only solution I0ve found is to remove the ip address from the bond1 and create a bridge having 192.168.255.1/24 IP address and bond1 as a bridge port. It's correct? I have to pay some particoular attention during this process or can I make this changes even in production?

Thank you very much

Piviul
 
As a first suggestion - check out the reference documentation about the network config - this should explain most concepts quite well and give you a few pointers where to look:
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysadmin_network_configuration

The only solution I0ve found is to remove the ip address from the bond1 and create a bridge having 192.168.255.1/24 IP address and bond1 as a bridge port. It's correct?
sounds like a correct approach

or can I make this changes even in production?
touching the network config always has the potential for service disruption - if in doubt I would schedule a maintenance window for such things

Apart from that it is possible to reload the network config if you have installed ifupdown2 (the GUI has the 'Apply Configuration' button) - but this can also lead to a downtime if you misconfigure something

if possible I would also suggest to reboot the system after a network change - that way you know that it will work later as well

I hope this helps!
 
Thank you very much Stoiko, ifupdown2 was installed and I have applied changes and all had worked perfectly even after the reboot.

Have a great day!

Piviul
 
  • Like
Reactions: Stoiko Ivanov

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!