Questions tagged [vlan]
VLAN stands for Virtual Local Area Network, sometimes it is also abbreviated as: Virtual-LAN
35
questions with no upvoted or accepted answers
2
votes
0
answers
370
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 ...
2
votes
0
answers
930
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
0
answers
243
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
0
answers
250
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. ...
1
vote
0
answers
913
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 ...
1
vote
0
answers
579
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:
...
1
vote
1
answer
6k
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
1
answer
2k
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 ...
1
vote
0
answers
5k
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:
...
1
vote
0
answers
9k
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 ...
0
votes
0
answers
289
views
vlan tagging is not working netplan -Ubuntu server 22.04
I have Ubuntu server 22.04 installed on VMware
I have connected it to a GNS3 topology to a Cisco router
The Cisco interface has subinterfaces with dot1q
The Linux server has 2 interfaces, one ...
0
votes
0
answers
80
views
bond with different VLAN's, all uses same MAC-Addresses / is it possible to generate the MAC automatically?
the config is done as follows with the configurator in the setup wizard:
network:
bonds:
team0:
interfaces:
- enp65s0f0np0
- enp65s0f1np1
parameters:
lacp-rate: ...
0
votes
0
answers
32
views
renamming and tagging to vlans multiple NICs
I have a VM with Ubuntu Server 22.04 and i have assigned 4 NICs to this VM. Each NIC will be set manually to a specific network.
What is the best approach to rename each NIC and assig each one to a ...
0
votes
0
answers
40
views
Got on trouble Vlan VM need help. (VLAN, KVM-VM)
I want to create a vlan on ubuntu server and want to create a ubuntu server vm mit kvm but I have not enough lan ports so I want to create a van to create the vm that uses the vlan to get an private ...
0
votes
0
answers
103
views
How to control tagging with multiple VLAN in the same bridge using Netplan on Ubuntu 20
If I have 2 VLAN (10, and 20) on an Ethernet interface (say eno1), I can create 2 bridges and configure a VLAN in each. Any VM connecting to these Bridges (virtual interface eth0/eth1) receives ...
0
votes
0
answers
34
views
Wrong packet per second value on vlan interface tcp traffic
I get wrong results when I check pps value on sub interface (vlan interface), on Ubuntu 22.04, but I know other versions have this problem as well.
I send traffic 100mbps to my test machine. On ...
0
votes
0
answers
4k
views
Configuring VLANs on Ubuntu 22.04
I've tried to configure 2 VLANs on one physical interface ens33. And ens34 is used to access the internet But I can't ping VM from other hosts. The VM network adapter is in 192.168.100.0/22 network.
...
0
votes
0
answers
204
views
Netplan support for configuring an interface's VLAN inside bridge
I have a linux bridge set up with some VMs/containers, as well as one or more physical interfaces. The goal is for container interfaces to run on different VLANs, with the uplink connections (managed ...
0
votes
1
answer
640
views
Ubuntu VLAN configuration problems
I've an Ubuntu box that is directly connecting to a port of firewall appliance running OPNSense. This port is running a DHCP on VLAN (say 10) and I need to configure the Ubuntu box to connect to it.
I ...
0
votes
0
answers
191
views
Trouble configuring Netplan w/ multiple VLANS and Bridges on Single NIC for KVM/QEMU
The simplicity of Netplan has me stumped again.
Attempting to configure a single NIC with multiple subnets to be used with kvm/qemu VM hosting.
OS: Ubuntu 22.04.1 LTS
Switch: TP-Link TL-SG108E
I ...
0
votes
1
answer
638
views
Add unmanaged bridge to Docker
I am setting up a server with Docker and LXD. I have a real network with several vlans which I want to have bridges to, that can be shared between Docker and LXD. This was relatively easy with LXD, ...
0
votes
1
answer
141
views
Unmanaged vlan bridges
I am trying to add a few unmanaged bridges to LXD. I have 2 NIC's on the server, one is the main Lan for the server and it's own services and the other is meant to be used by LXD exclusively. I want ...
0
votes
1
answer
6k
views
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. ...
0
votes
1
answer
1k
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:
...
0
votes
1
answer
477
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 ...
0
votes
1
answer
4k
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....
0
votes
0
answers
70
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 ...
0
votes
1
answer
7k
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: ...
0
votes
0
answers
430
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
1
answer
910
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 ...
0
votes
0
answers
48
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.
0
votes
1
answer
759
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 ...
0
votes
1
answer
239
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
2
answers
4k
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 ...
0
votes
1
answer
431
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-...