beautypg.com

Flowchart after a restart, Example – Wavetronix Click 342 (lean managed ethernet switch) (CLK-342) - Managed Switches User Guide User Manual

Page 19

background image

18

CHAPTER 1 CLICK 340/341/342 MANAGED SWITCHES

Figure 2.3 – Class B Subnet Mask

Using this subnet mask, the TCP/IP protocol software differentiates between the devices

that are connected to the local subnetwork and the devices that are located in other sub-

networks.

Example

Device 1 wants to establish a connection with device 2 using the above subnet mask.
Device 2 has IP address 59.EA.55.32.

IP address display for device 2:

˽

Hexadecimal representation: 59.EA.55.32

˽

Binary representation: 0101 1001.1110 1010.0101 0101.0011 0010

The individual subnet mask and the IP address for device 2 are then ANDed bit-by-bit by

the software to determine whether device 2 is located in the local subnetwork. The figure

below shows the ANDing of the subnet mask and IP address for device 2 (see Figure 2.4).

Figure 2.4 – ANDing the Subnet Mask and IP Address

After ANDing, the software determines that the relevant subnetwork (01) does not cor-

respond to the local subnetwork (11) and the data telegram is forwarded to a subnetwork

router.

Flowchart After a Restart

The figure below is a flowchart showing how to load Configuration Data (see Figure 2.5).