Lighthouse IP addresses
When the Lighthouse VM is booted and running, it can be reached at:
-
The static address, 192.168.0.1, or
-
The address it is assigned by any DHCP server it finds. Type ifconfig command to see which IP address the VM has been allocated by DHCP.
-
Static IP address on another subnet, requiring IP address, mask, gateway.
Only the first two options are available out-of-the-box. The static IP on another subnet has to be configured first.
If there is no DHCP, and Lighthouse is not reachable on the default address 192.168.0.1 then, the static IPv4 address can be changed from the console using the ogsetnetwork.sh command.
root@lighthouse:~# ogsetnetwork.sh --help
Usage:
ogsetnetwork.sh [Use options below to configure a static IP]
-a, --address Static IP address to set
-n, --netmask Netmask for IP address
-g, --gateway Network gateway address
-d, --dns1 Chosen DNS server #1
-D, --dns2 Chosen DNS #2
Example:
ogsetnetwork.sh -a 192.168.1.24 -n 255.255.255.0 -g 192.168.1.1
Tip: Type ogset
<tab> and tab completion will give you the full command.