[PVE-User] Adding an Internet NIC to existing Proxmox

Steve Frazier sfrazier1111 at yahoo.com
Tue Feb 16 23:56:09 CET 2021


 Wow, thanks so much!  I will take a look and give it a try.  Thanks Stefan!
Steve

    On Tuesday, February 16, 2021, 05:40:38 PM EST, Stefan M. Radman <smr at kmi.com> wrote:  
 
 Here you go.
See interface enp9s0f0 in the config below.It also shows how to run tagged (vmbr20,vmbr30) and untagged (vmbr10) traffic on the same trunk interface.
I normally use the VLAN tag ID as the bridge identifier (e.g. vmbr20 and vmbr30).The host IP would typically be on vmbr0 and thus on the native (untagged) VLAN.
Stefan
/etc/network/interfaces:

auto lo
iface lo inet loopback

iface enp9s0f1 inet manual
# Uplink for vmbr0

auto vmbr0
iface vmbr0 inet static
        address 192.168.20.2/23
        gateway 192.168.20.1
        bridge_ports enp9s0f1
        bridge_stp off
        bridge_fd 0
# Host Management

iface enp11s0f0 inet manual
# Uplink for vmbr1

auto vmbr1
iface vmbr1 inet manual
        bridge_ports enp9s0f0
        bridge_stp off
        bridge_fd 0
# Bridge for VMs on the Internet

iface enp11s0f1 inet manual
# Uplink for vmbr2

auto vmbr2
iface vmbr2 inet manual
        bridge_ports enp11s0f1
        bridge_stp off
        bridge_fd 0
# Bridge for VMs on network 192.168.30.0/24

iface enp9s0f0 inet manual# Trunk interface carrying VLAN20 and VLAN30
auto vmbr10iface vmbr10 inet manual
        bridge_ports enp9s0f0
        bridge_stp off
        bridge_fd 0
# Bridge for untagged traffic on trunk interface
auto vmbr20iface vmbr20 inet manual
        bridge_ports enp9s0f0.20
        bridge_stp off
        bridge_fd 0
# Bridge for VMs on VLAN20
auto vmbr30iface vmbr30 inet manual
        bridge_ports enp9s0f0.30
        bridge_stp off
        bridge_fd 0
# Bridge for VMs on VLAN30
iface enp3s0 inet manual
iface enp2s0 inet manual



On Feb 16, 2021, at 21:52, Steve Frazier <sfrazier1111 at yahoo.com> wrote:
Tried it and it worked as you explained!  Thanks Stefan.  I am taking this step by step.I haven't tried the 192.168.30.0 nic yet but will shortly.
I will want to be able to trunk VLAN 20 and VLAN 30 down a NIC so that I will be able to use my VOIP phones on VLAN30 and be able to offer VLAN20 for the attached work stations, any suggestions and/or configuration file to do this?
Thanks again for your help!


On Tuesday, February 16, 2021, 01:52:54 PM EST, Stefan M. Radman <smr at kmi.com> wrote:

Hi Steve
Attached and below is an /etc/network/interfaces that should do what you want.
Just* keep interface enp9s0f1 connected to your private subnet 192.168.20.2/23* connect interface enp9s0f0 to your internet subnet* connect internet VMs to vmbr1* connect interface enp11s0f1 to your private subnet 192.168.30.2/23* connect VMs on subnet 192.168.30.2/23 to vmbr2 If you keep the comment lines (#) they'll show up in the web interface as well.
Disclaimer: I did not test it but it should give you the right idea to go ahead.
Stefan
/etc/network/interfaces:
auto loiface lo inet loopback
iface enp9s0f1 inet manual# Uplink for vmbr0
auto vmbr0iface vmbr0 inet static        address 192.168.20.2/23        gateway 192.168.20.1        bridge_ports enp9s0f1        bridge_stp off        bridge_fd 0# Host Management
iface enp11s0f0 inet manual# Uplink for vmbr1
auto vmbr1iface vmbr1 inet manual        bridge_ports enp9s0f0        bridge_stp off        bridge_fd 0# Bridge for VMs on the Internet
iface enp11s0f1 inet manual# Uplink for vmbr2
auto vmbr2iface vmbr2 inet manual        bridge_ports enp11s0f1        bridge_stp off        bridge_fd 0# Bridge for VMs on network 192.168.30.0/24
iface enp9s0f0 inet manual
iface enp3s0 inet manual
iface enp2s0 inet manual


On Feb 14, 2021, at 18:29, Steve Frazier via pve-user <pve-user at lists.proxmox.com> wrote:

From:Steve Frazier <sfrazier1111 at yahoo.com>
Subject:Re: [PVE-User] Adding an Internet NIC to existing Proxmox
Date:February 14, 2021 at 18:29:14 GMT+1
To:"pve-user at lists.proxmox.com" <pve-user at lists.proxmox.com>


Here is my "interfaces" file:
auto loiface lo inet loopback
iface enp9s0f1 inet manual
auto vmbr0iface vmbr0 inet static        address 192.168.20.2/23        gateway 192.168.20.1        bridge_ports enp9s0f1        bridge_stp off        bridge_fd 0
iface enp11s0f0 inet manual
iface enp11s0f1 inet manual
iface enp9s0f0 inet manual
iface enp3s0 inet manual
iface enp2s0 inet manual


   On Sunday, February 14, 2021, 12:14:28 PM EST, Steve Frazier via pve-user <pve-user at lists.proxmox.com> wrote:  

I need some help.  I am new to Proxmox.   I have it set up now using (1) one NIC to an internal network of 192.168.20.0/23 and I would like to use another NIC I have available for the internet which has (5) available IPs.
I have attached a view of my existing network.
I would like to set up an additional (NIC) when would allow me to assign to a virtual server that has two virtual NICs with one being the internet and the other being my internal network.
While I am at it, I have another networking 192.168.30.0/24 that I would like to assign to an available NIC so that I could assign virtual servers to that NICat a later time.
Could someone please help me on how to do this
Thanks very much.


_______________________________________________
pve-user mailing list
pve-user at lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


_______________________________________________
pve-user mailing list
pve-user at lists.proxmox.com
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.proxmox.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpve-user&data=04%7C01%7Csmr%40kmi.com%7Cfb3db335b1844cd9162208d8d10e1613%7Cc2283768b8d34e008f3d85b1b4f03b33%7C0%7C0%7C637489205732810378%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bbtAAx1zpomz3hCKtKmrW3UIFF6iyprwmGcer1Q0njQ%3D&reserved=0




CONFIDENTIALITY NOTICE: This communication may contain privileged and confidential information, or may otherwise be protected from disclosure, and is intended solely for use of the intended recipient(s). If you are not the intended recipient of this communication, please notify the sender that you have received this communication in error and delete and destroy all copies in your possession.




CONFIDENTIALITY NOTICE:This communication may contain privileged and confidential information, or may otherwise be protected from disclosure, and is intended solely for use of the intended recipient(s). If you are not the intended recipient of this communication, please notify the sender that you have received this communication in error and delete and destroy all copies in your possession.
  


More information about the pve-user mailing list