HyperVM IP's problem

derek

New member
Joined
Jul 25, 2007
Messages
2
Hello, I trying to configure DA on vps based on openvz and hypervm control panel.

Here is point:
I have added 3 IP's to server via hypervm. After rebooting vps hypervm generates such /etc/network/interfaces :
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


# Auto generated venet0 interfaces
auto venet0 lo
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
iface lo inet loopback

auto venet0:0
iface venet0:0 inet static
address 217.172.56.79
netmask 255.255.255.255
broadcast 0.0.0.0
auto venet0:1
iface venet0:1 inet static
address 217.172.56.85
netmask 255.255.255.255
broadcast 0.0.0.0
auto venet0:2
iface venet0:2 inet static
address 217.172.56.90
netmask 255.255.255.255
broadcast 0.0.0.0

and IP's are resolving OK.
But now, I can't use DirectAdmin license - it see ip 127.0.0.1 which isnt ip issued in license file.

So, when I change it to :
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


# Auto generated venet0 interfaces
auto venet0 lo
iface venet0 inet static
address 217.172.56.79
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
iface lo inet loopback

auto venet0:0
iface venet0:0 inet static
address 217.172.56.79
netmask 255.255.255.255
broadcast 0.0.0.0
auto venet0:1
iface venet0:1 inet static
address 217.172.56.85
netmask 255.255.255.255
broadcast 0.0.0.0
auto venet0:2
iface venet0:2 inet static
address 217.172.56.90
netmask 255.255.255.255
broadcast 0.0.0.0

IP'seven dont resolve and lost somewhere with conecction timeout;)
HyperVM offers option like Main IP address especially for license issues, but after changing it my /etc/network/interfaces looks like piece of sh** :mad:

Any solution?
 
You're probably going to have to get help from the developers of HyperVM. Note that you'll have to use what you call the Main IP address option permanently, DirectAdmin checks for IP#s from time to time.

Jeff
 
Back
Top