[PVE-User] Adding an Internet NIC to existing Proxmox
Stefan M. Radman
smr at kmi.com
Tue Feb 16 19:52:51 CET 2021
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 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
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<mailto:pve-user at lists.proxmox.com>> wrote:
From: Steve Frazier <sfrazier1111 at yahoo.com<mailto: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<mailto:pve-user at lists.proxmox.com>" <pve-user at lists.proxmox.com<mailto: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<mailto: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<mailto: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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: interfaces.txt
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20210216/721cc75e/attachment.txt>
More information about the pve-user
mailing list