network bridging configuration

peiman

Member
Sep 21, 2016
16
0
6
38
i ordered a new server and i have to test proxmox
every thing goes ok when i install it
also i can create vm and vm working good when i use nat network
but on bridging to have specific ip for each vm i have a lot of problems!!

my server data are this:

server main ip : 138.201.224.60
server netmask : 255.255.255.192
gateway : 138.201.224.1
my interface configuration is like this:
-----------------------------------------------------------------------------------------------------------
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address 138.201.224.60
netmask 255.255.255.192
bridge_ports eth0
bridge_stp off
bridge_fd 0
gateway 138.201.224.1
-------------------------------------------------------------------------------------------------------------
but after save changes and reboot the server it dont come up again..
What is wrong with me!?
note : i used this document but not lucky: network configuration (bridging) proxmox
server default network is like this:
---------------------------------------------------------------------------------------------------------------
### Hetzner Online GmbH - installimage
# Loopback device:
auto lo
iface lo inet loopback
iface lo inet6 loopback

# device: eth0
auto eth0
iface eth0 inet static
address 138.201.224.60
netmask 255.255.255.192
gateway 138.201.224.1
# default route to access subnet
up route add -net 138.201.224.0 netmask 255.255.255.192 gw 138.201.224.1 eth0

iface eth0 inet6 static
address 2a01:4f8:173:1b8e::2
netmask 64
gateway fe80::1
------------------------------------------------------------------------------------------------------------------
 
I do not have a server at Hetzner, but perhaps this works for you.
In comparison to your configuration:
  • I do not have a iface entry for eth0 (so the only place eth0 is mentioned is the bridge_ports eth0 entry)
  • Additionally I have the entry pointopoint <your Gateway-IP> for the vmbr0
 

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!