Skip to main content

OVH Bridge Networking

Setting up Bridge

warning

OVH is now providing IPv6 as default on their servers and IPv4 is being provided via DHCP at the time of writing this documentation.

This is how your network config might look like on OVH after setting up Debian 12.x

# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
eno1:
accept-ra: false
addresses:
- 2001:41d0:303:9a3b::1/128
dhcp4: true
gateway6: 2001:41d0:303:9aff:ff:ff:ff:ff
match:
macaddress: 00:25:90:dd:be:7c
routes:
- to: 2001:41d0:303:9aff:ff:ff:ff:ff/128
via: '::'
set-name: eno1

With the above config in place, let's make the following changes, and then do a netplan apply

# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
eno1:
accept-ra: false
match:
macaddress: 00:25:90:dd:be:7c
set-name: eno1

bridges:
virbr0:
interfaces: [eno1]
dhcp4: true
addresses:
- 2001:41d0:303:9a3b::1/128
routes:
- to: 2001:41d0:303:9aff:ff:ff:ff:ff/128
via: '::'
parameters:
stp: false
forward-delay: 0
info

After your purchase of additional subnets, it is mandatory to ensure you generate a virtual mac for each IP, you can choose VMware option and give it any name.

warning

Please note, if you want to use more than 1 IP on a single VM, you need to ensure both IP(s) have the same mac, or else it will not work