Proxmox and Advance Server OVH

kennysamuerto

New Member
Apr 18, 2024
4
0
1
Hi,

I'm here to see if you can help me out. I'm using an OVH Advance-4 server, which doesn't have the capability to generate virtual MACs. I found this guide to activate the VMs:

https://support.us.ovhcloud.com/hc/...work-on-Proxmox-VE-with-ADVANCE-Gen-3-Servers

And I've followed it on my Proxmox server. Let me share the details. First, in a VRACK, I've added both the server (with IP 79.137.xxx.48) and the block of 4 IPs that I have.

This is my IP block (4 IPs):

Code:
Network IP: 46.105.xxx.44
Gateway IP: 46.105.xxx.46 (not usable)
Broadcast IP: 46.105.xxx.47

So, the first thing I did was edit the file

/etc/iproute2/rt_tables

And I added:

1 vrack

At the bottom. Then, I went to my

/etc/network/interfaces

file and edited it like this:

Code:
auto lo
iface lo inet loopback


iface enp10s0f0np0 inet manual


auto vmbr0
iface vmbr0 inet static
        address 79.137.xxx.48/32
        gateway 100.xx.0.1
        bridge-ports enp10s0f0np0
        bridge-stp off
#       bridge-fd 0
        hwaddress 04:7C:XX:XX:02:2C


iface vmbr0 inet6 static
        address 2001:41d0:XXX:3000::/56
        gateway feXX::1


auto vmbr1
iface vmbr1 inet static
    address 46.105.XXX.45/30
    gateway 46.105.XXX.46
    broadcast 46.105.XXX.47
    bridge-ports enp10s0f1np1
    bridge-stp off
    bridge-fd 0
post-up ip route add 46.105.XXX.44/30 dev vmbr1 table vrack
post-up ip route add default via 46.105.XXX.46 dev vmbr1 table vrack
post-up ip rule add from 46.105.XXX.44/30 table rack
post-up rule add to 46.105.XXX.44/30 table rack

I create the virtual machine, like Debian for example, and assign the new network I created (vmbr1) to it, then I start the machine configuring the network like this:

IP: 46.105.xxx.45
Gateway: 46.105.xxx.46
Mask: 255.255.255.252

I start the machine, it pings, and has internet access.

But mysteriously, the node loses internet access and becomes unreachable.

I don't understand what's happening, but the IP of the virtual machine also pings even when the virtual machine is not running. If I start it, it works fine and the VM runs without problems, but whether I start it or not, I lose connectivity to the main machine (the node). What could be going on?
 
not experience here, but afaik, set public ip and the route in the vm not on the vmbr1.

Code:
auto vmbr1
iface vmbr1 inet manual
        bridge-ports enp10s0f1np1 
        bridge-stp off
        bridge-fd 0
 
Last edited:

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!