lannetmask p iii.iii.iii.iii
Sets the netmask of the CTM-200 gateway's ethernet port on the LAN.
p = 0 or 1 | ethernet port to configure (eth0/lan0 or eth1/lan1)
|
iii.iii.iii.iii = 0.0.0.0 to 255.255.255.255 | LAN netmask of the gateway in decimal (default: 255.255.255.0)
|
Notes:
- Special care must be taken when configuring this command, if an improperly configured lannetmask IP address is entered the ethernet port can be rendered unusable. Before configuring this command it is advisable to make sure that a command console is available via the serial port, or the IP address is known and remote ssh/telnet is enabled to allow the gateway to be accessed wirelessly.
Examples:
- Set the LAN netmask of the CTM-200 gateway's eth1 port to 255.255.0.0 :
cmd lannetmask 1 255.255.0.0
See also: LAN