First WAN IP configuration

Nixyou

New Member
Apr 3, 2020
1
0
1
30
Dear Proxmox community,

First of all, i just registered so let me thank you all for your presence and your help. Please do not hesitate to tell me if i don't respect any rules.

So, i bought a dedicated server at Online with Proxmox 5.4-13 + an IP Failover.
I followed that documentation : https://documentation.online.net/fr/dedicated-server/network/ip-failover/centos-fedora-mageia

=> Currently the IP Failover is configured on my VM but only reachable from others VM and proxmox master (not from my personnal computer directly / WAN)

Please take a look at my configuration
Any advice is fully welcome, THANKS a lot

---

IP informations :
51.XXX.XXX.XXX
reverse 51-XXX.XXX.XXX.rev.poneytelecom.eu
mac adress 52:XX:XX:XX:XX:XX (LXC type)
ipv6 slaac not available
status ready type REDIRECT

---

Proxmox configuration :

Proxmox master bridges :
Vmbr0 => WAN accès
Vmbr1 => Internal accès 192.XX.XX.XX/24

VM (test-vm) :
Network device 1 :
Bridge : Vmbr0
Mac Adresse : 52:XX:XX:XX:XX:XX

---

VM Configuration (interfaces: ens0 for internal / ens15 for wan) :

[root@test-vmnetwork-scripts]# ifconfig
ens0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.XX.XX.XX netmask 255.255.255.0 broadcast 192.XX.XX.255
inet6 fe80::12fe:4fb2:4ab1:ea2c prefixlen 64 scopeid 0x20<link>
ether 92:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
ens15: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 51.XXX.XXX.XXX netmask 255.255.255.255 broadcast 51.XXX.XXX.XXX
ether 52:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)

[root@test-vm network-scripts]# cat ifcfg-ens15
DEVICE=ens15
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.255
IPADDR=51.XXX.XXX.XXX
GATEWAY=62.210.0.1
ARP=yes
HWADDR=52:XX:XX:XX:XX:XX

[root@test-vmnetwork-scripts]# cat route-ens15
62.210.0.1 dev ens15
default via 62.210.0.1 dev ens15

Best regards,
Ben
 
Hi,

First please consider an upgrade to Proxmox VE 6.x because Proxmox VE 5.4 is EOL at 07.2020. [1]

If you do the failover in the VM it has nothing to do with Proxmox VE.
Also the network configuration form RedHat is different from the Debian network configuration.
Networking, in general, is very dependent on the environment.
This is the reason why we do not support network configurations.

But as far I see it it is just a second IP on the vnic.

https://computingforgeeks.com/adding-a-secondary-ip-address-to-rhel-centos-8-network-interface/
 

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!