Skip to main content

Network configuration

VKB-1036How-to
📦 Applies to
Xen Orchestra
🗓️ Created
2025-12-19
🔄 Updated
2025-12-19

Environment​

  • A Xen Orchestra Appliance (XOA). XOA uses DHCP by default.

Procedure​

Configure a static IP address​

If you need to configure the IP address, run the command xoa network static (note: the --add parameter is not needed). It will ask you for network details:

root@xoa
# xoa network static
? Static IP for this machine 192.168.100.120
? Network mask (eg 255.255.255.0) 255.255.255.0
? Gateway 192.168.100.254
? IP of the DNS server 192.168.100.254

If you want to go back to DHCP, just run xoa network dhcp.

Other interfaces​

If you need to configure other interfaces than eth0, you can use the same commands with the name of the interface to configure as a supplementary argument:

root@xoa
# xoa network static eth1
? Static IP for this machine 192.168.100.120
? Network mask (eg 255.255.255.0) 255.255.255.0
root@xoa
# xoa network dhcp eth1

Verification​

Xen Orchestra is now accessible in your browser at https://your-vm-ip. You can also access the VM console through XenCenter or using VNC through an SSH tunnel.