Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vlan]

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

1
vote
1answer
12 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
91 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
41 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 ...
0
votes
0answers
69 views

Tagging inteface traffic to VLAN in Linux based virtual router

I have alpine linux running on virutalbox which works as gateway for my other virtual instances resides on the virtualbox. technically alpine running as virtual router with ip forwarding and ...
1
vote
1answer
30 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 ...
3
votes
0answers
87 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
74 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
56 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
35 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
35 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
171 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 ...
2
votes
2answers
222 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
1k 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
65 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
51 views

How to tagg the outgoing packets with the correct VLAN ID?

I have a virtual machine CentoS running on VMware workstation 12 player on my PC (windows 7) and i am trying to configure the VM to be able to reach my client network. Please see the attached photo ...
0
votes
0answers
824 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. ...
0
votes
0answers
78 views

VLAN tag not being applied to traffic

I have an interface setup (ens33) on the network 192.168.17.0/24 (DHCP). I've setup a seperate VLAN interface (ens33.4) on the network 192.168.5.0/24. Both interfaces come up fine and I'm able to ...
2
votes
1answer
582 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:...
2
votes
3answers
372 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
34 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
370 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
0answers
203 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
103 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
28 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
174 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 ...
1
vote
0answers
282 views

Running Linux as a switch, but switch not receiving ARP reply

I am trying to get Linux to function as a switch by bridging two network interfaces together, but do not appear to get to ARP replies to flow back. My topology is as follows: [Client 1] -- [Linux ...
0
votes
2answers
1k views

Difference between ip link add … vlan and bridge vlan add vid…?

I am getting into details of VLANs on Linux and I came across those 2 commands: [root@machine ~]# bridge vlan add vid 100 dev em1 [root@machine ~]# ip link add link em1 name em1.100 type vlan id 100 ...
1
vote
1answer
524 views

Isolating ports on a router

A discussion with the manufacturer stated this configured is not supported or even possible with the router's hardware and OS.
1
vote
1answer
376 views

How to add an alias IP to a VLAN interface in FreeBSD

How can I add an alias to a VLAN interface in FreeBSD? I tried the following, but it seems to be ignored: # /etc/rc.conf vlans_igb0="vlan42" create_args_vlan42="vlan 42" ifconfig_igb0="up" ...
3
votes
1answer
2k views

Setup VLAN on linux bridge for virtual machines with systemd

I want to switch to systemd and with this I have to setup the linux bridge for my virtual machines in KVM to use VLAN. Having Debian GNU/Linux 9.1 (stretch), using its systemd-networkd and libvirt. ...
1
vote
0answers
216 views

Second VLAN interface starts down

I'm trying to set up multiple VLANs on a connection between a server and a router. The server is running Arch Linux. I'm using netctl to set these up. The problem is that the second VLAN interface (...
0
votes
1answer
113 views

When to tag physical ports on private VLANs?

8 port router over two switches (4+4) Using kernel 2.6.x I'm trying to setup private VLANs to enable port isolation on this router. Each physical Ethernet port should only be able to communicate ...
0
votes
1answer
389 views

How to restrict the VLAN tags permitted on a bridge

I am using FreeBSD 11.1-RELEASE. I setup bridge0 to bridge two interfaces. I want to only pass VLANs 40-90 on this bridge. How can I do this? I am looking into using pf, but I would think the network ...
0
votes
1answer
670 views

How do I view VLAN tagged packets with any ID?

I'm trying to sniff with tshark on debian and I want to see all the traffic, but I'm missing the VLAN traffic. I can manually configure the interface to add VLAN 10 to eth0 interface and then query ...
1
vote
1answer
1k views

Network Interface VLAN static addressing

I have been trying to configure the static IP addresses with Ubuntu 16.04 Dabian version. The network as follows in the graph I have been failing to ICMP (ping echoing) between the Client and the ...
1
vote
2answers
3k views

Routing table for multiple vlans on single nic

In my server I have two nics, eth0 that's a dedicated interface and eth1 that's has configured as trunk on my vmware. In eth1 I need to create multiple vlan's. I was able to do it but I can't redirect ...
1
vote
0answers
469 views

Cross-queries from VLANs in dnsmasq

I have recently added several VLANs to my lab's network. While some of them have been put in place for purely administrative purposes, there is also a guest VLAN which I would like to keep completely ...
0
votes
0answers
1k views

Find vlan in RedHat Linux

I am using command tcpdump -nvvvei eth0 -U| grep -i vlan to find vlan in RedHat Linux. It is working for physical servers but not in virtual servers. Do we have any other way to find it?
0
votes
0answers
59 views

Edit VLAN tag of an existing interface

I want to edit an interface's VLAN tag on the fly. networksetup can create and delete VLAN interfaces. I can go this route if I have to but I would prefer editing the tag on an existing VLAN instead ...
2
votes
0answers
53 views

How does vlan driver pass vlan info to the h/w ethernet driver

I'm trying to implement vlans on a target programmatically. But first I wanted to set up vlans manually to help get a better understanding of vlan setup. So I setup a vlan manually on my development ...
1
vote
0answers
64 views

Can't configure vlan on device

I'm new at vlan implementation. I'm trying to manually configure a vlan on my target device. I use these 2 vlan config commands, then I ping an IP address and sniff the packets to look for the vlan ...
1
vote
1answer
800 views

configure multiple ip on same vlan on centos 7 machine

My existing network file looks like below # cat ifcfg-ens1.200 DEVICE=ens1.200 BOOTPROTO=static ONBOOT=yes IPADDR=172.16.2.10 NETMASK=255.255.255.0 USERCTL=no NETWORK=172.16.2.0 VLAN=yes How to ...
0
votes
1answer
2k views

Creating a VLAN

I want to connect three of my computers in a LAN as nodes in a single VLAN. How do I do it? I know I can create a VLAN using the vconfig add [interface name] [vlan id] command. But how do I ...
0
votes
1answer
452 views

linux policy routing; Sending arp for off network IPs instead of sending traffic to gateway

I'm in need of some assistance troubleshooting a policy routing issue. I have a linux host with multiple VLANs. I'm trying to create a unique routing table for each VLAN and I can ping ...
0
votes
1answer
432 views

Using router with openwrt as AP to EdgerouterX

I have an old router that I managed to install openwrt on it. My router is EdgerouterX from Ubiquiti. I want to use the openwrt router as an AP connected to the Edgerouter. I need the AP to provide ...
2
votes
0answers
480 views

bridges, VLANs and RSTP

I tried to figure out how to setup RSTP on Linux with VLANs and bridges involved and now am completely confused. I am trying to bridge three interfaces, two of which are supposed to act as trunk (...
1
vote
1answer
47 views

Assigning, or binding, a Redhat user to use specific VLAN id

I'm using NIS to manage users on a Redhat 6.6 closed network. We use multiple VLANs in the closed network. Is it possible to assign privileges or somehow permit specific users to utilize a VLAN while ...
0
votes
1answer
1k views

Bonded *and* primary & virtual IP addresses *and* VLAN tagged

Red Hat 5 Family & Red Hat 6 Family. I haven't found documentation for anyone who has successfully set up an LACP pair, put two IP addresses on it, and then tagging the primary and Virtual IP ...
0
votes
1answer
2k views

ping from a vlan-device got Destination Host Unreachable

I up a vlan device eth0.100 as 192.168.1.100. The eth0 have address 10.137.16.108 It looks work good when I ping with address. $ ping 10.137.16.108 -I 192.168.1.1 PING 10.137.16.108 (10.137.16....
3
votes
0answers
477 views

10GBit Ethernet network mesh switch with brouting and “VLAN”

I want to create a mesh network with 10GBit Ethernet links between servers and a switch stack capable of distributed trunking. In this scenario for a number n>2 (but typically 2<n<6) imagine:...