Routed config on vmbr0 not working

Aleksei

New Member
Jul 11, 2017
1
0
1
37
Hi.
I have a strange problem.
I installed proxmox 4.4 with the default settings. I configured only the network.
Created 2 virtual machines, one put windows server 2012 r2, and the second debian linux 9.0. On both virtual machines the network does not work. All machines are in vmbr0.
Here is my config.

[proxmox]
auto eth0
iface eth0 inet static
address 176.106.75.2
netmask 255.255.0.0
gateway 176.106.75.1
up route add -net 176.106.75.0 netmask 255.255.0.0 eth0
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 176.106.75.2
netmask 255.255.255.255
bridge_port none
bridge_stp off
bridge_fd 0
bridge_maxwait 0
# this route ONLY virtual mashines
up ip route add 176.106.75.207/32 dev vmbr0
up ip route add 176.106.75.208/32 dev vmbr0

[Debian linux]
auto eth0
iface eth0 inet static
address 176.106.75.207
netmask 255.255.255.255
gateway 176.106.75.2

[windows server 2012 r2]
ip 176.106.75.208
netmask 255.255.255.255
gateway 176.106.75.2

Linux and windows vm's ping gateway ip 176.106.75.2 is ok.
Other ip not available.
What could be the problem?
 
Your config can't work for me.

What do you want exactly ? Use proxmox as router or bridge ? Your configuration seem to be bridge, but you are using proxmox host as gateway on your VM.

I think you wan't use proxmox has router but only bridge. So :
On your VM, use 255.255.0.0 mask (as on your promox server)
On your VM, use 176.106.75.1 gateway (as on your promox server)

I think it will work and your promox server will not act as a router...
 
Your config can't work for me.

What do you want exactly ? Use proxmox as router or bridge ? Your configuration seem to be bridge, but you are using proxmox host as gateway on your VM.

I think you wan't use proxmox has router but only bridge. So :
On your VM, use 255.255.0.0 mask (as on your promox server)
On your VM, use 176.106.75.1 gateway (as on your promox server)

I think it will work and your promox server will not act as a router...

Other information : why are you using theses IP address ? Are you connected to internet ? If it's an internal network you have to use private IP (I don't think that you have a full /16 public range :))
 

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!