Questions tagged [vlan]
Virtual LAN(vlan) is a technique to create isolated broadcast and multicast domains at layer2 level.
135
questions
0
votes
1
answer
74
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 ...
0
votes
0
answers
26
views
How can I use create a bridge network for different VLANs so my host + guest can connect to different VLANs?
My box has Debian 12, KDE, and is using Network Manager.
I am using virt-manager and want to create VMs on different VLANs on my network.
My box is connected to a port on my switch that allows VLAN 10 ...
0
votes
0
answers
14
views
What is the **openSUSE way** for using VLAN 10 for my host and VLAN 20 for guest VMs with a bridged connection and KVM?
I have a fresh install of openSUSE Tumbleweed installed on my box. During the install process I said to install KVM Hypervisor and it defauled to a bridged connection (which is what I want).
My box is ...
0
votes
0
answers
83
views
vlan with linux bridge ping not working
I want to configure the bridge br-mgmt with VLAN. I created the VLAN and bridge, then assigned IP addresses to the bridge, but ping is not working.
My netplan configuration looks like this:
server 1
...
0
votes
1
answer
94
views
Anaconda boot with a bonded interface on a tagged vlan
I am trying to do a network install of OEL 8 using a custom image. The image works perfectly when the vlan is untagged but I can't get a connection on a tagged vlan. My boot line is (with line feeds ...
0
votes
0
answers
329
views
Linux bridge and vlan configuration with Qemu/Libvirt VM
I am trying to forward traffic from my Qemu VMs to my pfSense VM with the help of vlan tagging.
I know that libvirt has no direct support for vlan traffic in conjunction with Linux bridges which is ...
0
votes
0
answers
37
views
KVM VMs get disconnected when I restart a VM
So, I have a VLAN setup in a KVM host, where I bridge a firewall WAN port to a physical eth interface, and then bridge the LAN port to an internal bridge, which has vlan subinterfaces, which ...
1
vote
1
answer
77
views
Macvtap connectivity lost after a few hours?
I setup a macvtap interface like this:
ip link add link eth0 vlan type macvlan mode bridge
ip address add 10.0.0.17 dev vlan
ip link set dev vlan up
ip route flush dev eth0
ip route flush dev vlan
ip ...
2
votes
2
answers
125
views
VLAN tagging: duplicated packets
I have a problem with VLAN tagging. I am completely newbie about VLAN so maybe there is something I misunderstood at all...
Basically: I have a Linux box configured via /etc/network/interfaces as:
...
1
vote
1
answer
286
views
packets are filtered via bridge using namespaced network card
trying to make local networking experiment, and unable to ping from within the namespaced network.
I'm using Fedora 37.
Linux dmitry-desktop 6.1.18-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 11 16:...
1
vote
1
answer
251
views
Ping from vlan bridge interface fails when specifying interface name, specifying IP address works as expected
Running into an odd issue where pinging from a VLAN interface specifying the IP address works, but when specifying the interface name it does not.
This system is running Rocky Linux 8.5 (4.18.0-348....
0
votes
0
answers
29
views
VMs on KVM on different networks
I want to have a virtual machine on KVM and want to have it on 3 different networks(vlans), but I don't want to have the host on the same networks, one of the reason is /30 network (2 valid IPs) one ...
2
votes
1
answer
656
views
How to allow VLAN untagged packet to pass through when using VLAN aware bridge
I'm using VLAN aware bridge.
I have an interface that I need that only packets with VID 10 and 20 could pass through, any other VIDs should be dropped.
I configured the interface like that:
bridge ...
0
votes
1
answer
1k
views
How to configure KVM on Ubuntu 22.04 with a trunk port?
I'm setting up a Dell R440, with Ubuntu 22.04, in a trunk port from a Cisco Catalyst Switch. Problem is that only the native vlan traffic is captured in the system.
Port configuration is the following:...
0
votes
1
answer
200
views
Prevent VAP from accessing the internet (with ebtables)
I'm trying to find a way to connect smart home devices to my local network but deny them access to the internet.
Rather than set individual rules bound to an IP address, I'm trying to create a virtual ...
0
votes
0
answers
18
views
Combine wireless and wired connection as 1 with vlan on virtual networc locally?
Does anyone know how to set up a virtual network locally that combines 2 network cards puts them on a vlan and exposes a single fake network input to the host ?
0
votes
1
answer
71
views
VLANs in bare metal servers
I have three bare metal servers; server number one and number two are within the same LAN.
I intend to set up two virtual machines (let's call them A, B) on server number one, two virtual machines (C, ...
1
vote
0
answers
34
views
Why 802.1q protocal packet auto dropped by interface?
I transfer a series of test packet with IEC61850_SV protocal in my host as follows:
01 0C CD 04 00 03 00 0C CD 04 00 00 81 00 80 01 88 BA 40 03 01 24 00 00 00 00 60 82 01 18 80 01 01 A2 82 01 11 30 ...
1
vote
0
answers
198
views
Accept all vlan tagged traffic on interface
I have the following setup. It is an ongoing setup to migrate my network in seperate vlan.
My issue is I cannot contact the ubuntu server from my laptop while connecting of wifi_admin(vlan10) but I ...
2
votes
2
answers
886
views
How to retrieve a DHCP address for a VLAN?
Context: my French ISP (Orange fibre) provides crappy routers and I replaced it with a Ubiquity ER-4 a few years back. I now would like to use a small PC running Debian 10 and systemd-networkd.
In ...
0
votes
1
answer
178
views
Is there any reason not to use a separate VAP for each client with OpenWrt?
Is there any reason not to do this if I want to have a separate PSK for each client and can't use a RADIUS server for that? Other than maybe the slight performance decrease that is intrinsic to VAP ...
3
votes
0
answers
354
views
EdgeRouter Lite OpenBSD traffic routing limits
When routing traffic between (virtual) interfaces on Ubiquiti EdgeRouter Lite it is hitting some sort of limit. I'd like to get some help to determine what sort of limit is that and how it can be ...
0
votes
0
answers
2k
views
Linux bridge, trunk and PVID
Following up my other question I'd like to clarify the following:
To configure the bridge interface rather than one of its port, the
additional keyword self is needed. The routing stack (at layer 3)
...
1
vote
1
answer
2k
views
Linux bridge with trunk ports and self bridge port
I created VLAN-aware bridge with command and add relevant interfaces:
% ip link add br0 type bridge vlan_filtering 1
% ip link set dev eth0 master br0
...
(and repeat this for eth1, eth2, eth3)
Now, ...
1
vote
1
answer
6k
views
Bonding with VLAN and bridge on Debian 11
I'm trying to configure on Linux bonding active-backup (2 physical interfaces eth2 and eth3, one is used) but also with two VLANs, and later connect it to internal bridges.
I see two options for ...
0
votes
1
answer
426
views
Can a linux dummy network device work permanently as a real network interface?
Or does it need a service or systemd to bring it up every boot? I want to manufacture, while learning, a whole NIC schematic virtually in my host to route packets with purpose and host some services ...
0
votes
1
answer
670
views
Adding a VLAN-transparent bridge to Linux (Debian)
On my current Debian system I use VLAN tagging and I create bridges br-wan and br-lan that I use for LXC containers:
auto lo br-lan br-wan
iface lo inet loopback
iface br-wan inet manual
...
0
votes
1
answer
220
views
detect if DHCPOFFER has been received
The Linux box with DHCP client does not know beforehand if it is connected to access or trunk port, so it has to determine it somehow. So I'm thinking of the following:
have the box send a ...
0
votes
1
answer
420
views
Bridge between Physical Ethernet and VLAN possible?
I would like to do something but I dont know if its possible.
I have router edgemax edgepoe4:
Eth1 : receive a tagged vlan 10
Eth2 (No TAG traffic) : no vlan define, DHCP server defines to connect ...
0
votes
1
answer
452
views
VLAN switching between trunk ports on CentOS
I am using CentOS Linux release 8.3.2011 and am struggling to set it up as a switch.
The network topology is as follows:
[switch1]--------[vsphere]--------------[centos]--------------------[vRouter]
...
0
votes
1
answer
1k
views
macvlan + vlan configured interface does ignore vlan tags
I need to config two different MAC and IP addresses on the same physical device (eth1).
But when I configure a macvlan interface in the default/global namespace and configure a vlan on top of it. I ...
0
votes
0
answers
207
views
multiple vlan bridge with single IP
EDIT.
[internet]
|
[G/W] //ip=192.168.0.1 /24
|
[switch1] //ip=192.168.0.248, vlan10 G/W =192.168.10.1, vlan20 G/W =192.168.20.1]
|
(Tagged)
|-eno3
[linux]
|-eno4
(Tagged)
...
0
votes
1
answer
1k
views
Can't get NIC bonding to work in Debian 10
I have a Dell PowerEdge T410 server with a Broadcom Limited NetExtreme II BCM5716 Gigabit Ethernet NIC and Debian 10 which I'm hoping to install Proxmox on top of. My home network is configured with ...
0
votes
1
answer
396
views
NFS stopped working after network interface card upgrade
Scroll down for latest updates.
I have an infrastructure which contains an NFS server that is hosting homes for users.
The server is running Ubuntu server, and has 10G Fiber ethernet (Myri-10G dual ...
2
votes
1
answer
255
views
How can I select the network interface for installing a program in linux?
I need to install remotely Omxplayer on a Raspberry Pi.
RPi is connected by a LTE modem through PPP0 interface.
My RPI is placed another country and I connect to Raspberry through my VPN using SSH.
My ...
0
votes
1
answer
161
views
pull WAN ip on LAN dd-wrt on native vlan
TO save wiring I currently have
DSL modem bridged to man LAN
That DSL modem can be accessed by any computer on native vlan.
Cable modem is on VLAN2
One wire goes to the Asus n66u on port 4. If i ...
0
votes
0
answers
169
views
Re-write source IP to vlan tagged IP
My setup is as follows:
PC1: IP of normal interface 10.0.0.11
IP of vlan interface 11.0.0.11
PC2: IP of normal interface 10.0.0.12
IP of vlan interface 11.0.0.12
I can ping 11.0.0.12 with no ...
1
vote
0
answers
709
views
Does libvirt support vlan aware bridges?
I am using libvirt/kvm in Debian 10 with a vlan aware bridge device, and I am stuck trying to configure the network interfaces for my VMs. Does libvirt support vlans? When I do a search the only ...
1
vote
0
answers
2k
views
Set vlan_filtering on bridge correctly ["Operation not supported"]
I'm trying to follow the answer on this question here. Yet, when I try to add a bridge with the "vlan_filtering 1" attribute:
pi@raspberrypi:~ $ sudo brctl addbr br0
pi@raspberrypi:~ $ sudo ...
0
votes
1
answer
669
views
Why I can't ping between two siblings macvlans in bridge mode?
In a Ubuntu 20.04 machine connected to my home LAN, I created macvlans under my ethernet device:
$ sudo ip link add macvlan1 link enp37s0 type macvlan mode bridge
$ sudo dhclient macvlan1
$ sudo ip ...
0
votes
1
answer
909
views
Sending vlan-tagged packets from Linux
I am novice at networking and am really new to vlan terminology. I want to separate my network to stuff and guest users depending on the switch port.
I prepared a lab with the following:
At switch I ...
1
vote
0
answers
380
views
Multiple different trunks to KVM guests
I have a host with two physical interfaces, which are in a bond0 and that bond0 is connected to bridge br0. On that bridge I have VLAN subinterfaces (without IP addresses). I need somehow to connect ...
0
votes
1
answer
3k
views
Setup the name of a VLAN interface in Debian 10
On Debian 9 I could define a VLAN in /etc/network/interface and give it a name:
auto server0
iface server0 inet static
pre-up /sbin/ip link add link enp3s0 name server0 type vlan id 40
...
1
vote
0
answers
131
views
Vlan and bridge
Is it possible to drop Vlan tagged packets received on a non-vlan interface(enslaved in a bridge) in Linux, by virtue of some configuration? Can it be done using bridge vlan ingress filter in Linux?
...
1
vote
0
answers
117
views
sending/receiving on specific port of bridge
We have an board containing an embedded switch. These devices are supposed to be used in a ERPS (https://en.wikipedia.org/wiki/Ethernet_Ring_Protection_Switching) setup, while also allowing auxiliary ...
1
vote
1
answer
814
views
Using VLANs on linux dummy interfaces
I have an application that uses raw sockets to consume all packets from multiple linux (kernel 4.14) interfaces including wireless. In an attempt to keep extraneous scripting to a minimum, I'm trying ...
0
votes
1
answer
528
views
Networking - VLAN & Router Linux
I have a setup with 1 Debian router + 1 Debian DHCP Server.
I need to create multiple VLAN on my DHCP server. From my DHCP server I have internet access.
I managed to create and set up my VLANs and ...
0
votes
1
answer
139
views
Possible Ways to Build a Virtual Private Cloud with VPS nodes
I have a number of internet based VPS nodes used for prototyping that I would like to connect together as if they were on the same secure private LAN, like a VLAN. I have been looking for ways that ...
4
votes
1
answer
17k
views
Linux VLAN-aware bridges and trunk ports
I have an ethernet port attached to a bridge:
$ brctl show
bridge name bridge id STP enabled interfaces
eth0_bridge 8000.6a612bcc4723 yes eth0
The bridge is VLAN-aware (ie /sys/class/...
3
votes
1
answer
6k
views
Linux IP bridge and vlan_filtering
I'm using DSA in Linux to support an ethernet switch (KSZ9897). The switch is behaving but I'm having trouble setting up the bridge vlan filtering features through Linux (kernel 4.19).
I create the ...