Hello,
my cluster shares a public IP range assigned to bridge in a very simple config:
I need to add another new IP range and I want to keep the possibility to assign IPs in new range to VM in all nodes.
Do I have to create a new Bridge vmbr1 or it is possible to add new range to the same bridge with routing like:
Are there any pros and cons?
I would like to use the same NIC interface eno1.
Thank you.
P.
my cluster shares a public IP range assigned to bridge in a very simple config:
Code:
iface vmbr0 inet static
address 5.X.X.1 # each node has his own IP from within the range.
netmask 255.255.255.0
gateway 5.X.X.254
bridge_ports eno1
bridge_stp off
bridge_fd 0
I need to add another new IP range and I want to keep the possibility to assign IPs in new range to VM in all nodes.
Do I have to create a new Bridge vmbr1 or it is possible to add new range to the same bridge with routing like:
Code:
up ip route add 6.X.X.0/24 dev vmbr0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
Are there any pros and cons?
I would like to use the same NIC interface eno1.
Thank you.
P.