Can move VM into another node in a different network?

hinhthoi

New Member
Aug 6, 2016
26
0
1
36
Hi,

I have 2 dedicated server in 2 datacenters. I want to move a LXC container from one node to the other node. I did vzdump and then pct restore. I could restore to the other node, and then manually updated/changed the IPs to the new ones.

Unfortunately, i cannot ssh into the container.

So, what i have done wrongly?

Thank you for any help!
 
please post the config
Code:
pct config <vmid>

also, did you try to examine the container from within?
Code:
pct enter <vmid>
 
Here is the results of the commands


root@dedicated:~# pct config 1000
arch: amd64
cpulimit: 4
cpuunits: 1024
hostname: server1.domain.com
memory: 4096
net0: name=eth0,bridge=vmbr0,gw=149.56.26.254,hwaddr=02:00:00:fa:9b:de,ip=192.99.79.199/32,type=veth
ostype: centos
rootfs: local:1000/vm-1000-disk-1.raw,size=500G
swap: 4096


From inside the container, i can ping to the outside network.

Thank you very much!!!
 

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!