W
wally
Guest
I have seen variations of questions and answers around the forum but none addressing how to have 2 routed network in Proxmox. I am trying to find a way to have a gateway for each of the 2 Nic on my master server.
I have a network 192.168.168.0 = eth0 (vmbr0) this is the default network
10.10.10.0 = eth1 (vmbr1) based on the set up and docs so far this is set to route via 192.168.168.0 network
I would like to have 10.10.10.0 network go through a different router because as things are right now I cannot pass traffic from outside (meaning when I try to get to my servers on 10.10.10.x) via internet.
I have 2 routers 1 for 192.x.x.x the other for 10.x.x.x so what would I need to put in the /etc/network/interfaces so instead of this:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr1
0.0.0.0 192.168.168.1 0.0.0.0 UG 0 0 0 vmbr0
I would like to see:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
10.10.10.0 10.10.10.1 255.255.255.0 U 0 0 0 vmbr1
0.0.0.0 192.168.168.1 0.0.0.0 UG 0 0 0 vmbr0
This is /etc/network/interfaces presently:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.168.25
netmask 255.255.255.0
gateway 192.168.168.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 10.10.10.25
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
I would appreciate some information on doing this, I am starting to feel like what I am trying to do is not supported,, but I know this can be done on regular unix/linux. Please respond with specifics on what needs to be done. Thanks.
I have a network 192.168.168.0 = eth0 (vmbr0) this is the default network
10.10.10.0 = eth1 (vmbr1) based on the set up and docs so far this is set to route via 192.168.168.0 network
I would like to have 10.10.10.0 network go through a different router because as things are right now I cannot pass traffic from outside (meaning when I try to get to my servers on 10.10.10.x) via internet.
I have 2 routers 1 for 192.x.x.x the other for 10.x.x.x so what would I need to put in the /etc/network/interfaces so instead of this:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr1
0.0.0.0 192.168.168.1 0.0.0.0 UG 0 0 0 vmbr0
I would like to see:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
10.10.10.0 10.10.10.1 255.255.255.0 U 0 0 0 vmbr1
0.0.0.0 192.168.168.1 0.0.0.0 UG 0 0 0 vmbr0
This is /etc/network/interfaces presently:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.168.25
netmask 255.255.255.0
gateway 192.168.168.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 10.10.10.25
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
I would appreciate some information on doing this, I am starting to feel like what I am trying to do is not supported,, but I know this can be done on regular unix/linux. Please respond with specifics on what needs to be done. Thanks.