Help for setting up network on dedicated server

Guillaume Soucy

Well-Known Member
Oct 20, 2017
70
5
48
30
L'Orignal, Canada
guillaumesoucy.com
Hi,

I have an dedicated server with Proxmox on it but I'm unable to setup network. I can access the server using his main IP but I'm unable to use additional IP (I have ordered) with my VMs.

This is my /etc/network/interfaces file content:

auto lo
iface lo inet loopback

iface eno3 inet manual

iface eno4 inet manual

auto vmbr1
iface vmbr1 inet manual
bridge_ports dummy0
bridge_stp off
bridge_fd 0

auto vmbr0
iface vmbr0 inet static
address 54.39.49.187
netmask 255.255.0.0
gateway 54.39.49.254
bridge_ports eno3
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet static
address 54.39.49.187
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 198.27.122.255/32 dev vmbr2
down ip route del 198.27.122.255/32 dev vmbr2



Thanks a lot for helping.


Guillaume
 
You don't need to create vmbr2.

Delete this part:
Code:
auto vmbr2
iface vmbr2 inet static
address 54.39.49.187
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add 198.27.122.255/32 dev vmbr2
down ip route del 198.27.122.255/32 dev vmbr2

Just inside your VM:
- enter IP 54.39.49.187/255.255.255.255 and gateway 54.39.49.254
- set to 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!