Hello, i am new on Proxmox, i have an old proxmox ve 2.1 where there is an openVZ server (vm id 404).
I also have a new proxmox ve 6.1 where i convert this machine on this new proxmox.
I have read this tutorial, very good : https://pve.proxmox.com/wiki/Convert_OpenVZ_to_LXC
Everything is ok, i see my vm on my new proxmox but there is a problem with network configuration.
Here is the network/interfaces on openVZ VM :
But when on a my new proxmox interface i add a network interface, the file network/interfaces is like this:
So, i cannot have access on my VM.
Thank you !
I also have a new proxmox ve 6.1 where i convert this machine on this new proxmox.
I have read this tutorial, very good : https://pve.proxmox.com/wiki/Convert_OpenVZ_to_LXC
Everything is ok, i see my vm on my new proxmox but there is a problem with network configuration.
Here is the network/interfaces on openVZ VM :
Code:
# This configuration file is auto-generated.
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail
# will be at the very end of this file.
#
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
auto venet0:0
iface venet0:0 inet static
address 147.94.59.25
netmask 255.255.255.255
But when on a my new proxmox interface i add a network interface, the file network/interfaces is like this:
Code:
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail
# will be at the very end of this file.
#
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet static
address 147.94.59.25
netmask 255.255.255.255
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
auto venet0:0
iface venet0:0 inet static
address 147.94.59.25
netmask 255.255.255.255
So, i cannot have access on my VM.
Thank you !