2 IP blocks

MacFresno

Member
Apr 30, 2017
7
0
6
29
Hello,
I have a cluster where I'm currently using a /25 block, I have ran out of IPs so I want to start using a second block with a diferent router address, but when I configure a new VPS with an IP of the new block and it's gateway it does not work, I don't have conectivity.
vmbr0 on each node have configured an IP of the first block.

How it's the proper way of have VPS with IPs belonging to diferent IP blocks?


Example:
IP block 1:
1.1.1.2 - 1.1.1.126
gateway 1.1.1.1

IP block 2:
1.1.2.2 - 1.1.2.126
gateway 1.1.2.1

Node 1:
vmbr0 ip: 1.1.1.11 gateway: 1.1.1.1

Node 2:
vmbr0 ip: 1.1.1.12 gateway: 1.1.1.1

Node 3:
vmbr0 ip: 1.1.1.13 gateway: 1.1.1.1

If I put a VPS with: ip: 1.1.2.35 and gateway: 1.1.2.1 connected to vmbr0 on a node I can't get connectivity.

Many thanks in advance.
 
I have a cluster where I'm currently using a /25 block, I have ran out of IPs so I want to start using a second block with a diferent router address, but when I configure a new VPS with an IP of the new block and it's gateway it does not work, I don't have conectivity.
vmbr0 on each node have configured an IP of the first block.

How it's the proper way of have VPS with IPs belonging to diferent IP blocks?


Example:
IP block 1:
1.1.1.2 - 1.1.1.126
gateway 1.1.1.1

IP block 2:
1.1.2.2 - 1.1.2.126
gateway 1.1.2.1

Node 1:
vmbr0 ip: 1.1.1.11 gateway: 1.1.1.1

Node 2:
vmbr0 ip: 1.1.1.12 gateway: 1.1.1.1

Node 3:
vmbr0 ip: 1.1.1.13 gateway: 1.1.1.1

If I put a VPS with: ip: 1.1.2.35 and gateway: 1.1.2.1 connected to vmbr0 on a node I can't get connectivity.

The main question is if the router address 1.1.2.1 is correctly defined and connected.

If so the above configuration should work. If still not there is maybe somewhere a firewall which blocks.
 

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!