Questions tagged [vlan]

VLAN stands for Virtual Local Area Network, sometimes it is also abbreviated as: Virtual-LAN

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Ubuntu server vlan configure

Hi guys new to vlan on Ubuntu server. Do you need to bridge the vlan to the nic port. I have never set up a vlan on Ubuntu server on yaml
user avatar
0 votes
1 answer
111 views

How to configure Ubuntu server netplan sriov vlan tagged vf?

How do I configure vlan tags on specific SR-IOV vf interfaces with netplan? I tried the following to prove that vlan tags work on a regular interface: network: ethernets: enp94s0f2: ...
user avatar
  • 111
0 votes
0 answers
57 views

NetPlan configured VLAN in Ubuntu 18.04 cannot ping

I have an Ubuntu 18.04 server in AWS EC2, running Docker. I want to have separate network cards for each Docker container, as the app inside them needs to use the same port (5003). I added some ...
user avatar
  • 1
0 votes
1 answer
59 views

Netplan: Trunk vlans with individual gateways

Ubuntu 21.10 (Linux 5.13.0-1016-raspi aarch64) On my router, I have 3 vlans, each with their own subnets. I have set up a trunk link carrying all 3 vlans over 1 ethernet cable to my Ubuntu box. I ...
user avatar
0 votes
2 answers
499 views

Issues with 8021q while installing vlan

I am having issues using the vlan package on Ubuntu Server installed on a Raspberry Pi 4. I am running Ubuntu 21.10. I will run the command sudo apt install vlan and the package will download. When I ...
user avatar
0 votes
1 answer
526 views

How to connect Ubuntu 21.10 to tagged VLAN (netplan)

I have network VLAN: 4005 MTU: 1400 Subnet: 157.XX.XX.64/27 Gateway: 157.XX.XX.65 Netmask: 255.255.255.224 Broadcast: 157.XX.XX.95 I want to configure netplan Ubuntu 21.10 to IP 157....
user avatar
  • 105
1 vote
0 answers
123 views

Issues in creating VLAN interface using netplan on ubuntu

I have been trying to create a vlan interface on my ubuntu VM which has one network adapter. I could see that the vlan link has been successfully created, but I don't see any traffic passing through. ...
user avatar
0 votes
0 answers
94 views

Configuring VLAN QoS Mapping through netplan

I am trying to setup a VLAN via netplan with a specific QoS mapping so that I can prioritize traffic through that (virtual) interface. However, I cannot seem to find any way to do that given the ...
user avatar
  • 1
0 votes
0 answers
28 views

2 sent pkts have tag for vlan 10 & 20, one should be received on socket created on eth1.10 and another on socket for eth1.20. But it doesn't happen

The packets sent with vlan tag 10 & 20 are received on both sockets. Why I am receiving 4 packets while only 2 packets were sent and also all received packets are untagged (without vlan tag)? What ...
user avatar
  • 1
0 votes
1 answer
2k views

How to use DHCP on multiple VLANs on a single interface with netplan?

In my current network topology I have multiple VLANs - each of which has it's own routing: VLAN 10: DHCP: 10.0.10.10-10.0.10.255 Subnet: 255.255.255.0 Gateway: 10.0.10.1 VLAN 11 DHCP: ...
user avatar
  • 125
3 votes
1 answer
237 views

How many VLAN bridges does netplan support?

in a lab network I try to virtualize a router that routes between multiple VLANs [2]. The Hypervisor runs Ubuntu 20.04. However, I can only setup 21 VLAN bridges on the Hypervisor. As soon as I add ...
user avatar
1 vote
0 answers
310 views

Ubuntu 20.04.2....Bonded NICs as TRUNK interface...assign IP from a specific VLAN to the bonded NICs?

I am attempting to setup BONDED NICs (2x 10G). We have 6 total NICs, 4x 1G and 2x 10G, do not plan to use the 1G connections at this time. Looks like I have the NICs bonded (no errors in networkctl ...
user avatar
  • 11
0 votes
0 answers
179 views

double tagging network Interfaces ... failed if not auto is used

I do have a huge linux router setup. there are 3 real IFs and ~ 200 bridges with IPs and ubuntu takes to long to bring them up during boot phase.. I though no worries and removed the auto ens19.xxx ...
user avatar
1 vote
1 answer
476 views

Create VLAN to use as a single-NIC router

My goal is to run a software router (Sophos) in KVM, using a single physical NIC in an X220T for the WAN-side, LAN-side, host (Kubuntu), and any other KVM guests. I tried following https://wiki.ubuntu....
user avatar
  • 123
0 votes
1 answer
463 views

Netplan, VLANs, and Nameservers (Where does all the info come from?)

I have netplan setup for one physical interface which in turn has a single vlan subinterface. Both the untagged interface and the vlan interface are statically addressed and have appropriate ...
user avatar
1 vote
0 answers
277 views

How to add default vlan (1) to an existing interface?

In sort of a unique position here...maybe. I know how to add vlans to existing netplan configs when the default is say, 192.168.1.1 (untagged)...but what about the reverse? My netplan config: ...
user avatar
  • 111
0 votes
1 answer
273 views

VLAN / Netplan / Ubuntu / configuration for static IPs creates additional dynamic IPs

I setup a ubuntu 20.04 as a server of IOT, multimedia, ... My Network is separated in different VLANS to control where the IOT devices are allowed to talk with. The Network itself is managed with ...
user avatar
1 vote
1 answer
4k views

Ubuntu 20.04 KVM, netplan with bonding, vlan and bridges

I am preparing migration of an UBUNTU 16.04.7 server with 5 NIC's to 20.04. My testing server has 4 NIC's: 2 onboard and 2 as Intel Pro NIC. Configured in 00-installer-config.yaml. The first NIC is ...
user avatar
1 vote
1 answer
1k views

Netplan with bonded NICs and VLANS and bridges not working

I have a netplan issue. Config is below. Bond seems to be working but I cannot connect to the network VLAN128 (br128) which is bridged on bond. The hardware and bonds worked before the server upgrade ...
user avatar
0 votes
2 answers
317 views

netplan with two physical interfaces and two vlans assign wrong vlan for traffic to internet

I have the following configuration: network: version: 2 renderer: networkd ethernets: enp2s0: dhcp4: yes dhcp4-overrides: ...
user avatar
0 votes
1 answer
6k views

Netplan inconsistent indentation Ubuntu 20.04 server

I am having an inconsistent indentation problem in a netplan configuration. I would like, if possible, someone to explain to me where I'm going wrong. Thank you. The error is: /etc/netplan/50-cloud-...
user avatar
0 votes
3 answers
8k views

how to use Ubuntu 18.04 (netplan) with a VLan

I have a Netgear switch and a Unifi Seurity gateway, which together allow me to seperate my network into different vlans. For the case in point I have servers on VLAN 10. With other hardware I have i....
user avatar
0 votes
1 answer
478 views

Netbooting bare metal nodes, pass VLAN tag to the installer

I need to install Ubuntu 18.04 onto some bare metal nodes. I'm using the normal Preseed + Debian Installer process. We use VLANs and I cannot figure out how to configure the installation image to use ...
user avatar
0 votes
0 answers
4k views

ubuntu server 20.04 netplan change vlan mac address

Is it possible to change the mac address for a vlan with netplan.io .yaml? network: version: 2 renderer: networkd ethernets: eno1: dhcp4: true dhcp6: true vlans: vlan10: ...
user avatar
  • 46
0 votes
0 answers
40 views

vlc 3.0.11 is not working properly, video stuck

hp pavilion laptop, when I play a video on vlc media player video stuck specially when I try to forward or backward the video, while other media player like mpv media player working well.
user avatar
1 vote
0 answers
159 views

Connect a VirtualBox virtual machine with Ubuntu Server 20.04 to a VLAN

I want to create a game server for minecraft on my home network accessible from outside (my friends pc at their homes). To do so I created a Virtual Machine with ubuntu server 20.04 and a VLAN on my ...
user avatar
0 votes
1 answer
570 views

vlan limit in ubuntu 20.04

I'm using the same netplan file in 20 as I was using in 18. It sets up 42 vlan bridges. This works fine in 18. However, in 20, I seem to only get 22 of them assigned randomly. Is there some vlan limit ...
user avatar
  • 141
2 votes
0 answers
662 views

Missing 802.1q module from Ubuntu 18.04

I have just installed a fresh copy of Ubuntu 18.04 LTS and I needed to add support for vlan tagging. So I did follow the usual wiki and then did, apt install vlan and then when trying to load / ...
user avatar
2 votes
0 answers
147 views

Open Virtual Switch for bridging Physical network On Ubuntu Server 16.04

I am proof of concept for a client, the requirement are the following: Stretch across 2 site the ERP network (stretched VLAN), this is needed due to dated machinery that have to talk to a particular ...
user avatar
  • 31
1 vote
3 answers
12k views

Vlan over Netplan in 18.04 LTS

Disclaimer: To this day I've been a lurker, still learning and for the the first time in 2 years, I didn't find any answer to my question, thank you very much for your read and I hope you'll take some ...
user avatar
  • 11
0 votes
1 answer
160 views

Packetloss from a openVPN-client to a VLAN it's attached to

i am a bit lost with this one und would be gratefull for your help! The Setup Network consists of HP V1910-24G switches. The whole company running at VLAN-ID 100 within 192.168.2.0. The server which ...
user avatar
  • 1
0 votes
0 answers
4k views

Netplan not applying correct MTU to VLAN

OS: Ubuntu 18.04.1 LTS (server) Netplan version: 0.98-0ubuntu1~18.04.1 I'm trying to configure 2 VLANs on a single physical interface with different MTUs. I'm able to get the MTU on the physical ...
user avatar
3 votes
1 answer
5k views

Netplan static routes with Vlan interfaces

On 18.04. I'm trying to configure my server with 2 vlan interfaces. Each vlan interface will have a separate IP Address on a separate subnet, and both will be linked to same physical interface. When I ...
user avatar
0 votes
2 answers
3k views

Linux bridge as a trunk port

does anyone know if linux bridge supports passing multiple VLANS? I have seen many example like eth0.VLAN_id then add this to the BR0 for example and that works. What i am actually looking for is to ...
user avatar
  • 1,073
2 votes
1 answer
810 views

Netplan add VLAN on the fly?

On 18.04, I have figured out how to get bonds, vlans, and bridges all working similarly to ifupdown. However, I am running a KVM server, and need the ability to add tagged vlan interfaces on the fly ...
user avatar
  • 23
1 vote
1 answer
5k views

Need to add Vlans to my NetPlan Config with KVM Bridge and bonding

I have made this yaml for a 4 nic bond and a static IP but I need to add four VLANs to the bond. The VLANs are 77, 88, 99, 333 could someone help me with this config? I also use the configuration for ...
user avatar
  • 13
0 votes
2 answers
541 views

Port a working /etc/network/interface set into /etc/netplan/name.yml

I'm using two boards, one running ubuntu desktop 18.04 and one running ubuntu server 18.04. In the desktop board, I have set a vlan by writing the /etc/network/interfaces file as described below (I ...
user avatar
  • 3
0 votes
1 answer
235 views

Activation of network connection failed (VLAN)

I'm trying to set up a VLAN to test an issue. I have the following: A dell laptop running windows 7 A lenovo notebook running ubuntu from live USB with some storage preserved on it A tp-link TL-...
user avatar
4 votes
1 answer
1k views

Egg-and-chicken problem: need the VLAN package to install the VLAN package

Hello everyone! I have installed Ubuntu Server 18.04 in na Hyper-V VM (please, no flack, not my fault...) and this particular network is a VLAN. No other traffic is permitted through the relevant ...
user avatar
  • 677
0 votes
1 answer
491 views

udhcpc and VLAN settings on embedded systems

Is it a good idea to use a script for udhcpc linux busybox tool for configuring VLAN settings or is the purpose of this script related to dhcp protocol? According to the manual of udhcpc there is an ...
user avatar
  • 41