my lxc system operation is ubuntu 16.04.
I want to config 4 failover ip to my different 4 lxc container.
such as.
I want to failover IP(54.39.173.70) to my lxc container(ubuntu1604). there are some errors I face.
How to configure failover IP to my lxc container
below is my steps.
1, vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto ens3:0
iface ens3:0 inet manual
auto br0
iface br0 inet dhcp
address 54.39.173.70
netmask 255.255.255.255
gateway 54.39.173.254
bridge_ports ens3:0
2, vim /var/lib/lxc/ubuntu1604/config
lxc.net.0.link = br0
3, vim /var/lib/lxc/ubuntu1604/rootfs/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 54.39.173.70
netmask 255.255.255.255
gateway 54.39.173.254
then restart.
but no network in my ubuntu1604 container.
What should I do?
Dedicated Servers-old - How to config failover ip to my lxc on ubuntu 18.04
Related questions
- About the Dedicated Servers category
25616
22.05.2017 09:00
- BGP Announcements
15730
07.01.2018 04:37
- So You Start ARM Storage Servers
14871
19.07.2018 10:17
- Upgrading my dedicated machine
14141
01.04.2022 04:10
- Ubuntu 18.04 on VMWare ESXi 6.5
14070
06.03.2018 15:34
- License Windows Server on Guest
12929
11.08.2020 10:31
- Firewall Fivem OVH
12874
24.10.2024 14:15
- Installing xcp-ng
12308
19.03.2020 11:57
- unable to install iso vmware esxi via KVM
11963
19.08.2024 08:56
- Experience with SQL Server 2022 on NAS-HA
11832
24.10.2024 14:15