GS-4012F User’s Guide
IP Subnetting
291
A
P P E N D I X
B
IP Subnetting
IP Addressing
Routers “route” based on the network number. The router that delivers the data packet to the
correct destination host uses the host ID.
IP Classes
An IP address is made up of four octets (eight bits), written in dotted decimal notation, for
example, 192.168.1.1. IP addresses are categorized into different classes. The class of an
address depends on the value of its first octet.
• Class “A” addresses have a 0 in the left most bit. In a class “A” address the first octet is
the network number and the remaining three octets make up the host ID.
• Class “B” addresses have a 1 in the left most bit and a 0 in the next left most bit. In a class
“B” address the first two octets make up the network number and the two remaining
octets make up the host ID.
• Class “C” addresses begin (starting from the left) with 1 1 0. In a class “C” address the
first three octets make up the network number and the last octet is the host ID.
• Class “D” addresses begin with 1 1 1 0. Class “D” addresses are used for multicasting.
(There is also a class “E” address. It is reserved for future use.)
Note:
Host IDs of all zeros or all ones are not allowed.
Therefore:
A class “C” network (8 host bits) can have 2
8
–2 or 254 hosts.
A class “B” address (16 host bits) can have 2
16
–2 or 65534 hosts.
A class “A” address (24 host bits) can have 2
24
–2 hosts (approximately 16 million hosts).
Table 100
Classes of IP Addresses
IP ADDRESS:
OCTET 1
OCTET 2
OCTET 3
OCTET 4
Class A
0
Network number
Host ID
Host ID
Host ID
Class B
10
Network number
Network number
Host ID
Host ID
Class C
110
Network number
Network number
Network number
Host ID
Summary of Contents for GS-4012F
Page 1: ...GS 4012F Ethernet Switch User s Guide Version 3 60 4 2005...
Page 19: ...GS 4012F User s Guide 18 Table of Contents...
Page 25: ...GS 4012F User s Guide 24 List of Figures...
Page 29: ...GS 4012F User s Guide 28 List of Tables...
Page 39: ...GS 4012F User s Guide 38 Chapter 1 Getting to Know Your Switch...
Page 43: ...GS 4012F User s Guide 42 Chapter 2 Hardware Installation and Connection...
Page 49: ...GS 4012F User s Guide 48 Chapter 3 Hardware Overview...
Page 63: ...GS 4012F User s Guide 62 Chapter 5 Initial Setup Example...
Page 69: ...GS 4012F User s Guide 68 Chapter 6 System Status and Port Statistics...
Page 101: ...GS 4012F User s Guide 100 Chapter 11 Spanning Tree Protocol...
Page 113: ...GS 4012F User s Guide 112 Chapter 15 Link Aggregation...
Page 117: ...GS 4012F User s Guide 116 Chapter 16 Port Authentication...
Page 125: ...GS 4012F User s Guide 124 Chapter 18 Classifier Figure 53 Classifier Example...
Page 131: ...GS 4012F User s Guide 130 Chapter 19 Policy Rule Figure 56 Policy Example...
Page 135: ...GS 4012F User s Guide 134 Chapter 20 Queuing Method...
Page 141: ...GS 4012F User s Guide 140 Chapter 21 VLAN Stacking...
Page 183: ...GS 4012F User s Guide 182 Chapter 30 VRRP...
Page 203: ...GS 4012F User s Guide 202 Chapter 32 Access Control...
Page 205: ...GS 4012F User s Guide 204 Chapter 33 Diagnostic...
Page 219: ...GS 4012F User s Guide 218 Chapter 38 Routing Table...
Page 267: ...GS 4012F User s Guide 266 Chapter 40 Command Examples...
Page 277: ...GS 4012F User s Guide 276 Chapter 41 IEEE 802 1Q Tagged VLAN Commands...
Page 287: ...GS 4012F User s Guide 286 Chapter 42 Troubleshooting...
Page 291: ...GS 4012F User s Guide 290 Product Specifications...