Basic CTs Network

Antonino89

Member
Jul 13, 2017
76
1
6
36
Hi Guys,

i finished to set up my own environment, thanks also your help, now it time to set the network.

As you can see in the images attached, i have a node with two physical interfaces, i need to map the interface eth0 (vmbr0) of the CT to the ens192 (vmbr0) of the server.

i need to set an IP address on the eth0 (vmbr0) of the CT first right? A valid IP for sure..

Then i need to configure some forwarding on the Server in which is installed proxmox?

Actually i can SSH Server1 through the ens192 (vmbr0), so i want to ssh the CT too using the same network (But different ip for sure...)

An if i set an IP address on the container, nothing happens...

Thanks

Anto
 

Attachments

  • Schermata 2017-08-22 alle 15.07.53.png
    Schermata 2017-08-22 alle 15.07.53.png
    247 KB · Views: 8
  • Schermata 2017-08-22 alle 15.08.07.png
    Schermata 2017-08-22 alle 15.08.07.png
    279.9 KB · Views: 8
Last edited:
If the network connected to ens192 offers DHCP you can let the container use that. If it doesn't or you don't want the IP to change, you can set a static IP in the configuration dialogue of net0/eth0. Remember, if you assign a static IP, to specify it in CIDR notation. Otherwise the container can't know the subnet mask.
For you network that would be for example (assuming I guessed the numbers correctly)
Code:
IP: 192.168.100.17/24
Gateway: 192.168.100.1
Edit:
If you want the container to be publicly accessible and only have a single IP available on ens224 you'll have to fiddle with port forwarding on the host.
 
Last edited: