Simulate disconnected network cable

LibraryMark

New Member
May 4, 2012
2
0
1
Hello, Folks -

I am playing with ProxMox for the first time and I am really impressed!

But - I am coming from a virtualbox background, and have not found in proxmox a way to simulate a disconnected network cable to a KVM machine like I can with a VirtualBox VM. Am I missing something? I am trying to mirror our physical pfsense firewall to a virtual machine and it runs great - I tested it this morning and the virtual firewall performance was indistinguishable from the real box. When I make changes to the physical machine I would like to update the config on the virtual machine, too, however, I can't bring the firewall VM up on the network because there is already a real machine on the network with the same IP addresses in use. Is there a way around this?

Thanks, and again - ProxMox is amazing!

LibraryMark
 
we plan this feature for the upcoming 2.3.
 
for now, you can use the KVM "Monitor" to unplug a NIC.

Code:
set_link net0 off

see also screenhot.

unplug-nic-monitor.png
 
for now, you can use the KVM "Monitor" to unplug a NIC.

Code:
set_link net0 off

see also screenhot.

View attachment 1276

Many thanks for the hint :)

Not the same as "disconnected cable" but is doing what I need...

For the upcoming 2.3 do you plan to put in the GUI a switch for "set_link net0 [on/off]" or a "cable connection" control?