Bridged networking allows Orka VMs running Orka 3.5.0 to connect directly to a physical network as a native device, receiving their own IP address from the network’s DHCP server. This enables direct communication with other network devices and services without the use of NAT, and is configurable automatically using Orka alongside your existing DHCP server.
Getting started:
To set up bridge networking in your Orka on-prem cluster, you will need to set the following variables in your host’s cluster.yml file:
-
vm_network_mode: bridgeThis is used to specify the network mode to your Orka services, and is added to your
cluster.ymlfile. For instructions on how to set up this file, please refer to the Orka On-Prem: Getting Started documentation.
-
osx_node_vm_network_interface: <host-interface>host_interfaceis the interface on the host that the DHCP server is accessible onIf the host interface is the same on every host, you can set this in the
nodes.ymlfile-
If the host interface differs between hosts, this can be set per host in the hosts file
Example:
[arm-nodes]10.221.188.30 osx_node_vm_network_interface=vlan010.221.188.31 osx_node_vm_network_interface=vlan1
VNC Access
When bridge mode is active, you will see a deploy output similar to the following example:
NAME IP SSH VNC SCREENSHARE STATUS
vm-2gdws 10.221.190.85 22 6000 5900 RunningSSH and screen sharing are accessible on port 22 and port 5900 on the VM IP (10.221.190.85). As VNC runs on the host, rather than the VM, VNS is accessible on port 6000 on the host IP. To obtain the host, enter the following commands:
orka3 vm list <vm name> -o wideto get the host nameorka3 node list <node name> -o wideto get the host IP
Known Issue: The WebUI connection string says For VNC use and uses the VM IP instead of the Host IP.
Technical requirements and limitations:
Users can configure Orka using either NAT or bridged networking mode.
It is not possible to run both networking modes at the same time.
Users cannot have two VMs running using different networking modes simultaneously.
All VMs must be deleted before switching the networking mode. If your Orka cluster is running NAT and needs to be switched to bridge networking, all VMs must be deleted beforehand.
Common issues:
Issue: The Orka VM has a private IP from the 192.168.64.0/24 CIDR
Solution:
vm_network_mode: bridgewas set in thecluster.ymlfileosx_node_vm_network_interface: <host_interface>was not set in thenodes.ymlor thehostsfileRerun the host configuration with
osx_node_vm_network_interface: <host_interface>set to the correct value