People who code: we want your input. Take the Survey

Questions tagged [vlan]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
62 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 ...
1
vote
0answers
38 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 ...
0
votes
0answers
47 views

How to use LACP with 802.1q?

Greeting! I'm trying to use 802.1q over LACP. Environment env-1) Cisco WS-C2950-24 f0/3 <-> HP DL360p eno2 Ubuntu20.04 env-2) Cisco WS-C2950-24 F0/4-5 <-> HP DL360p eno3-4 Ubuntu20.04 ...
0
votes
0answers
47 views

Netplan with one bond but multiple vlans in seperate file

Installed Ubuntu 20.04 and tried to understand the past few days the netplan configurations. The basic settings I get to work, but I am unable to achieve the below. Would be great if you can guide me ...
0
votes
0answers
431 views

How to configure vlan id for a sub-interface in linux / ubuntu?

I'm trying to configure a subinterface ( eth1:10 ) in one of my linux vm with vlan id. Not sure why its not working, the same set of commands is working for parent interface eth1. Below commands ...
0
votes
0answers
31 views

Disabling non-tagged interface and only using VLANs

I am connecting to the internet over Ethernet. I have created a VLAN interface using the steps here, which is working. My /etc/network/interfaces entry looks like this: auto eth0.20 iface eth0.20 inet ...
0
votes
0answers
52 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 ...
0
votes
1answer
133 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....
0
votes
0answers
72 views

Route VLAN to external VPN server on Ubuntu router

I’ve subscribed to a VPN service (vpn.ac) and I would like to route a specific VLAN to that server so that I don’t need a VPN client on the device (specifically I would like my Nvidia Shield android ...
0
votes
1answer
339 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 ...
1
vote
0answers
110 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: ...
0
votes
1answer
96 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 ...
0
votes
0answers
65 views

How can I serve DHCP requests to physical machines that are connected to the physical adapter of my host?

I have a problem with DHCP server inside a VLAN. So my configuration is this: enp0s9 is a bridged adapter with static IP address of 192.168.100.1/24 enp0s9.102 is a VLAN I created and it contains DHCP ...
1
vote
1answer
2k 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 ...
1
vote
1answer
252 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 ...
0
votes
0answers
2k views

how to config VLAN in ubuntu20.04?

I want to config 8 VLAN IDs at one NIC in ubuntu 20.04. So, I have tried to config by using netplan. $ sudo nano /etc/netplan/01-network-manager-all.yaml and then, network: nersion: 2 renderer: ...
0
votes
2answers
64 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: ...
0
votes
1answer
1k 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-...
0
votes
3answers
3k 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....
0
votes
1answer
216 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 ...
0
votes
0answers
2k 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: ...
0
votes
0answers
56 views

Configuring vlan for ubuntu-bionic on ESXi

I installed ubuntu-bionic vm on esxi (6.7U3). After that I created vlan 100 (10.233.6.17/24) on it, but I can't ping outward from this. In addition, I confirmed that the same vlan can be pinged ...
0
votes
0answers
60 views

Suggested method for VLANs on libvirt-backed MAAS system?

I have a MAAS system that is (up to interface names) identical to the installation in this tutorial: https://maas.io/tutorials/create-kvm-pods-with-maas#1-overview I want to have multiple VLANs inside ...
0
votes
0answers
32 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.
1
vote
0answers
105 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 ...
0
votes
1answer
509 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 ...
2
votes
0answers
390 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 / ...
2
votes
0answers
110 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 ...
1
vote
3answers
9k 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 ...
0
votes
1answer
121 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 ...
0
votes
0answers
2k 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 ...
2
votes
1answer
3k 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 ...
0
votes
2answers
2k 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 ...
2
votes
1answer
620 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 ...
1
vote
1answer
4k 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 ...
0
votes
2answers
489 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 ...
0
votes
1answer
162 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-...
4
votes
1answer
812 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 ...
0
votes
1answer
430 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 ...