Questions tagged [vlan]
VLAN stands for Virtual Local Area Network, sometimes it is also abbreviated as: Virtual-LAN
53
questions
0
votes
0
answers
22
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
262
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
57
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
276
views
Why can't I access internet via vlan in private network?
As the title suggests, I'm having issues setting up the networking so that a server can access the internet. Bear with me while I lay out the infrastructure.
All 3 servers are hosted by Hetzner.
The ...
0
votes
1
answer
213
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
105
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
0
answers
66
views
No internet access on Ubuntu server when connected to Trunk port
I have ubuntu server configured as a virtual router for routing traffic from the isolated VLANs 10.2.0.0/16 (VLAN 201), 10.4.0.0/16 (VLAN 401) and 10.6.0.0/16 (VLAN 601) to the external network 10.1.1....
0
votes
1
answer
315
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
90
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
0
answers
224
views
Netplan config to enable KVM guest to access multiple VLANs
I am trying to duplicate a network setup that I currently use in VMware ESXi 6.5 in which I am able to create guest VMs, linux or Windows, and assign several virtual NICs from a VLAN trunk to each ...
1
vote
1
answer
58
views
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 ...
0
votes
0
answers
95
views
VM Guest OS (homeassistant) on VLAN aware bridge does not fetch ip from dchp
I've setup VLAN aware bridges on the Host OS (Ubuntu Server 20.04 with KVM and using Netplan) and my guest OS (homeassistant OS) is not fetching the ip address from a dhcp server (external, not on ...
0
votes
1
answer
2k
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
0
answers
97
views
How to configure routing between two network interfaces on Ubuntu
I am utilizing Ubuntu 20.04 running on physical standalone system as a virtual router. The device is connected to two separate NIC. One of the NIC is connected to the external network the other one is ...
0
votes
0
answers
158
views
Multiple Network Interfaces on same subnet
I have multiple isolated networks that need to stay isolated but use the same IP scheme. 10.100.0.0/16. It’s special use networking and the 4 networks shouldn’t be able to see each other.
In a perfect ...
0
votes
1
answer
520
views
routing for vlan
I'm trying to setup a virtual interface on a 20.04 instance that can route to the internet.
vlan 66 is working and is accessible by other devices that are strictly on that vlan. VLAN 66's Gateway is ...
0
votes
1
answer
970
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
253
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 ...
1
vote
2
answers
2k
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 ...
0
votes
1
answer
3k
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....
1
vote
0
answers
189
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. ...
0
votes
0
answers
42
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
5k
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: ...
3
votes
1
answer
446
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
0
answers
710
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
0
answers
387
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 ...
1
vote
1
answer
807
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
1
answer
773
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
0
answers
468
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
1
answer
836
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 ...
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 ...
0
votes
2
answers
818
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
1
answer
13k
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
3
answers
13k
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
1
answer
796
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 ...
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:
...
0
votes
0
answers
46
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.
2
votes
0
answers
311
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
1
answer
690
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
0
answers
846
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
224
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
3
answers
14k
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
1
answer
228
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 ...
1
vote
0
answers
8k
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 ...
4
votes
1
answer
6k
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
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 ...
2
votes
1
answer
1k
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
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 ...
0
votes
2
answers
634
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 ...