Netmask (NM) setting
Function | Defines the IP-address range for the local subnet |
Set (S) command format | SNMnn...n , where nn...n is the netmask for the local subnet in dot-decimal notation (i.e. 255.255.255.0) |
Get (G) command format | GNM |
Initialize (I) command effect | Initialized unconditionally, through network command, or serial command |
Post-initialization value | 0.0.0.0 |
Change takes effect | After reboot |
Overriding condition | May be automatically updated by the netmask 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) |
Netmask defines the boundaries of a local subnet. When establishing an outgoing connection to the destination network host at current Destination IP-address (DI) the device compares this address with the Netmask and its own IP-address (IP) to determine if the destination is on the local or foreign subnet. The device will (attempt to) connect directly to the current Destination IP-address (DI) if the destination host is found to reside on the local subnet or to the Gateway IP-address (GI) if the destination is found to reside on a foreign subnet.
When DHCP (DH) setting 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 netmask data.