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.
c/network/interfaces.d/*
pve#
preferable Id like to use ovs for more network centric config . Im a network guy.
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
pve#
preferable Id like to use ovs for more network centric config . Im a network guy.