VLAN stands for Virtual Local Area Network, sometimes it is also abbreviated as: Virtual-LAN
Questions tagged [vlan]
53 questions
4
votes
1 answer
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 configure the vlan interfaces, I have…
AMatechak
- 43
- 1
- 4
4
votes
1 answer
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 switch, only that one VLAN id (let's say, 39).
So...…
Henrique
- 701
3
votes
1 answer
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 the 22th VLAN bridge (or more), netplan throws an…
apalacheno
- 61
2
votes
2 answers
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 run sudo modprobe 8021q I am getting this…
Mason ITE
- 21
2
votes
0 answers
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 router.
The idea is to reserve completely the VLAN…
2
votes
0 answers
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 / activate the 802.1q, via modprobe 802.1q, I get the…
dpsguard
- 21
- 3
2
votes
0 answers
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 IP address; we cannot change the address of the…
MEMA
- 31
2
votes
1 answer
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 and bring them up individually without…
jubjub
- 23
1
vote
1 answer
Creating bridge with bond as slave on a specific VLAN
I am on a Ubuntu 22.04.5 LTS server. The network ports are already trunked. I am trying to setup a virtual bridge with a bond as a slave using netplan on a VLAN 202. Below is not working:
$ cat /etc/netplan/00-bond-bridge-config.yaml
network:
…
EthanP
- 23
1
vote
1 answer
how can I specify which network interface is the one my computer uses?
I have Ubuntu LTS release 22.04.
I need to figure out how to specify which interface in my machine is the one it's using for network traffic. It's a Thinkpad w541 laptop. I need to be able to create virtual (VLAN) interface's and get my computer to…
Chris Foster
- 19
1
vote
2 answers
Use netplan to setup two tagged Vlans
For my network I have setup two VLans (VLan Ids: 1 and 2) on the switch. My ubuntu core 22.04.1 machine is connected to the switch through one tagged port that allows for VLan 1 and VLan 2 traffic. This machine will later be hosting docker…
Marc P
- 31
1
vote
0 answers
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. Could it be due the similar mac address on both…
dnet
- 11
1
vote
0 answers
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 command and the 2 switches (Cisco Nexus) show both…
DMel
- 11
1
vote
1 answer
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.com/vlan, but it seems outdated using…
davidtgq
- 123
1
vote
0 answers
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:
network:
version: 2
renderer: networkd
…
Evan R.
- 111