XG Series User's Guide Chapter 5 Command Reference
LAN Information Settings
184
5.5.1.2 lan ip address
Function Set the IP address.
Available Model XG0224 / XG0448 / XG2600
Syntax lan [<number>] ip address <address>/<mask> <broadcast>
Options
<number>
lan definition number
Specify a lan definition serial number with a decimal value.
The default is 0.
<address>/<mask>
IP address/number of mask bits (or mask value)
Specify a combination of the IP address and the number of mask bits to be assigned to
the LAN interface. For the mask value, specify successive 1s following the most
significant bit (MSB).
The allowable range of IP addresses is as follows:
0.0.0.0
1.0.0.1 to 126.255.255.254
128.0.0.1 to 191.255.255.254
192.0.0.1 to 223.255.255.254
For the number of mask bits, specify a decimal value from 2 to 30.
For the mask value, specify a number 192.0.0.0 to 255.255.255.252.
The available description format is as follows:
IP address/number of mask bits (Example: 192.168.1.1/24)
IP address/mask value (Example: 192.168.1.1/255.255.255.0)
<broadcast>
Specify a broadcast address.
0
Specify it for 0.0.0.0.
1
Specify it for 255.255.255.255.
2
Specify it when "network address + all 1s" is obtained from "<address>/<mask>".
3
Specify it when "network address + all 1s" is obtained from "<address>/<mask>".
Use Mode Configuration mode (admin class)
Explanation Set the IP address, number of mask bits (or mask value), and broadcast address for the
LAN interface on this device.
Default It is assumed that the IP address is not specified.
lan <number> ip address 0.0.0.0/0 0