help with network config

PmUserZFS

Well-Known Member
Feb 2, 2018
96
5
48
I want to change my mgmt, to eno1. eno1 is cpnnected to a switchport with access vlan , untagged mgmt vlan, aka switchport access.

enp2s0 is a 10gbe card that is connected to a trunkport with native vlan 1, which it got a dhcp lease from.
I want to set lxc and vms here on different vlans.

Code:
pve# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!


auto lo
iface lo inet loopback


auto enp2s0
iface enp2s0 inet manual


auto eno2
iface eno2 inet manual


auto eno1
iface eno1 inet static
        address 10.99.1.5/24


auto vmbr0
iface vmbr0 inet static
        address 192.168.1.180/24
        gateway 192.168.1.1
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094


source /et
c/network/interfaces.d/*
pve#


preferable Id like to use ovs for more network centric config . Im a network guy.

1703979264984.png
 

Attachments

  • 1703979382975.png
    1703979382975.png
    32.2 KB · Views: 0

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!