Score:1

Virtual machines not working with 802.1X - Linux Bridge

pt flag

I am experimenting 802.1X in my home lab. I have most stuff working but one problem I have is with virtual machines not being able to authentication onto the network using 802.1X. There is very little information online about it but from the odd bits it seems like its possible.

I am using Proxmox as my hypervisor, which is Debian under the hood. I have managed to configure Proxmox to authentication itself with 802.1X using wpa supplicant. Its just the VMs which cant. The following link explains why the VMs cant and gives a solution to making it work by setting the forward mask:

https://interestingtraffic.nl/2017/11/21/an-oddly-specific-post-about-group_fwd_mask/

I have set the forward mask but its still not working for some reason. Hoping someone has either done this before or someone knows Linux bridging well enough to help me.

My current config:

 # The loopback interface:
auto lo
iface lo inet loopback



# The first network interface:
auto eno1
iface eno1 inet manual


# The bridge:
auto vmbr0 # Auto start the bridge at boot

# Use this section for a static IP:
#iface vmbr0 inet static
#  address 172.20.0.60/22
#  gateway 172.20.0.1
#  bridge_ports eno1
#  bridge_stp off
#  bridge_fd 0

# Use this section for DHCP:
iface vmbr0 inet dhcp
  bridge_ports eno1 # Which ethernet port(s) to use for the bridge. Space separated list.
  bridge_stp off # Spanning tree
  bridge_fd 0 # Forwarding delay
  post-up echo 8 > /sys/class/net/vmbr0/bridge/group_fwd_mask

# 802.1X settings:
wpa-iface eno1
wpa-bridge vmbr0
wpa-driver wired
wpa-conf /etc/wpa_supplicant.conf



# The second network interface:
iface eno2 inet manual

I have also posted on the Proxmox forum but really I think the question is more general Linux bridge stuff rather than being specific to Proxmox.

Any help would be greatly appreciated.

Tipex avatar
pt flag
This link is also relevant as its what I used to get Proxmox to authenticate using 802.1X. See last section: https://help.ubuntu.com/community/Network802.1xAuthentication
Arrow Root avatar
sm flag
Hey, not related to your question, but I hope it can help you with your future questions: https://unix.meta.stackexchange.com/questions/4086/psa-please-dont-post-images-of-text
Tipex avatar
pt flag
Thanks for the suggestion @ArrowRoot. I have swapped the image out for text.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.