Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 179135

Setting a static IPv4 address for a network interface

$
0
0
I am trying to write a python script to be able to set a static IPv4 address to a network interface on a VM, without actually going into the VM's OS. We have a large number of machines to assign static ips to on a regular basis and don't want to have to do it manually on every single machine.

I am looking for a command through the Proxmox node shell that can do this. I have so far tried:
qm set <VMID> --ipconfig0 ip=10.10.10.50/24,gw=10.10.10.1 (the VM is on a vmbr1, which has an ip...

Read more

Viewing all articles
Browse latest Browse all 179135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>