# Setup Proxmox environment with two network bridges

**URL:** <https://forum.hhf.technology/t/setup-proxmox-environment-with-two-network-bridges/91>\
**Category:** Tutorials\
**Tags:** proxmox, networking, bridges\
**Created:** [October 9, 2024, 11:07am UTC](https://forum.hhf.technology/t/setup-proxmox-environment-with-two-network-bridges/91 "2024-10-09T11:07:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [October 9, 2024, 11:07am UTC](https://forum.hhf.technology/t/setup-proxmox-environment-with-two-network-bridges/91/1 "2024-10-09T11:07:44Z")

</div>

To set up your Proxmox environment with two network bridges—one for an untagged network and another for a tagged VLAN (VLAN 51)—you need to configure the `/etc/network/interfaces` file directly. Below is a step-by-step guide to achieve this configuration.

## Configuration Steps

1. **Access the Proxmox Console** : You need to log into the console of your Proxmox server. You can do this via SSH or directly through the server’s terminal.

2. **Edit the Network Interfaces File** : Open the network interfaces configuration file with a text editor like `nano`:

3. **Configure the Bridges** : You will need to add configurations for two bridges. Here’s an example configuration assuming your network interface is `enp0s3`:

4. **Restart Networking** : After saving your changes, restart the networking service to apply the new configuration:

5. **Configure Virtual Machines** : When you create or configure your virtual machines, assign them to the appropriate bridge:

## Additional Considerations

- **Managed Switch** : Ensure that your switch is configured to handle VLANs correctly. The port connecting to your Proxmox server should be set to trunk mode, allowing both untagged and tagged traffic.

- **Firewall Settings** : If you have a firewall enabled on Proxmox, make sure it allows traffic from the VLANs and the management network.

- **Testing** : After configuration, test connectivity from your VMs to ensure they can reach the intended networks.

This setup should allow you to use both untagged and tagged VLAN traffic on your Proxmox server effectively. If you encounter issues, check the switch configuration and ensure that Proxmox is receiving the correct VLAN tags.
