ogsetnetwork

Command Description
ogsetnetwork

A tool to configure a static IP address on Lighthouse.

Note: When you use this command, ensure that you enter all information accurately as incorrect commands do not display an error message.

Syntax

ogsetnetwork [-h] [--config CONFIG_URI] [-l LIGHTHOUSE] -a ADDRESS -n NETMASK [-g GATEWAY] [-d DNS1] [-D DNS2]

Option Description
-h Display usage information and exit.
--config CONFIG_URI Config file for lipy.
-l LIGHTHOUSE Instance ID of the Lighthouse to receive the update.
-a ADDRESS Static IP address to set. This field is mandatory.
-n NETMASK Netmask for the IP address. This field is mandatory.
-g GATEWAY Network gateway address.
-d DNS1 Chosen DNS server #1.
-D DNS2 Chosen DNS server #2.
Example

ogsetnetwork -a 192.168.1.24 -n 255.255.255.0 -g 192.168.1.1