How create an interfaces file

devmapluz

New Member
Feb 23, 2019
5
0
1
59
Hi
I have a VPS Proxmox VE 2.3 on debian 8 with my dedicated kimsufi server ovh.
After an ovh problem,i reboot the server and i can not access to my web applications on my ipfailover with the browser web.
I can not configure my /etc/network/interfaces file

Her is an exemple :

Code:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto eth0
iface eth0 inet static
   address x.y.z.t
   netmask 255.255.255.0
   broadcast x.y.t.255
   gateway x.y.t.254

auto eth0:0
iface eth0:0 inet static
   address a.b.c.d
   netmask 255.255.255.255
   broadcast a.b.c.d
   post-up route add x.y.z.254 dev eth0
   post-up route add default gw x.y.z.254
   pre-down route del x.y.z.254 dev eth0
   pre-down route del default gw x.y.z.254

# IP_SERVER = x.y.z.t
# IP_FAILOVER = a.b.c.d

When i restart my network, if i tape a.b.c.d on my browser, and it go to the proxmox interfaces a.b.c.d:8006 and not on my ipfailover
Have you an idea?
thnaks
 
#1 proxmox 2.3 is incredibly old
#2 where is your bridge interface?
#3 shouldn't you be applying your post-up/down routes on eth0?
 
1 :
I'm sorry but I have no time to change the version, it works depyis 10 years
2 :
what do you mean by bridge interface?
3 : yes perhaps, i try
 

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!