Dual physical NIC setup

Sgt_Wirehead

Member
Jun 10, 2018
12
0
6
46
Hello Proxmox gurus,

Some years ago i was trying Proxmox with a Subscription but gave up due to not being able to configure the networking, now i am looking at Proxmox again and would like to configure dual physical NICs one for the management interface on the physical network and the other for the virtual machines to access the physical network. How would one configure this type of setup? If any one has an example config file for /etc/network that would be quite helpful.
 
You can do this on the GUI.
Node->System->Network
Just double click the second nic in the GUI and set up your config.
Then reboot your node
 
Hello Wolfgang,

Thank you for the reply...
Is this what you mean?

Code:
auto lo
iface lo inet loopback

allow-hotplug enp5s0f0

auto enp5s0f0
iface enp5s0f0 inet static
    address  192.168.1.180
        netmask  255.255.255.0
        gateway  192.168.1.1

allow-hotplug enp5s0f1

auto enp5s0f1
iface enp5s0f1 inet static
address  192.168.1.181
     netmask  255.255.255.0
     gateway  192.168.1.1
 
Now you have 2 plain nics you have to add on one nic a linux bridge.

Code:
auto lo
iface lo inet loopback

allow-hotplug enp5s0f0

auto enp5s0f0
iface enp5s0f0 inet static
     address  192.168.1.180
     netmask  255.255.255.0
     gateway  192.168.1.1

allow-hotplug enp5s0f1

auto enp5s0f1
iface enp5s0f1 inet manual

auto vmbr0
iface vmbr0 inet static
     address  192.168.1.181
     netmask  255.255.255.0
     bridge_ports enp5s0f1
     bridge_stp off
     bridge_fd 0
     mtu 1500
 
this config seems to break my xrdp service for some reason :(

and what do i add for a virtual network that is between the virtual machines only? i will be running a VM as a dhcp server for this
 
and what do i add for a virtual network that is between the virtual machines only?
You have to create a dummy bridge without physical nic.
Just add a Linux bridge on the GUI without settings.
 
thank you Wolfgang,

Now those are configured i have had to reenable ssh and xrdp. Not shure how or why they get disabled when doing this network setup. All good and working again.

Once I have this I can test the server tomorrow as its late here now.

Thank you for all the help Wolfgang.
 
Last edited:
you need to run the command as root (it is in /usr/sbin and also requires privileges) ....
 
thanks :) i was logged in as root but using 'sudo pvesm nfsscan 192.168.1.200' as root did it.

lol... had a brain fart thats all
 

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!