D-Link 3250TG Product Manual - Page 32

Address Classes, Subnet Masking

Page 32 highlights

D-Link DES-3250TG Standalone Layer 2 Switch Address Classes Address classes refer to the range of numbers in the subnet mask. Grouping the subnet masks into classes makes the task of dividing a network into subnets a bit easier. There are five address classes. The first four bits in the IP address determine which class the IP address falls in. • Class A addresses begin with 0xxx, or 1 to 126 decimal. • Class B addresses begin with 10xx, or 128 to 191 decimal. • Class C addresses begin with 110x, or 192 to 223 decimal. • Class D addresses begin with 1110, or 224 to 239 decimal. • Class E addresses begin with 1111, or 240 to 254 decimal. Addresses beginning with 01111111, or 127 decimal, are reserved. They are used for internal testing on a local machine (called loopback). The address 127.0.0.1 can always be pinged from a local node because it forms a loopback and points back to the same node. Class D addresses are reserved for multicasting. Class E Addresses are reserved for future use. They are not used for node addresses. The part of the IP address that belongs to the network is the part that is 'hidden' by the '1's in the subnet mask. This can be seen below: • Class A • Class B • Class C NETWORK.node.node.node NETWORK.NETWORK.node.node NETWORK.NETWORK.NETWORK.node For example, the IP address 10.42.73.210 is a Class A address, so the Network part of the address (called the Network Address) is the first octet (10.x.x.x). The node part of the address is the last three octets (x.42.73.210). To specify the network address for a given IP address, the node part is set to all "0"s. In our example, 10.0.0.0 specifies the network address for 10.42.73.210. When the node part is set to all "1"s, the address specifies a broadcast address. So, 10.255.255.255 is the broadcast address for the network 10.0.0.0. Subnet Masking A subnet mask can be applied to an IP address to identify the network and the node parts of the address. A bitwise logical AND operation between the IP address and the subnet mask results in the Network Address. For example: 00001010.00101010.01001001.11010010 11111111.00000000.00000000.00000000 10.42.73.210 Class A IP address 255.0.0.0 Class A Subnet Mask 00001010.00000000.00000000.00000000 10.0.0.0 Network Address The Default subnet masks are: • Class A - 11111111.00000000.00000000.00000000 • Class B - 11111111.11111111.00000000.00000000 • Class C - 1111111.11111111.11111111.00000000 255.0.0.0 255.255.0.0 255.255.255.0 Additional bits can be added to the default subnet mask for a given Class to further subnet a network. When a bitwise logical AND operation is performed between the subnet mask and the IP address, the result defines the Subnet Address. 24

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149

D-Link DES-3250TG Standalone Layer 2 Switch
Address Classes
Address classes refer to the range of numbers in the subnet mask. Grouping the subnet masks into
classes makes the task of dividing a network into subnets a bit easier.
There are five address classes. The first four bits in the IP address determine which class the IP address
falls in.
Class A addresses begin with 0xxx, or 1 to 126 decimal.
Class B addresses begin with 10xx, or 128 to 191 decimal.
Class C addresses begin with 110x, or 192 to 223 decimal.
Class D addresses begin with 1110, or 224 to 239 decimal.
Class E addresses begin with 1111, or 240 to 254 decimal.
Addresses beginning with 01111111, or 127 decimal, are reserved. They are used for internal testing on
a local machine (called loopback). The address 127.0.0.1 can always be pinged from a local node
because it forms a loopback and points back to the same node.
Class D addresses are reserved for multicasting.
Class E Addresses are reserved for future use. They are not used for node addresses.
The part of the IP address that belongs to the network is the part that is ‘hidden’ by the ‘1’s in the
subnet mask. This can be seen below:
Class A
NETWORK.node.node.node
Class B
NETWORK.NETWORK.node.node
Class C
NETWORK.NETWORK.NETWORK.node
For example, the IP address 10.42.73.210 is a Class A address, so the Network part of the address
(called the
Network Address
) is the first octet (10.x.x.x). The node part of the address is the last three
octets (x.42.73.210).
To specify the network address for a given IP address, the node part is set to all “0”s. In our example,
10.0.0.0 specifies the network address for 10.42.73.210. When the node part is set to all “1”s, the
address specifies a broadcast address. So, 10.255.255.255 is the broadcast address for the network
10.0.0.0.
Subnet Masking
A subnet mask can be applied to an IP address to identify the network and the node parts of the
address. A bitwise logical AND operation between the IP address and the subnet mask results in the
Network Address.
For example:
00001010.00101010.01001001.11010010
10.42.73.210
Class A IP address
11111111.00000000.00000000.00000000
255.0.0.0
Class A Subnet Mask
00001010.00000000.00000000.00000000
10.0.0.0
Network Address
The Default subnet masks are:
Class A – 11111111.00000000.00000000.00000000
255.0.0.0
Class B – 11111111.11111111.00000000.00000000
255.255.0.0
Class C – 1111111.11111111.11111111.00000000
255.255.255.0
Additional bits can be added to the default subnet mask for a given Class to further subnet a network.
When a bitwise logical AND operation is performed between the subnet mask and the IP address, the
result defines the
Subnet Address
.
24