LXC unplug/disconnect network interface

Figo

Member
Oct 27, 2018
4
0
6
52
Hi all!

In order to achieve migrating a running server to a new LXC container (Debian Buster), I'm searching how to unplug/disconnect the network interface from host as it is possible for QEMU VMs.

It's because I need to have a network interface with correct MAC address inside LXC, but the MAC already exists over our local network, and the current server must stay online as much as possible.

I haven't found any option in GUI or command line...

Any ideas ?

Thanks !

Proxmox 6.0.7
 
Hi,

there is no GUI option for this.

You have to use ip for this.
see "man ip"
 

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!