Attachments
Last edited:
Thanks for your reply, I tried it but it doesn't work.As I understand you have two NIC on your Proxmox and you virtualise the openwrt on it?
If thats you're architecture then create one Bridge for WAN (vmbr1) where you add the NIC-Port to your Cablemodem as member. The second Bridge would be your LAN(vmbr0) with the other NIC Port as Member.
On the Openwrt VM add two NetworkDevice one to vmbr1(WAN) the other to vmbr0 (LAN)
In your actual config you specified the VLAN100 by adding it after the dot on the Interfacename on the vmbr0
Does this help?
cat /etc/network/interfaces
I cannot access the Internet after changing enp2s0.100 on vmbr0 to enp2s0. It used to be enp2s0 by default, but I could not access the Internet. Later, someone taught me to add a parameter at the end, which should be the same as the VLAN ID value parameter on the network card, so that I can access the Internet.Change enp2s0.100 on vmbr0 to enp2s0
Hello, I cannot access the Internet after marking VM-Bridge (vmbr0) as VLAN-Aware. Thank you!.... Wait you marked your VM-Bridge (vmbr0) as VLAN-Aware do you realy need that? I had sometimes trouble with untagged Traffic on such Setups... if you don't need VLAN on that Bridge disable it and reboot your proxmox.
If you need VLANs on that Bridge you must purchase a Switch which handle the VLAN Tagging.
Other Possibility is changing from LinuxBridge to ovs.
And the easy Answer would be buy a manged switch make a trunk from proxmox to it setup a Accesport for your PC with PVID 100.How to avoid setting the value of VLAN ID 100 in Network Card-Advanced?View attachment 80150
I don't use a switch, I connect it directly to the computerAnd the easy Answer would be buy a manged switch make a trunk from proxmox to it setup a Accesport for your PC with PVID 100.
It should have nothing to do with the openwrt vm hardware settingsWhen you are on your setup with VLAN 100 tagged on Proxmox and your what IP do you get on your PC?
The vmbr0 should not be marked as VLAN aware. Have you rebooted or reloaded the Networking Service after changing the Bridge settings?
So to explain what I understand... Openwrt and Proxmox egress Traffic on vmbr0 without VLAN-Tag... as your first Screenshot of /etc/network/interfaces show that you have marked vmbr0 as VLAN-aware.
To put all traffic through your enp2s0 NIC Port to your switch it must be specified without Tag... when you add it on the bridge with enp2s0.100 you Tag all egress/ingress Traffic to VLAN100.
So if you want to work without tagged Traffic set vmbr0 not as VLAN aware, add enp2s0 as Member (not .100), reboot the pve (Network changes should apply then) delete the VLAN Setting on your NIC (reboot also resolves some mess with vlan tags). And it should work.
Could you provide some Infos about your Switch? Provide the Hardwaresettings of the openwrt VM.
OK, I'll look for the relevant tutorials then. Thank you for your enthusiastic answer. I really appreciate it!So go for ovs bridge. You'd find tutorials in the offical pve wiki. That might help overcome your issues with untagged Packets