Hello everyone,
I have looked around and did not find the one solution that fits my current setup. Maybe you can help me what needs to be done to enable the additional subnet for my instance.
Here is the general network layout:
I would like to use the additional subnet for several servers in the network. Later I would like to enable ceph-Storage and turn the Proxmox PVE into a clustered setup out of three nodes.
My network config is at the moment (only subnet not working):
I am not sure, if I need to have all the subnet IPs being mentioned inside the network config. I was hoping only to point one of the network addresses towards the OPNsense firewall, but I may be wrong.
Thank you for any help.
Best regards,
Nico
I have looked around and did not find the one solution that fits my current setup. Maybe you can help me what needs to be done to enable the additional subnet for my instance.
Here is the general network layout:
I would like to use the additional subnet for several servers in the network. Later I would like to enable ceph-Storage and turn the Proxmox PVE into a clustered setup out of three nodes.
My network config is at the moment (only subnet not working):
Bash:
auto lo
iface lo inet loopback
auto enp41s0
iface enp41s0 inet static
address 65.*.*.117/26
gateway 65.*.*.65
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A PREROUTING -i enp41s0 -p tcp -m multiport ! --dport 4711,8006 -j DNAT --to 10.0.0.2
post-up iptables -t nat -A PREROUTING -i enp41s0 -p udp -j DNAT --to 10.0.0.2
iface enp41s0.4040 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/30' -o enp41s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/30' -o enp41s0 -j MASQUERADE
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/30' -o vmbr2 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/30' -o vmbr2 -j MASQUERADE
auto vmbr4040
iface vmbr4040 inet static
address 10.0.10.201/24
bridge-ports enp41s0.4040
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
mtu 1400
auto vmbr2
iface vmbr2 inet static
address 95.*.*.153
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0
I am not sure, if I need to have all the subnet IPs being mentioned inside the network config. I was hoping only to point one of the network addresses towards the OPNsense firewall, but I may be wrong.
Thank you for any help.
Best regards,
Nico