Double physical NIC on server

lucentsound

New Member
Sep 20, 2018
6
0
1
59
Hi again to all,
as i said in another post i’m newbie of Proxmox and moving my first steps.

I have a problem to understand proxmox networking.

The server, on which proxmox is installed, has two physical ethernet interfaces and are both connected to the switch (eno1 e eno2).
The proxmox is reachable via web at 192.168.135 address.

This is the output of cat /etc/network/interfaces command:

upload_2018-10-19_19-30-14.png


The first thing I don’t understand is why eno 2 interface appears to be in NO ACTIVE state as you can see from this screenshot:

upload_2018-10-19_19-32-20.png

The second think I don’t understand is the relation between the physical interfaces of the server host and the network interfaces of the VM.

For example I installed Pfsense on a VM and ceated 2 network interface for it, net0 and net1


upload_2018-10-19_19-36-9.png

These interfaces are linked to the physical interface eno 1 and eno2?

Please help me to understand.

Thank to all for the support.
 
Hi,

eno2 have no bridged port, e.g. see vmbr0 with bridged port eno1

Your last picture with pfsense Hardware have two network cards with the bridge vmbr0.
Bridge vmbr0 use the physical port eno1 (see second picture).

Pfsense net0 -> vmbr0 -> eno1
Pfsense net1 -> vmbr0 -> eno1
vm network card -> bridge -> physical port

eno2 is at the moment unused.
 
Hi Lars, thank you
How can i activate the eno2 port?
On Pfsense i would like to use a port to WAN and the other for the LAN, so i think i should connect net0 to eno1 and net1 to eno2
Is it true? (at the moment the two virtual port share the same cable to te switch)
 
Hi,

"Is it true? (at the moment the two virtual port share the same cable to te switch)"
Yes, you use only vmbr0/eno1 to connect WAN/LAN.

go to your proxmox host -> system -> network
click on create -> linux bridge
The name of the bridge ist vmbr1, type in at bridge port eno2
If you want, you can enter an IP-Adress for your host (without gateway or empty the gateway in vmbr0)
Reboot your proxmox.

At Pfsense click on net1 network card and change from vmbr0 to vmbr1

At the end looks like:
Pfsense net0 -> vmbr0 -> eno1
Pfsense net1 -> vmbr1 -> eno2
 
Hi Lars, thank you very much for your support.
It works!!
And now i have understood more how networking works.
Thanks again.
 

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!