Sorry for silly questions, I'm new to networking.
Here is my /etc/network/interfaces from the Proxmox host:
And here are my network settings on the terminal server (LXC, Ubuntu 16.04, XRDP):
Here eth0 is connected to vmbr0 and so on.
The point is to use eth0 for administrator's needs, eth1 to connect via RDP, eth2 to connect this container with the other one, with database on it, for better performance.
Sadly, I don't know how to setup eth2, so containers see each other and use this connection by default for work with databases.
Here is my /etc/network/interfaces from the Proxmox host:
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.100
netmask 255.255.255.0
gateway 192.168.10.1
network 192.168.10.0
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.10.101
netmask 255.255.255.0
gateway 192.168.10.1
network 192.168.10.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
Code:
auto eth0
iface eth0 inet static
address 192.168.10.110
netmask 255.255.255.0
gateway 192.168.10.1
auto eth1
iface eth1 inet static
address 192.168.10.111
netmask 255.255.255.0
gateway 192.168.10.1
auto eth2
iface eth2 inet static
The point is to use eth0 for administrator's needs, eth1 to connect via RDP, eth2 to connect this container with the other one, with database on it, for better performance.
Sadly, I don't know how to setup eth2, so containers see each other and use this connection by default for work with databases.
Last edited: