[SOLVED] LXC + OVH Failover with bridge not working

crzffx

New Member
Oct 17, 2021
3
0
1
Failover subnet: b.b.c.c/30 (+ virtual macs for OVH)
Main IP: a.b.c.d/32

vmbr0:
addr: a.b.c.d/32
gateway: a.b.c.54

container eth0:
addr: b.b.c.c
gateway: b.b.c.254
mac: ovh mac for that ip

CONTAINER ip address output:
Code:
ip a
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever



2: eth0@if57: mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether VIRTUAL_MAC_FOR_THIS_VM brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet b.b.c.c/32 brd b.b.c.254 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::ff:fec3:81a0/64 scope link
valid_lft forever preferred_lft forever


 ip r
default via b.b.c.254 dev eth0
b.b.c.254 dev eth0 scope link
Thanks for help.
 
SOLVED:

/etc/sysctl.conf

net.ipv6.conf.all.autoconf = 0 net.ipv6.conf.default.autoconf = 0 net.ipv6.conf.eth0.autoconf = 0 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.default.accept_ra = 0 net.ipv6.conf.eth0.accept_ra = 0 net.bridge.bridge-nf-call-iptables = 1 net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-arptables = 0 net.ipv4.conf.all.proxy_arp = 1 net.ipv4.conf.all.send_redirects = 0 net.ipv4.conf.default.proxy_arp = 1 net.ipv4.conf.default.send_redirects = 0
 

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!