Appendix D IP Addresses and Subnetting
GS-2724 User’s Guide
320
Figure 133
Network Number and Host ID
How much of the IP address is the network number and how much is the host ID varies
according to the subnet mask.
Subnet Masks
A subnet mask is used to determine which bits are part of the network number, and which bits
are part of the host ID (using a logical AND operation). The term “subnet” is short for “sub-
network”.
A subnet mask has 32 bits. If a bit in the subnet mask is a “1” then the corresponding bit in the
IP address is part of the network number. If a bit in the subnet mask is “0” then the
corresponding bit in the IP address is part of the host ID.
The following example shows a subnet mask identifying the network number (in bold text)
and host ID of an IP address (192.168.1.2 in decimal).
By convention, subnet masks always consist of a continuous sequence of ones beginning from
the leftmost bit of the mask, followed by a continuous sequence of zeros, for a total number of
32 bits.
Subnet masks can be referred to by the size of the network number part (the bits with a “1”
value). For example, an “8-bit mask” means that the first 8 bits of the mask are ones and the
remaining 24 bits are zeroes.
Table 103
IP Address Network Number and Host ID Example
1ST OCTET:
(192)
2ND
OCTET:
(168)
3RD
OCTET:
(1)
4TH OCTET
(2)
IP Address (Binary)
11000000
10101000
00000001
00000010
Subnet Mask (Binary)
11111111
11111111
11111111
00000000
Network Number
11000000
10101000
00000001
Host ID
00000010
Содержание GS-2724
Страница 1: ...www zyxel com GS 2724 Ethernet Switch User s Guide Version 3 70 4 2007 Edition 1 ...
Страница 2: ......
Страница 7: ...Safety Warnings GS 2724 User s Guide 7 ...
Страница 8: ...Safety Warnings GS 2724 User s Guide 8 ...
Страница 22: ...Table of Contents GS 2724 User s Guide 22 ...
Страница 30: ...List of Tables GS 2724 User s Guide 30 ...
Страница 32: ...32 ...
Страница 36: ...Chapter 1 Getting to Know Your Switch GS 2724 User s Guide 36 ...
Страница 40: ...Chapter 2 Hardware Installation and Connection GS 2724 User s Guide 40 ...
Страница 46: ...Chapter 3 Hardware Overview GS 2724 User s Guide 46 ...
Страница 48: ...48 ...
Страница 58: ...Chapter 4 The Web Configurator GS 2724 User s Guide 58 ...
Страница 64: ...Chapter 5 Initial Setup Example GS 2724 User s Guide 64 ...
Страница 70: ...Chapter 6 System Status and Port Statistics GS 2724 User s Guide 70 ...
Страница 84: ...84 ...
Страница 94: ...Chapter 8 VLAN GS 2724 User s Guide 94 Figure 36 Port Based VLAN Setup All connected ...
Страница 126: ...Chapter 16 Port Authentication GS 2724 User s Guide 126 ...
Страница 130: ...Chapter 17 Port Security GS 2724 User s Guide 130 ...
Страница 136: ...Chapter 18 Classifier GS 2724 User s Guide 136 Figure 58 Classifier Example ...
Страница 139: ...Chapter 19 Policy Rule GS 2724 User s Guide 139 Figure 59 Policy ...
Страница 145: ...Chapter 20 Queuing Method GS 2724 User s Guide 145 ...
Страница 146: ...Chapter 20 Queuing Method GS 2724 User s Guide 146 ...
Страница 152: ...Chapter 21 VLAN Stacking GS 2724 User s Guide 152 ...
Страница 165: ...165 PART IV IP Application Static Route 167 RIP 169 IGMP 171 Differentiated Services 173 DHCP 177 ...
Страница 166: ...166 ...
Страница 183: ...Chapter 27 DHCP GS 2724 User s Guide 183 Figure 89 DHCP Relay Configuration Example ...
Страница 184: ...Chapter 27 DHCP GS 2724 User s Guide 184 ...
Страница 186: ...186 ...
Страница 210: ...Chapter 31 Syslog GS 2724 User s Guide 210 ...
Страница 224: ...Chapter 36 Routing Table GS 2724 User s Guide 224 ...
Страница 228: ...228 ...
Страница 262: ...Chapter 38 Introducing Commands GS 2724 User s Guide 262 ...
Страница 296: ...Chapter 42 IEEE 802 1Q Tagged VLAN Commands GS 2724 User s Guide 296 ...
Страница 300: ...Chapter 44 Routing Domain Command Examples GS 2724 User s Guide 300 ...
Страница 304: ...304 ...
Страница 312: ...Appendix B Changing a Fuse GS 2724 User s Guide 312 ...
Страница 332: ...Appendix E Common Services GS 2724 User s Guide 332 ...
Страница 336: ...Appendix F Legal Information GS 2724 User s Guide 336 ...
Страница 348: ...Index GS 2724 User s Guide 348 ...