derek
07-25-2007, 01:19 PM
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?
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?