I installed my laptop in "developer workstation" mode with the XFCE interface and everything else.
There is one thing that I cannot do for the moment, it is a "bond0 active-backup" with a wifi and ethernet card.
I am putting my current "interfaces" file to you.
I tried the modifications below but without success:
The Wifi card wlo1 is managed by network manager without dhcp (in manual).
I have also attempt to use the "laptop mode" with this instruction : Debian Bonding
There is one thing that I cannot do for the moment, it is a "bond0 active-backup" with a wifi and ethernet card.
I am putting my current "interfaces" file to you.
Code:
# 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
allow-hotplug enp111s0
iface enp111s0 inet dhcp
# metric 1000
## VMBR-WAN
auto vmbr0
iface vmbr0 inet static
address 192.168.199.254
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
metric 1000
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.199.0/24' -o enp111s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.199.0/24' -o enp111s0 -j MASQUERADE
## VMBR-VLAN
auto vmbr211
iface vmbr211 inet static
address 192.168.211.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr212
iface vmbr212 inet static
address 192.168.212.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr213
iface vmbr213 inet static
address 192.168.213.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr214
iface vmbr214 inet static
address 192.168.214.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr215
iface vmbr215 inet static
address 192.168.215.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr216
iface vmbr216 inet static
address 192.168.216.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr217
iface vmbr217 inet static
address 192.168.217.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr218
iface vmbr218 inet static
address 192.168.218.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr219
iface vmbr219 inet static
address 192.168.219.211
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
I tried the modifications below but without success:
Code:
allow-hotplug enp111s0
iface enp111s0 inet manual
auto bond0
iface bond0 inet dhcp
slaves enp111s0 wlo1
bond_miimon 100
bond_mode active-backup
## VMBR-WAN
auto vmbr0
iface vmbr0 inet static
address 192.168.199.254
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0
metric 1000
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.199.0/24' -o bond0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.199.0/24' -o bond0 -j MASQUERADE
The Wifi card wlo1 is managed by network manager without dhcp (in manual).
I have also attempt to use the "laptop mode" with this instruction : Debian Bonding