Static /29 where main ip is in subnet

thorer01

Member
Mar 1, 2018
4
0
6
39
Thank you ahead of time for any help.

I have a new dedicated server. Server has two physical nic's. Only one is connected with a static /29 assigned.

I installed Debian Jessie, and then installed Proxmox on top of that.

On the physical interface, the first IP in the subnet is the gateway and the last is the broadcast. Its ip is the first assignable ip in the range.

As I spin up VM's or containers, I want to assign the other available ip addresses to my other servers.

I created a bridge with the same subnet, and then a VM with an IP in the subnet and the gateway the same as the host.

Am I approaching this wrong? I want to apply a "routing" model where it is all happening on the proxmox host, and not in a public/private network with a virtual router.
 
Here is my network config on my host.

Code:
iface eth1 inet static
address  173.208.143.34
netmask  255.255.255.248
gateway  173.208.143.33
broadcast  173.208.143.39
network 173.208.143.32


iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address  173.208.143.34
netmask  255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0
bridge_maxwait 0
pre-up brctl addbr vmbr0
up ip route add 173.208.143.35/32 dev vmbr0
up ip route add 173.208.143.36/32 dev vmbr0
up ip route add 173.208.143.37/32 dev vmbr0
up ip route add 173.208.143.38/32 dev 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!