Questions tagged [vlan]

Virtual LAN(vlan) is a technique to create isolated broadcast and multicast domains at layer2 level.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 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) ...
user avatar
  • 1,409
1 vote
1 answer
40 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, ...
user avatar
  • 1,409
0 votes
1 answer
386 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 ...
user avatar
  • 111
0 votes
1 answer
82 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 ...
user avatar
0 votes
0 answers
50 views

How can I MASQUERADE between vlan bridges

I have created two VLAN bridges in openwrt based system which has single physical interface. *) eth0->lan->br-lan *) br-lan->br-lan.2(VLAN INTF)->br-vlan2(BRIDGE INTF) *) br-lan->br-lan....
user avatar
  • 1
0 votes
1 answer
160 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     ...
user avatar
  • 136
0 votes
1 answer
37 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 ...
user avatar
  • 1,409
0 votes
0 answers
36 views

Removing vlan tag from arriving frames

Is there any way to remove any vlan tag from incoming frame in case the frame meets certain conditions (f.e. ethertype or MAC address). In the linux I've mentioned may operate up to 8 vlans and it's ...
user avatar
0 votes
1 answer
132 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 ...
user avatar
0 votes
1 answer
143 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] ...
user avatar
  • 1
0 votes
1 answer
409 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 ...
user avatar
0 votes
0 answers
82 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) ...
user avatar
  • 1
0 votes
1 answer
596 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 ...
user avatar
0 votes
1 answer
126 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 ...
user avatar
  • 892
2 votes
1 answer
142 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 ...
user avatar
0 votes
1 answer
60 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 ...
user avatar
0 votes
0 answers
46 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 ...
user avatar
  • 1
1 vote
0 answers
448 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 ...
user avatar
  • 249
0 votes
0 answers
685 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 ...
user avatar
0 votes
1 answer
338 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 ...
user avatar
  • 521
0 votes
1 answer
483 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 ...
user avatar
1 vote
0 answers
260 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
0 answers
73 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? ...
user avatar
1 vote
0 answers
56 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 ...
user avatar
  • 111
0 votes
1 answer
499 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 ...
user avatar
0 votes
1 answer
407 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 ...
user avatar
  • 1
0 votes
1 answer
71 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 ...
user avatar
  • 171
3 votes
1 answer
11k 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/...
user avatar
  • 364
2 votes
1 answer
4k 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 ...
user avatar
  • 31
11 votes
1 answer
20k views

Bridged interfaces and VLAN tags

I'm trying to set up a system that joins an untagged Ethernet network to a TAP tunnel, adding a VLAN tag as the traffic moves to the tunnel. So far I have: eth0 - the physical Ethernet interface ...
user avatar
  • 364
0 votes
1 answer
359 views

Configuring a bridge leads to losing connection

I have a Linux server with three NIC that are connected to a switch (one NIC is the management, two NIC form a LACP bonding). In addition I need to use a VLAN (167), because the switch is configured ...
user avatar
  • 25
0 votes
1 answer
1k views

How to Combine a Bridge with VLAN over a Bonding and Two Default Gateways

I have a Linux server with three NIC that are connected to a switch (one NIC is the management, two NIC form a LACP bonding). In addition I need to use a VLAN (167), because the switch is configured ...
user avatar
  • 25
-1 votes
1 answer
1k views

Creating a VLan interface in SystemD, creates extra interface. What is this?

In order to substitute my ISP router, I decied to build a custom router using ArchLinux and connecting it directly to the ONT. My ISP applies QoS by seperating services into different VLANs. The ...
user avatar
3 votes
1 answer
442 views

InterVLAN between namespaces using a third namespace as a router [closed]

I need to establish connection between 2 namespaces (one has ip add 10.0.0.1/24 gateway 10.0.0.254 and the other one has ip add 20.0.0.1/24 gateway 20.0.0.254), separated in different VLANs (10 and 20)...
user avatar
0 votes
1 answer
146 views

Get Originating device(physical device) info for Packets trapped on Bridge

Lets assume below given is the set of net devices that my frame is intended to traverse over. eth0(1) -> bond0(2) -> bridge(3) -> vlan100(4). >>> (number) is the ifindex for each netdevice I have ...
user avatar
  • 51
0 votes
1 answer
744 views

Create multiple untagged virtual interface on a single physical interface

For some very specific reason, I need to create 4 virtual interfaces with different MAC address on each virtual interface, the frames from those interfaces will needs be sent over a single physical ...
user avatar
  • 197
1 vote
0 answers
18 views

Manage identical dhcp servers

I have a weird problem that needs a solution. I have many identical DHCP Servers, configured the same way, same subnet, same range, same everything (are actually some PCs) and i would like to somehow ...
user avatar
  • 203
0 votes
1 answer
117 views

Linux route selection not taking expected rule

I have the following routing rules (displayed using route -n): Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.2.1 0.0.0.0 UG ...
user avatar
  • 1,263
1 vote
1 answer
1k views

Matching vlan id and priority with ebtables

I am attempting to use ebtables to match a specific VLAN ID (non zero) along with a specific VLAN PCP value. I tried the following: ebtables -A FORWARD -p 0x8100 --vlan-id 5 --vlan-prio 3 -j DROP ...
user avatar
  • 13
1 vote
1 answer
194 views

Why do I see VLAN tag in my ARP IP packet even though I have disabled the module 8021.q in CentOS 7?

I have disabled 802.1Q module in my Cento 7 VM and did arping through one of the interface to it's gateway IP and captured packet traffic on that interface from the same VM. [root@vm1 ~]# lsmod | ...
user avatar
  • 693
3 votes
2 answers
768 views

Communication fails on DSA ethernet ports of Banana Pi R1 (Lamobo R1)

I don't get TCP/IP communication running on my Banana PI R1 on the switch ports (i.e., not the separate LAN port which shows up as eth0, which is working). It runs "Debian GNU/Linux 9.8", upgraded ...
user avatar
0 votes
1 answer
4k views

DHCP VLAN not working on the client side?

I have developed a server using Linux. The server is a DHCP VLAN server consisting of two VLANs 110 and 120. I am trying to get it working to the client side. My /etc/network/interfaces for VLAN 110 ...
user avatar
1 vote
1 answer
325 views

Hosting a simple honeypot server in each of 3 VLANs using one ethernet port

I am trying to set up a honeypot server in different VLANs. The company I work in has 3 VLANS: 10, 20, 30. My goal is to use a Raspberry Pi to host a simple honeypot and broadcast sniffer (for ARP and ...
user avatar
  • 47
4 votes
1 answer
944 views

What are "self" and "master" options for in "bridge vlan add"?

I'm reading "man bridge" and it says something like: bridge vlan { add | del } dev DEV vid VID [ pvid ] [ untagged ] [ self ] [ master ] What are "self" and "master" options for? man says: self ...
user avatar
  • 41
0 votes
2 answers
854 views

port 1556 listening on tcp6 causing issues

on my RedHat 7, i noticed that network connection for Netbackup stopped working and i tried everything including rurning off my firewall and disabled SELINUX with no luck. the only thing i noticed ...
user avatar
  • 113
0 votes
1 answer
142 views

macOS pf asymmetric routing through VLANs

I have a VLAN interface vlan0 that has a tag of 444 that has an IP of 172.16.16.16 The VLAN goes through the physical en0 interface. I have another interface mine0 that's local just to the computer....
user avatar
  • 143
0 votes
1 answer
556 views

system get wrong gateway when bonding

I have a physical system with Centos 6 as OS. In eth0 I set IP, gateway and netmask as below and the physical port is attached to a switch port that its VLAN is 12. DEVICE=eth0 TYPE=Ethernet ...
user avatar
2 votes
1 answer
276 views

Packet meta class applied, but captured VLAN priority is wrong

My linux home router sits between my ISP (Orange) and my home network. On the WAN side, Orange provide internet in a VLAN tagged 832. Some control messages (ARP, DHCP, ICMPv6 "router discovery" types,...
user avatar
1 vote
1 answer
1k views

Why would properly VLAN tagged multicast traffic not arrive on the tagged interface?

I'm working with an application that sends multicast traffic between a client and server. This traffic is sent via multicast. The client and server are both using VLAN interfaces, and need to ...
user avatar
  • 4,200