Questions tagged [vlan]
Virtual LAN(vlan) is a technique to create isolated broadcast and multicast domains at layer2 level.
144 questions
2
votes
1
answer
183
views
Bridging VLAN to untagged LAN on the same physical interface
I'm trying to accomplish something which may seem nonsensical to non-hobbyist network engineers: I need to bridge a specific VLAN with the untagged traffic on the same physical interface.
Here is a ...
2
votes
1
answer
93
views
How to mark 802.1Q ethernet frame with PCP bits according to encapsulated IP header IP Precedence bits
I would like the IP header IP Precedence bits to be copied into 802.1Q PCP bits for outgoing traffic sourced from the host in question. Specifically for iperf3 and ping utilities.
I have failed to set ...
2
votes
0
answers
119
views
Confusing about vlan on bridge and filtering
I have created on openwrt router an interface tagged with vlan id 1
On one server i have some lxc containers and I want some of them using this vlan (id 1), I have created the bridge
ip link add name ...
1
vote
1
answer
126
views
Linux server VLAN tags using SNMP
I have a number of Linux servers than I need to monitor. Each have configured a number of VLAN interfaces. Is there any way to read VLAN tags for interfaces for a Linux server using SNMP? Anything I ...
0
votes
1
answer
191
views
Access port for tagged VLAN just doesn't work for vlan aware bridge
I am on my whits end. I have a config which identically works on a different machine (different board, CPU, network adapter though):
auto eno1
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet ...
0
votes
1
answer
1k
views
how to create a persistent VLAN-aware bridge on RHEL based system (i.e. with NetworkManager)
On RHEL based systems network is supposed to be managed by NetworkManager.
I would like to build a persistent configuration of a VLAN-aware bridge that survives reboots.
Building on top of the ...
0
votes
2
answers
309
views
No internet access with IPv6 prefix delegation to vlan with systemd-networkd
I have a router that gets a /48 prefix from my ISP, and had prefix delegation enabled.
I run a (debain)server on the router's main network.
I've set up a vlan for my IoT devices on my server, for ipv4 ...
1
vote
1
answer
618
views
How do I forward VLAN-tagged Ethernet frames through a Linux bridge between two physical Ethernet interfaces?
Background
I am currently working on a device that uses a Beaglebone Black as the base board, and has a 3rd-party MAC/PHY attached to the breakout pins.
Problem
The desire is to forward all Ethernet ...
0
votes
0
answers
89
views
What's the difference between setting up bridge VLAN with `bridge` command and /etc/network/interfaces
On Debian, I noticed I can set up bridge VLANs in /etc/network/interfaces with bridge-tools installed:
auto br0
iface br0 inet static
bridge_ports enp2s0 enp3s0 enp4s0 enp5s0 enp7s0
address 192....
1
vote
1
answer
240
views
Is it possible to configure Ethertype DSA VLAN tagging on an Ethernet port that has a real PHY connection to the outside world?
I am working on an embedded system that will connect a processor running Linux to an Ethernet switch via a "conduit" Ethernet link (e.g. eth0) using the port-based Ethertype DSA (Marvell) ...
1
vote
1
answer
306
views
Marking packets in iptables based on output interface
I have an unusual setup on my server. We have three outgoing ethernet ports, all connected to a single bridge interface that we split into two VLANs:
ip link add veth type bridge
ip link set veth ...
1
vote
1
answer
7k
views
How to create a linux vlan aware bridge with ingress packets untagged and egress packets tagged
I am trying to implement an obscure workaround to a specific problem tied to a switch misconfiguration I observe in a real case scenario.
Please just assume the following :
My system is plugged to a ...
0
votes
2
answers
638
views
systemd-networkd bridge does not work with VLAN
I am trying to configure one bridge per VLAN (without VLAN filtering) with systemd-networkd for easy configuration of libvirt VMs on Debian 12.
This does work as expected without VLAN and it does work ...
1
vote
0
answers
131
views
Ignore vlan tagged packets on primary interface
I have an Ubuntu VM on ESXi with a single network interface which is a port group tagged as VLAN 4095 so it has access to all tagged VLANs. The native VLAN is 37.
I've created several vlan interfaces ...
0
votes
1
answer
2k
views
Change bridge vlan protocol from 802.1q to 802.1ad and packets start dropping
I have a bridge interface (swbridge) with vlan_protocol=802.1q. Sending tagged frame to it. I can see ARP request in Wireshark Successfully (ping request from another device), but when changing ...