Add 3 Range IP on bridge

PServer

Member
Mar 14, 2020
34
0
6
43
Hi,

I need add 3 range IPs on one bridge (vmbr1)
for example:178.63.xx.xx and 207.48.xx.xx. 98.29.xx.xx

Can you help me?

Thanks,
 
Hi,

It's possible, but can I ask why you need those all on that bridge?

While there are some usecases, most of the time it's a bit odd.

Hi,

Thanks for you answer,
I have dedicated server from hetzner and install proxmox,
I have auto provision with (modulesgarden) I have 3 range per server and gateway should set on proxmox bridge till I can set IP on VMs.
If I make one bridge per range I shoulde change VM bridge manually and...

Please send me how I can set 3 IP range on one bridge.

Thanks,
 
Hi,
in either case you could'nt setup your network using the WebUI.
So editing /etc/network/interfaces has to be done manually.
It depends on what should be done with those 3 adresses?
Please describe your scenario and one may help.
E.g.:
1. 178.63.xx.xx just for configuring Proxmox Server?
2. 207.48.xx.xx. VM1 with public WebServices A?
3. 98.29.xx.xx VM2 with public WebServices B?
 
Hi,
in either case you could'nt setup your network using the WebUI.
So editing /etc/network/interfaces has to be done manually.
It depends on what should be done with those 3 adresses?
Please describe your scenario and one may help.
E.g.:
1. 178.63.xx.xx just for configuring Proxmox Server?
2. 207.48.xx.xx. VM1 with public WebServices A?
3. 98.29.xx.xx VM2 with public WebServices B?

Hi,

I have 3 IP range,all VMs use vmbr1 I need set all gateway on vmbr1 and all VM use this bridge for gateway.
I need set only 1 single ip from 3 range IP on vmbr1.

Thanks,
 
Just to be clear, bridges act like switches and are not routing devices.
One can assign an ip address to a bridge to define the attached network.
But routing has to be done elsewhere.
Therefore it would be helpfull, to know, what would you do with those 3 public addresses?
 
Just to be clear, bridges act like switches and are not routing devices.
One can assign an ip address to a bridge to define the attached network.
But routing has to be done elsewhere.
Therefore it would be helpfull, to know, what would you do with those 3 public addresses?

For Hetzner datacenter network mode I should this model or I should use mikrotik router.
On VMware esxi I use mikrotik but in proxmox I test and don't need mikrotik and my problem has been solved with only add IP on vmbr1.
 
if you use ifupdown2 package, you can define multiple address on same vmbrX in /etc/network/interfaces. (not available in gui yet)


But, the simply way could be to define 1 vmbr for each range. (anyway, vm on different subnets can't communicate directly without going to the gateway)
 
  • Like
Reactions: PServer
if you use ifupdown2 package, you can define multiple address on same vmbrX in /etc/network/interfaces. (not available in gui yet)


But, the simply way could be to define 1 vmbr for each range. (anyway, vm on different subnets can't communicate directly without going to the gateway)

Thanks,
This config is true?
Code:
auto vmbr1

iface vmbr1 inet static

        address  178.63.xx.xx

        address  207.15.xx.xx

        address  87.39.xx.xx

        netmask  28

        bridge-ports none

        bridge-stp off

        bridge-fd 0
 
Thanks,
This config is true?
Code:
auto vmbr1

iface vmbr1 inet static

        address  178.63.xx.xx

        address  207.15.xx.xx

        address  87.39.xx.xx

        netmask  28

        bridge-ports none

        bridge-stp off

        bridge-fd 0

with ifupdown2, use cidr for address

Code:
auto vmbr1
iface vmbr1 inet static

        address  178.63.xx.xx/28

        address  207.15.xx.xx/28

        address  87.39.xx.xx/28

        bridge-ports none

        bridge-stp off

        bridge-fd 0
 
  • Like
Reactions: PServer

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!