Gateway IP-address (GI)
Function | Defines the IP-address of the default gateway |
Set (S) command format | SGIxxx.xxx.xxx.xxx , where xxx.xxx.xxx.xxx is the IP-address of the default gateway in dot-decimal notation (i.e. 192.168.100.1) |
Get (G) command format | GGI |
Initialize (I) command effect | Initialized unconditionally, through network command, or serial command |
Post-initialization value | 0.0.0.1 |
Change takes effect | After reboot |
Overriding condition | May be automatically updated by the gateway IP-address provided by the DHCP server (in case DHCP (DH) setting is 1 (enabled)) |
Relevance conditions | Current Routing Mode (RM) = 1 (server/client) or 2 (client) |
Gateway IP-address defines the IP-address of default gateway through which the device will (attempt to) establish a connection to the destination network host at current Destination IP-address (DI) in case this host is not on the same subnet with the device.
Whether or not the destination network host is on the local subnet is determined by comparing the IP-address (IP) setting, current Destination IP-address (DI), and the Netmask (NM) setting.
Gateway IP-address is irrelevant when the current Routing Mode (RM) is 0 (server) since in this mode outgoing connections are not allowed.
When DHCP (DH) is 1 (enabled) the Gateway IP-address obtained from the DHCP server is saved into this setting thus overwriting older value that might have been set before. This only happens when the DHCP server is configured to provide gateway IP-address data.