Vlan wont work and connection drops

Rickoffthewall1

New Member
Dec 30, 2023
6
0
1
I have a TP-link switch and I connected a ethernet cable to port 2 on the switch then on the other end the server that is running Proxmox I'm not sure if i setup the Vlan wrong or something i did on Proxmox but below is my TP-link switch setting and Proxmox.
 

Attachments

  • Screenshot 2024-03-23 123056.png
    Screenshot 2024-03-23 123056.png
    20.7 KB · Views: 6
  • Screenshot 2024-03-23 123235.png
    Screenshot 2024-03-23 123235.png
    98.1 KB · Views: 6
  • Screenshot 2024-03-23 123324.png
    Screenshot 2024-03-23 123324.png
    38 KB · Views: 6
What specific problem are you facing?
The Proxmox server cannot communicate with devices connected to port 1?
Anyway, there is not enough information.
Information such as the device connected to port 1 (and its VLAN settings) and the state of the Proxmox server's network settings (e.g., ifconfig or ip output) might help us answer more appropriately.

BTW, the PVID of port 1 is 1, so untagged packets coming to port 1 will be sent to the Default VLAN.
 
You cannot connect PVE, right? seems you'd connected your laptop to vlan2 (port 2) of TP-link switch, where did you connect PVE server to? Can you make sure it's also in vlan 2 of the same switch???
 
You do not have port #2 on your TP link switch configured correctly. It needs to be a tagged/trunk port, with a PVID of 1.
 
Your Proxmox configuration (/etc/network/interfaces) looks fine to me. Post more screen shots of the VLAN settings on your switch. Also, what are you using as a firewall/router? How do you have VLANs configured there?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!