Chapter
9
9 Connecting to the Network
This section provides information and instruction on how to properly connect the enclosure to the network.
9.1
Reading Network Configurations via SES
To read the network configurations, do the following:
1. From a Linux enabled machine, open a terminal.
2. In the terminal, for ESM A, type sg_modes /dev/sgX --dbd --page=32,01.
Note: Obtain the device handle by following the steps in the
Reading Network Configurations
on page 37 section.
3. Press Enter.
4. Verify a similar result appears.
00
60 01 00 14 00 00 00 00 00
ff ff ff f0 c0 a8 00 0a
10
ff ff ff 00 c0 a8 00 01
Command Output Format: 60,01,00,14,00,00,00,00,<flags 4 bytes>,<IP 4 bytes>,<Netmask 4
bytes>,<Gateway 4 bytes>
Table 8: ESM A
Default Value Dec
Byte Count
Byte Offset
Dec/Hex
Name
Default Value Hex
255.255.255.240
4
8/8h
Network Flags
ff ff ff f0
192.168.0.10
4
12/Ch
IP Address
c0 a8 00 0a
255.255.255.0
4
16/10h
Netmask
ff ff ff 00
192.168.0.1
4
20/14h
Gateway
c0 a8 00 01
Note:
• All values that are returned will be in hex.
• The least significant bit in the least significant byte of the Network Flags field defines DHCP or
Static. For more information, see:
on page 38.
5. In the terminal, for ESM B, type sg_modes /dev/sgX --dbd --page=32,02.
6. Press Enter.
37
9
Connecting to the Network
Installation Guide
9.1
Reading Network Configurations via SES