Hi all,
I'm tryin to configure 2 interfaces with 2 IP's, one of them has access to the outside, one is internal. What I'm trying to do is have server accessible only using internal IP, while keeping external IP to pull updates, etc. Since only one gateway is allowed, I cannot figure out how to properly configure this with post-ip or some rule. I know having 2 gateways are not allowed.
here is current configuration:
I'm tryin to configure 2 interfaces with 2 IP's, one of them has access to the outside, one is internal. What I'm trying to do is have server accessible only using internal IP, while keeping external IP to pull updates, etc. Since only one gateway is allowed, I cannot figure out how to properly configure this with post-ip or some rule. I know having 2 gateways are not allowed.
here is current configuration:
Bash:
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eno12399np0 inet manual
iface eno12409np1 inet manual
iface eno8303 inet manual
iface eno8403 inet manual
auto vmbr0
iface vmbr0 inet static #--> this should be used to access the internet to pull updates, upload ISO images, also enabled pull updates within the VM's
address 7*.*.*.243/24
gateway 7*.*.*.254
bridge-ports eno12399np0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static #--> this should be used as pve access, i.e on :8006 or ssh. This work and no issues
address 10.20.0.2/24
gateway 10.20.0.254
bridge-ports eno12409np1
bridge-stp off
bridge-fd 0