How do I set up a bridged network with static information?

zustudios

Renowned Member
Dec 13, 2015
86
0
71
How do I set up a bridged network with static information?
My host computer uses the public gateway, netmask,and main IP. If I use the same information for the bridge both the host and VM have no connection.
I have no internal information says my ISP.
Everything worked fine with proxmox ISO but the bridge was created automatically so I don't have the settings information.
I'm installing proxmox on top of Debian 9.
XX.XX.XX.XX = public static info.

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug enp1s0

auto enp1s0
iface enp1s0 inet static
address XX.XX.XX.XX
netmask XX.XX.XX.XX
gateway XX.XX.XX.XX

auto vmbr0
iface vmbr0 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
 
Last edited:
How do I set up a bridged network with static information?

Hi!
Settings should be:

auto enp1s0
iface enp1s0 inet manual

auto vmbr0
iface vmbr0 inet static
address XX.XX.XX.XX
netmask XX.XX.XX.XX
gateway XX.XX.XX.XX
bridge_ports enp1s0
bridge_stp off
bridge_fd 0

Best regards,
Gosha
 
How do I set it up step by step?

But connection scheme should be something like this:

"home pc with openvpn-clent" - "home router or access point"- Internet - "office router" - "office network with openvpn-server on any PC and PVE-node"

This is one variant only. There may be many variants depending from your networks...
You can host the openvpn-server on the PVE-node for example or on VM into PVE-node...
I'm host my vpn-client and vpn-server in Mikrotik-routers (home and office)...
 
  • Like
Reactions: guletz

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!