interface configuration

maesdamian

New Member
Nov 6, 2018
6
0
1
35
Hello

I just upload a proxmox server, I'm totally new in this and in linux, I got stuck and out of fear I do not move forward, the query is this

From a proxmox server, I have "x" virtual machines of which I want to have private and public ip (the public ones I already have them ready to put), currently if I have a private network, but I do not know how to add the other interface if it is the case , what I think is serious, if someone corrects me in good time


auto lo
iface lo inet loopback
iface eno1 inet manual
+iface eno2 inet manual
+
+iface eno3 inet manual
+
+iface eno4 inet manual
+
auto vmbr0
iface vmbr0 inet static
address 172.17.1.8
@@ -12,8 +29,11 @@
bridge_stp off
bridge_fd 0
-iface eno2 inet manual
-
-iface eno3 inet manual
+auto vmbr1
+iface vmbr1 inet static
+ address 98.113.xx.xxx
+ netmask 255.255.255.0
+ bridge_ports none
+ bridge_stp off
+ bridge_fd 0
-iface eno4 inet manual
 
In general it could look OK, hard to tell for sure as one would need to know the exact interfaces (ip addr) and which physical interface should be private and which one public.

should the private network be for node (server) internal use only? Then this is OK:

bridge_ports none

Else, if you have a separate network switch for your private network you need to specify the respective physical interface here, e.g. eno2

Then just add an additional network interface to each virtual machine with vmbr1 as respective bridge.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!