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
0answers
46 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 ...
0
votes
0answers
37 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
1answer
26 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
1answer
54 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 ...
0
votes
0answers
29 views

linux stp with trunk port

I wanted to experiment with stp on trunk ports using Linux bridge, so I created two linux bridges: # brctl addbr br1 # brctl addbr br2 and then: # ip link add veth01 type veth peer name veth02 # ip ...
1
vote
0answers
40 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
1answer
311 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
0answers
24 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
0answers
17 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 ...
0
votes
0answers
15 views

Networking between VM guest and host

I have a QEMU guest(ubuntu) running on ubuntu host machine. I have the following interfaces in the guest. A bonded interface bond0 that bonds eth0 and eth1 of the guest. The bond0 of guest has 2 vlans ...
0
votes
1answer
125 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
0answers
29 views

Multiple links between bridges on different VLANs and STP

I've got two bridges with two pairs of virtual ethernet devices joining them to different VLANs. The setup looks something like this: Or in text form: $ brctl show bridge name bridge id STP ...
0
votes
0answers
140 views

Bridge port VLAN tagging

I have two bridges configured. I'm trying to add a veth pair between them, configured so that untagged traffic on one bridge is carried on the other bridge with VLAN tag 5. So far I have this: $ ...
0
votes
1answer
96 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
1answer
42 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 ...
2
votes
1answer
3k 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/...
0
votes
1answer
1k 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 ...
0
votes
0answers
22 views

Linux: One interface receive or send both taged and untaged traffic

I want to configure a virtual interface to send and receive the traffic with a VLAN-tag of 3000. And configure other virtual interfaces to send and receive the Ethernet traffic without any VLAN-tag. ...
4
votes
1answer
6k 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 ...
0
votes
1answer
99 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 ...
0
votes
1answer
460 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 ...
-1
votes
1answer
515 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 ...
3
votes
1answer
277 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)...
0
votes
1answer
79 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 ...
0
votes
1answer
322 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 ...
1
vote
0answers
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 ...
0
votes
1answer
51 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 ...
1
vote
1answer
703 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 ...
1
vote
1answer
80 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 | ...
3
votes
2answers
496 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
200 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 ...
4
votes
1answer
378 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 ...
0
votes
2answers
477 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 ...
0
votes
1answer
97 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....
0
votes
1answer
304 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 ...
2
votes
1answer
166 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,...
1
vote
1answer
681 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 ...
3
votes
2answers
755 views

nftables / iptables rules to rewrite source IP by interface

I have a physical network with a Linux server (Ubuntu 16.04, kernel 4.13) and several gadgets on it. Each gadget has the same unchangeable static IP, e.g. 192.168.0.222/24. I would like to ...
3
votes
1answer
5k views

Linux bond with VLAN question

Do you think following configuration make sense? Does BONDTING_OPT supported in VLAN interface? I want to make sure my interface fails over when the upstream device down. ifcfg-bond0 $ cat /etc/...
0
votes
1answer
132 views

The name of the VLAN is abnormal when added to the eth1

When the VLAN is added to the Linux, the VLAN Dev name of VLAN ends normally with the network card. As a result, the abnormal VLAN ends up with the rename word. normal: abnormal: commands: ...
0
votes
0answers
2k views

Creating VLAN Bridge for KVM Virtual Machines

Original Question: I need to run a KVM based VM with a few VLANs going through a single vNIC. How to create a bridge on a Ubuntu/CentOS host machine that can handle VLAN tagged traffic (i.e. ...
2
votes
1answer
1k views

Bonding of virtual network interfaces

Is it possible to bond virtual network interfaces? If yes, how? Bonding of physical interfaces is explained here for example: https://wiki.linuxfoundation.org/networking/bonding My situation is this:...
4
votes
2answers
1k views

Backup and restore of Centos network interfaces

I have a server running Centos 7 which needs to be rebooted to upgrade some software. Some of the physical NICs have around 5-10 VLAN interfaces each. They're subject to change on a weekly/monthly ...
0
votes
3answers
45 views

How to reach an IP in a VLAN when there is no interface in that VLAN on my server? [closed]

We have a VLAN_ID that is not in the /etc/sysconfig/networking/ifcfg-* files. We need to reach an IP from this VLAN. How can we reach this VLAN if there is no interface on the server with this ...
1
vote
1answer
630 views

Iptables NAT / Kernel IP forwarding limited to ~10Mbit

I am currently setting up my iot router and ran into some issues regarding connection speed. The router itself is a cascading router. My Internet speed is 100Mbit which I verified by directly ...
1
vote
1answer
873 views

Need to DNAT mac based on vlan and destination IP match.

ebtable rule is not allowing me to specify vlanid and ipv4 protocol in one rule. Also I tried this but the second rule is not getting matched for vlan packet. ebtables -t nat -A PREROUTING --vlan-...
1
vote
1answer
178 views

Virtual LAN with VPN [closed]

I have a DigitalOcean server, a paid VPN provider, and multiple personal machines I'd like to be able to communicate with securely over the internet. In my ideal scenario, I'd have my DigitalOcean ...
0
votes
2answers
39 views

Virtual LANs in memory for several virtual machines on one host

Suppose I have host machine with no NIC. I would like to run several virtual machines on it and connect them with totally virtual LANs in between. I want many machines and many LANs. I would like to ...
1
vote
0answers
240 views

VLAN tag insertion on outgoing packet

I am working to insert vlan tags for some client macs on outgoing packets via native vlan. I have tried nh_hooks IN, OUT and Forward but didn't get any success. Can I either: add the tag to the ...