D-Link 3250TG Product Manual - Page 31

IP Addresses

Page 31 highlights

D-Link DES-3250TG Standalone Layer 2 Switch IP Addresses The Internet Protocol (IP) was designed for routing data between network sites. Later, it was adapted for routing between networks (referred to as "subnets") within a site. The IP defines a way of generating a unique number that can be assigned each network in the Internet and each of the computers on each of those networks. This number is called the IP address. IP addresses use a "dotted decimal" notation. Here are some examples of IP addresses written in this format: 1. 210.202.204.205 2. 189.21.241.56 3. 125.87.0.1 This allows IP address to be written in a string of four decimal (base 10) numbers. Computers can only understand binary (base 2) numbers, and these binary numbers are usually grouped together in bytes, or eight bits. (A bit is a binary digit - either a "1" or a "0"). The dots (periods) simply make the IP address easier to read. A computer sees an IP address not as four decimal numbers, but as a long string of binary digits (32 binary digits or 32 bits, IP addresses are 32-bit addresses). The three IP addresses in the example above, written in binary form are: 1. 11010010.11001010.11001100.11001101 2. 10111101.00010101.11110001.00111000 3. 01111101.01010111.00000000.00000001 The dots are included to make the numbers easier to read. Eight binary bits are called a 'byte' or an 'octet'. An octet can represent any decimal value between '0' (00000000) and '255' (11111111). IP addresses, represented in decimal form, are four numbers whose value is between '0' to '255'. The total range of IP addresses are then: Lowest possible IP address Highest possible IP address - 0.0.0.0 255.255.255.255 To convert decimal numbers to 8-bit binary numbers (and vice-versa), you can use the following chart: Binary Octet Digit 27 26 25 24 23 22 21 2 0 Decimal Equivalent Binary Number 128+64+32+16+8+4+2+1= 255 128 64 32 16 8 4 2 1 1 1 1 1 1 1 11 Table 5- 2. Binary to Decimal Conversion Each digit in an 8-bit binary number (an octet) represents a power of two. The left-most digit represents 2 raised to the 7th power (2x2x2x2x2x2x2=128) while the right-most digit represents 2 raised to the 0th power (any number raised to the 0th power is equal to one, by definition). IP addresses actually consist of two parts, one identifying the network and one identifying the destination (node) within the network. The IP address discussed above is one part and a second number called the Subnet mask is the other part. To make this a bit more confusing, the subnet mask has the same numerical form as an IP address. 23

  • 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
IP Addresses
The Internet Protocol (IP) was designed for routing data between network sites. Later, it was adapted for
routing between networks (referred to as “subnets”) within a site. The IP defines a way of generating a
unique number that can be assigned each network in the Internet and each of the computers on each of
those networks. This number is called the IP address.
IP addresses use a “dotted decimal” notation. Here are some examples of IP addresses written in this
format:
1.
210.202.204.205
2.
189.21.241.56
3.
125.87.0.1
This allows IP address to be written in a string of four decimal (base 10) numbers. Computers can only
understand binary (base 2) numbers, and these binary numbers are usually grouped together in bytes,
or eight bits.
(A bit is a binary digit – either a “1” or a “0”). The dots (periods) simply make the IP
address easier to read. A computer sees an IP address not as four decimal numbers, but as a long string
of binary digits (32 binary digits or 32 bits, IP addresses are 32-bit addresses).
The three IP addresses in the example above, written in binary form are:
1.
11010010.11001010.11001100.11001101
2.
10111101.00010101.11110001.00111000
3.
01111101.01010111.00000000.00000001
The dots are included to make the numbers easier to read.
Eight binary bits are called a ‘byte’ or an ‘octet’. An octet can represent any decimal value between ‘0’
(00000000) and ‘255’ (11111111). IP addresses, represented in decimal form, are four numbers whose
value is between ‘0’ to ‘255’. The total range of IP addresses are then:
Lowest possible IP address -
0.0.0.0
Highest possible IP address -
255.255.255.255
To convert decimal numbers to 8-bit binary numbers (and vice-versa), you can use the following chart:
Binary Octet Digit
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
Decimal Equivalent
128
64
32
16
8
4
2
1
Binary Number
128+64+32+16+8+4+2+1=
255
1
1
1
1
1
1
1
1
Table 5- 2.
Binary to Decimal Conversion
Each digit in an 8-bit binary number (an octet) represents a power of two. The left-most digit represents
2 raised to the 7
th
power (2x2x2x2x2x2x2=128) while the right-most digit represents 2 raised to the 0
th
power (any number raised to the 0
th
power is equal to one, by definition).
IP addresses actually consist of two parts, one identifying the network and one identifying the
destination (node) within the network.
The IP address discussed above is one part and a second number called the Subnet mask is the other
part. To make this a bit more confusing, the subnet mask has the same numerical form as an IP
address.
23