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
15 views

multiple vlan bridge with single IP

I have tproxy squid server(CentOS 7) and i`m trying to test on VLANs network. switch1 to switch2 connected by trunk(802.1Q). My Network switch1(vlan id 10) ------------------ server -------------------...
0
votes
0answers
19 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
1answer
40 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
1answer
62 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
0answers
47 views

How to create network bridge with VLAN and share between host, docker, and qemu?

I have a network interface enp6s0 and I define a VLAN 10 interface in /etc/network/interfaces: # Port #1 of Mellanox ConnectX-3 auto enp6s0 iface enp6s0 inet manual # Create VLAN 10 interface auto ...
0
votes
0answers
11 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
0answers
104 views

Setting up an isolated bridge with NetworkManager

The goal I have a Linux SBC (single board card) that has dual ethernet + wifi. I want to create a bridge using the two ethernet interfaces as slave interfaces. The aim is to use the device to sniff ...
0
votes
0answers
21 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 ...
0
votes
0answers
56 views

Bridge and VLAN bridge with same IP

I enabled VLAN bridge filtering and configured it like this: br-lan 10 PVID Egress Untagged 20 wlan0.0 10 PVID Egress Untagged wlan0.1 20 PVID Egress Untagged wlan0.0 and wlan0.1 are ...
0
votes
0answers
30 views

Should a VLAN interface filter ingress packets based on the VLAN ID it is assigned to?

PROBLEM: When I receive VLAN TAGGED Multicast Traffic on a VLAN Interface I am seeing messages tagged with VLAN IDs that are not the same as the VLAN ID of the interface. e.g. If I create a VLAN ...
0
votes
0answers
118 views

Debian 10 renamed network interface and vlan

I discovered that renamed interface by file /etc/systemd/network/10-unifi.link [Match] MACAddress=da:38: [Link] Name=unifi` and configured with vlan in interfaces auto unifi unifi.33 allow-...
0
votes
0answers
18 views

Setting PVID on linux distro [duplicate]

I have to insert a VLAN tag to an untagged incoming packet. In various Linux based network switches we have a provision to set the PVID of a port if the incoming packet is untagged. I am looking for ...
1
vote
0answers
196 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
215 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
126 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
233 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
59 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
135 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
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 ...
1
vote
0answers
35 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
26 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
1answer
255 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
1answer
254 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
50 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 ...
3
votes
1answer
6k 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/...
1
vote
1answer
2k 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 ...
6
votes
1answer
11k 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
169 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
926 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
770 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
353 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
106 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
475 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
73 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
942 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
96 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
628 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
244 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
594 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
579 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
118 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
416 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
199 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
813 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
1k 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
6k 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
138 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
3k 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. ...