2 IP blocks

MacFresno

Member
Apr 30, 2017
7
0
6
30
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.