Chapter 5 IPv4 Addresses

Size: px
Start display at page:

Download "Chapter 5 IPv4 Addresses"

Transcription

1 Chapter 5 IPv4 Addresses مترجم : دکتر محمد حسین یغمایی 1 TCP/IP Protocol Suite

2 INTRODUCTION مترجم : دکتر محمد حسین یغمایی 2 TCP/IP Protocol Suite

3 An IP address is a 32-bit address. مترجم : دکتر محمد حسین یغمایی 3 TCP/IP Protocol Suite

4 The IP addresses are unique. مترجم : دکتر محمد حسین یغمایی 4 TCP/IP Protocol Suite

5 RULE:.. addr1.. If a protocol uses N bits to addr15 define addr2an.. address,.. the.. address space is 2 N because each bit addr41 can have addr226 two addr31.. different values (0 and.. 1) and N bits can have 2 N values. مترجم : دکتر محمد حسین یغمایی 5 TCP/IP Protocol Suite

6 The address space of IPv4 is 2 32 or 4,294,967,296. مترجم : دکتر محمد حسین یغمایی 6 TCP/IP Protocol Suite

7 Binary Notation مترجم : دکتر محمد حسین یغمایی 7 TCP/IP Protocol Suite

8 Dotted-decimal notation مترجم : دکتر محمد حسین یغمایی 8 TCP/IP Protocol Suite

9 Hexadecimal Notation D EA 0x75951DEA مترجم : دکتر محمد حسین یغمایی 9 TCP/IP Protocol Suite

10 The binary, decimal, and hexadecimal number systems are reviewed in Appendix B. مترجم : دکتر محمد حسین یغمایی 10 TCP/IP Protocol Suite

11 Example 1 Change the following IP address from binary notation to dotted-decimal notation Solution مترجم : دکتر محمد حسین یغمایی 11 TCP/IP Protocol Suite

12 Example 2 Change the following IP address from dotted-decimal notation to binary notation Solution مترجم : دکتر محمد حسین یغمایی 12 TCP/IP Protocol Suite

13 Example 3 Find the error, if any, in the following IP address: Solution There are no leading zeroes in dotted-decimal notation (045). مترجم : دکتر محمد حسین یغمایی 13 TCP/IP Protocol Suite

14 Example 3 (continued) Find the error, if any, in the following IP address: Solution In dotted-decimal notation, each number is less than or equal to 255; 301 is outside this range. مترجم : دکتر محمد حسین یغمایی 14 TCP/IP Protocol Suite

15 Example 4 Change the following IP addresses from binary notation to hexadecimal notation Solution 0X810B0BEF or 810B0BEF 16 مترجم : دکتر محمد حسین یغمایی 15 TCP/IP Protocol Suite

16 CLASSFUL ADDRESSING مترجم : دکتر محمد حسین یغمایی 16 TCP/IP Protocol Suite

17 Occupation of the address space مترجم : دکتر محمد حسین یغمایی 17 TCP/IP Protocol Suite

18 In classful addressing, the address space is divided into five classes: A, B, C, D, and E. مترجم : دکتر محمد حسین یغمایی 18 TCP/IP Protocol Suite

19 Occupation of the address space مترجم : دکتر محمد حسین یغمایی 19 TCP/IP Protocol Suite

20 Finding the class in binary notation مترجم : دکتر محمد حسین یغمایی 20 TCP/IP Protocol Suite

21 Finding the address class مترجم : دکتر محمد حسین یغمایی 21 TCP/IP Protocol Suite

22 Example 5 How can we prove that we have 2,147,483,648 addresses in class A? Solution In class A, only 1 bit defines the class. The remaining 31 bits are available for the address. With 31 bits, we can have 2 31 or 2,147,483,648 addresses. مترجم : دکتر محمد حسین یغمایی 22 TCP/IP Protocol Suite

23 Example 6 Find the class of the address: Solution The first bit is 0. This is a class A address. مترجم : دکتر محمد حسین یغمایی 23 TCP/IP Protocol Suite

24 Example 6 (Continued) Find the class of the address: Solution The first 2 bits are 1; the third bit is 0. This is a class C address. مترجم : دکتر محمد حسین یغمایی 24 TCP/IP Protocol Suite

25 Finding the class in decimal notation مترجم : دکتر محمد حسین یغمایی 25 TCP/IP Protocol Suite

26 Example 7 Find the class of the address: Solution The first byte is 227 (between 224 and 239); the class is D. مترجم : دکتر محمد حسین یغمایی 26 TCP/IP Protocol Suite

27 Example 7 (Continued) Find the class of the address: Solution The first byte is 193 (between 192 and 223); the class is C. مترجم : دکتر محمد حسین یغمایی 27 TCP/IP Protocol Suite

28 Example 8 In Example 4 we showed that class A has 2 31 (2,147,483,648) addresses. How can we prove this same fact using dotted-decimal notation? Solution The addresses in class A range from to We notice that we are dealing with base 256 numbers here. مترجم : دکتر محمد حسین یغمایی 28 TCP/IP Protocol Suite

29 Solution (Continued) Each byte in the notation has a weight. The weights are as follows: 256 3, 256 2, 256 1, Last address: = 2,147,483,647 First address: = 0 If we subtract the first from the last and add 1, we get 2,147,483,648. مترجم : دکتر محمد حسین یغمایی 29 TCP/IP Protocol Suite

30 Netid and hostid مترجم : دکتر محمد حسین یغمایی 30 TCP/IP Protocol Suite

31 Blocks in class A مترجم : دکتر محمد حسین یغمایی 31 TCP/IP Protocol Suite

32 Blocks in class A مترجم : دکتر محمد حسین یغمایی 32 TCP/IP Protocol Suite

33 Millions of class A addresses are wasted. مترجم : دکتر محمد حسین یغمایی 33 TCP/IP Protocol Suite

34 Blocks in class B مترجم : دکتر محمد حسین یغمایی 34 TCP/IP Protocol Suite

35 Blocks in class B مترجم : دکتر محمد حسین یغمایی 35 TCP/IP Protocol Suite

36 Many class B addresses are wasted. مترجم : دکتر محمد حسین یغمایی 36 TCP/IP Protocol Suite

37 Blocks in class C مترجم : دکتر محمد حسین یغمایی 37 TCP/IP Protocol Suite

38 Blocks in class C مترجم : دکتر محمد حسین یغمایی 38 TCP/IP Protocol Suite

39 The number of addresses in a class C block is smaller than the needs of most organizations. مترجم : دکتر محمد حسین یغمایی 39 TCP/IP Protocol Suite

40 Class D addresses are used for multicasting; there is only one block in this class. مترجم : دکتر محمد حسین یغمایی 40 TCP/IP Protocol Suite

41 Single block in class D مترجم : دکتر محمد حسین یغمایی 41 TCP/IP Protocol Suite

42 Single block in class E مترجم : دکتر محمد حسین یغمایی 42 TCP/IP Protocol Suite

43 Network Addresses The network address is the first address. The network address defines the network to the rest of the Internet. Given the network address, we can find the class of the address, the block, and the range of the addresses in the block مترجم : دکتر محمد حسین یغمایی 43 TCP/IP Protocol Suite

44 In classful addressing, the network address (the first address in the block) is the one that is assigned to the organization. مترجم : دکتر محمد حسین یغمایی 44 TCP/IP Protocol Suite

45 Two-level addressing in classful addressing مترجم : دکتر محمد حسین یغمایی 45 TCP/IP Protocol Suite

46 Two-level addressing in classful addressing مترجم : دکتر محمد حسین یغمایی 46 TCP/IP Protocol Suite

47 Example 9 Given the network address , find the class, the block, and the range of the addresses. Solution The class is A because the first byte is between 0 and 127. The block has a netid of 73. The addresses range from to مترجم : دکتر محمد حسین یغمایی 47 TCP/IP Protocol Suite

48 مترجم : دکتر محمد حسین یغمایی 48 TCP/IP Protocol Suite

49 Example 10 Given the network address , find the class, the block, and the range of the addresses. Solution The class is B because the first byte is between 128 and 191. The block has a netid of The addresses range from to مترجم : دکتر محمد حسین یغمایی 49 TCP/IP Protocol Suite

50 مترجم : دکتر محمد حسین یغمایی 50 TCP/IP Protocol Suite

51 Example 11 Given the network address , find the class, the block, and the range of the addresses. Solution The class is C because the first byte is between 192 and 223. The block has a netid of The addresses range from to مترجم : دکتر محمد حسین یغمایی 51 TCP/IP Protocol Suite

52 مترجم : دکتر محمد حسین یغمایی 52 TCP/IP Protocol Suite

53 Sample internet مترجم : دکتر محمد حسین یغمایی 53 TCP/IP Protocol Suite

54 Network address مترجم : دکتر محمد حسین یغمایی 54 TCP/IP Protocol Suite

55 Mask A mask is a 32-bit binary number that gives the first address in the block (the network address) when bitwise ANDed with an address in the block. مترجم : دکتر محمد حسین یغمایی 55 TCP/IP Protocol Suite

56 Masking concept مترجم : دکتر محمد حسین یغمایی 56 TCP/IP Protocol Suite

57 AND operation مترجم : دکتر محمد حسین یغمایی 57 TCP/IP Protocol Suite

58 Network mask مترجم : دکتر محمد حسین یغمایی 58 TCP/IP Protocol Suite

59 Finding a network address مترجم : دکتر محمد حسین یغمایی 59 TCP/IP Protocol Suite

60 Example 12 Given the address and the default class A mask, find the beginning address (network address). Solution The default mask is , which means that only the first byte is preserved and the other 3 bytes are set to 0s. The network address is مترجم : دکتر محمد حسین یغمایی 60 TCP/IP Protocol Suite

61 Example 13 Given the address and the default class B mask, find the beginning address (network address). Solution The default mask is , which means that the first 2 bytes are preserved and the other 2 bytes are set to 0s. The network address is مترجم : دکتر محمد حسین یغمایی 61 TCP/IP Protocol Suite

62 Example 14 Given the address and the class C default mask, find the beginning address (network address). Solution The default mask is , which means that the first 3 bytes are preserved and the last byte is set to 0. The network address is مترجم : دکتر محمد حسین یغمایی 62 TCP/IP Protocol Suite

63 We must not apply the default mask of one class to an address belonging to another class. مترجم : دکتر محمد حسین یغمایی 63 TCP/IP Protocol Suite

64 OTHER ISSUES مترجم : دکتر محمد حسین یغمایی 64 TCP/IP Protocol Suite

65 Subnetting/Supernetting and Classless Addressing مترجم : دکتر محمد حسین یغمایی 65 TCP/IP Protocol Suite

66 Three Level Addressing: SUBNETTING مترجم : دکتر محمد حسین یغمایی 66 TCP/IP Protocol Suite

67 IP addresses are designed with two levels of hierarchy. مترجم : دکتر محمد حسین یغمایی 67 TCP/IP Protocol Suite

68 A network with two levels of hierarchy (not subnetted) مترجم : دکتر محمد حسین یغمایی 68 TCP/IP Protocol Suite

69 A network with two levels of hierarchy (not subnetted) مترجم : دکتر محمد حسین یغمایی 69 TCP/IP Protocol Suite

70 Hierarchy concept in a telephone number مترجم : دکتر محمد حسین یغمایی 70 TCP/IP Protocol Suite

71 Addresses in a network with and without subnetting مترجم : دکتر محمد حسین یغمایی 71 TCP/IP Protocol Suite

72 A network with three levels of hierarchy (subnetted) مترجم : دکتر محمد حسین یغمایی 72 TCP/IP Protocol Suite

73 Network mask and subnet mask مترجم : دکتر محمد حسین یغمایی 73 TCP/IP Protocol Suite

74 Default mask and subnet mask مترجم : دکتر محمد حسین یغمایی 74 TCP/IP Protocol Suite

75 Finding the Subnet Address Given an IP address, we can find the subnet address the same way we found the network address in the previous chapter. We apply the mask to the address. We can do this in two ways: straight or short-cut. مترجم : دکتر محمد حسین یغمایی 75 TCP/IP Protocol Suite

76 Straight Method In the straight method, we use binary notation for both the address and the mask and then apply the AND operation to find the subnet address. مترجم : دکتر محمد حسین یغمایی 76 TCP/IP Protocol Suite

77 Example 1 What is the subnetwork address if the destination address is and the subnet mask is ? مترجم : دکتر محمد حسین یغمایی 77 TCP/IP Protocol Suite

78 Solution The subnetwork address is مترجم : دکتر محمد حسین یغمایی 78 TCP/IP Protocol Suite

79 Short-Cut Method ** If the byte in the mask is 255, copy the byte in the address. ** If the byte in the mask is 0, replace the byte in the address with 0. ** If the byte in the mask is neither 255 nor 0, we write the mask and the address in binary and apply the AND operation. مترجم : دکتر محمد حسین یغمایی 79 TCP/IP Protocol Suite

80 Example 2 What is the subnetwork address if the destination address is and the mask is ? Solution See Figure next slide مترجم : دکتر محمد حسین یغمایی 80 TCP/IP Protocol Suite

81 Example 2 مترجم : دکتر محمد حسین یغمایی 81 TCP/IP Protocol Suite

82 Comparison of a default mask and a subnet mask مترجم : دکتر محمد حسین یغمایی 82 TCP/IP Protocol Suite

83 The number of subnets must be a power of 2. مترجم : دکتر محمد حسین یغمایی 83 TCP/IP Protocol Suite

84 Example 3 A company is granted the site address (class C). The company needs six subnets. Design the subnets. Solution The number of 1s in the default mask is 24 (class C). مترجم : دکتر محمد حسین یغمایی 84 TCP/IP Protocol Suite

85 Solution (Continued) The company needs six subnets. This number 6 is not a power of 2. The next number that is a power of 2 is 8 (2 3 ). We need 3 more 1s in the subnet mask. The total number of 1s in the subnet mask is 27 (24 + 3). The total number of 0s is 5 (32-27). The mask is مترجم : دکتر محمد حسین یغمایی 85 TCP/IP Protocol Suite

86 Solution (Continued) or The number of subnets is 8. The number of addresses in each subnet is 2 5 (5 is the number of 0s) or 32. See next slide مترجم : دکتر محمد حسین یغمایی 86 TCP/IP Protocol Suite

87 Example 3 مترجم : دکتر محمد حسین یغمایی 87 TCP/IP Protocol Suite

88 Example 4 A company is granted the site address (class B). The company needs 1000 subnets. Design the subnets. Solution The number of 1s in the default mask is 16 (class B). مترجم : دکتر محمد حسین یغمایی 88 TCP/IP Protocol Suite

89 Solution (Continued) The company needs 1000 subnets. This number is not a power of 2. The next number that is a power of 2 is 1024 (2 10 ). We need 10 more 1s in the subnet mask. The total number of 1s in the subnet mask is 26 ( ). The total number of 0s is 6 (32-26). مترجم : دکتر محمد حسین یغمایی 89 TCP/IP Protocol Suite

90 Solution (Continued) The mask is or The number of subnets is The number of addresses in each subnet is 2 6 (6 is the number of 0s) or 64. See next slide مترجم : دکتر محمد حسین یغمایی 90 TCP/IP Protocol Suite

91 Example 4 مترجم : دکتر محمد حسین یغمایی 91 TCP/IP Protocol Suite

92 Variable-length subnetting مترجم : دکتر محمد حسین یغمایی 92 TCP/IP Protocol Suite

93 SUPERNETTING مترجم : دکتر محمد حسین یغمایی 93 TCP/IP Protocol Suite

94 A supernetwork مترجم : دکتر محمد حسین یغمایی 94 TCP/IP Protocol Suite

95 Rules: ** The number of blocks must be a power of 2 (1, 2, 4, 8, 16,...). ** The blocks must be contiguous in the address space (no gaps between the blocks). ** The third byte of the first address in the superblock must be evenly divisible by the number of blocks. In other words, if the number of blocks is N, the third byte must be divisible by N. مترجم : دکتر محمد حسین یغمایی 95 TCP/IP Protocol Suite

96 Example 5 A company needs 600 addresses. Which of the following set of class C blocks can be used to form a supernet for this company? مترجم : دکتر محمد حسین یغمایی 96 TCP/IP Protocol Suite

97 Solution 1: No, there are only three blocks. 2: No, the blocks are not contiguous. 3: No, 31 in the first block is not divisible by 4. 4: Yes, all three requirements are fulfilled. مترجم : دکتر محمد حسین یغمایی 97 TCP/IP Protocol Suite

98 In subnetting, we need the first address of the subnet and the subnet mask to define the range of addresses. مترجم : دکتر محمد حسین یغمایی 98 TCP/IP Protocol Suite

99 In supernetting, we need the first address of the supernet and the supernet mask to define the range of addresses. مترجم : دکتر محمد حسین یغمایی 99 TCP/IP Protocol Suite

100 Comparison of subnet, default, and supernet masks مترجم : دکتر محمد حسین یغمایی 100 TCP/IP Protocol Suite

101 Example 6 We need to make a supernetwork out of 16 class C blocks. What is the supernet mask? Solution We need 16 blocks. For 16 blocks we need to change four 1s to 0s in the default mask. So the mask is or مترجم : دکتر محمد حسین یغمایی 101 TCP/IP Protocol Suite

102 Example 7 A supernet has a first address of and a supernet mask of A router receives three packets with the following destination addresses: Which packet belongs to the supernet? مترجم : دکتر محمد حسین یغمایی 102 TCP/IP Protocol Suite

103 Solution We apply the supernet mask to see if we can find the beginning address AND AND AND Only the first address belongs to this supernet. مترجم : دکتر محمد حسین یغمایی 103 TCP/IP Protocol Suite

104 Example 8 A supernet has a first address of and a supernet mask of How many blocks are in this supernet and what is the range of addresses? Solution The supernet has 21 1s. The default mask has 24 1s. Since the difference is 3, there are 2 3 or 8 blocks in this supernet. The blocks are to The first address is The last address is مترجم : دکتر محمد حسین یغمایی 104 TCP/IP Protocol Suite

105 CLASSLESS ADDRESSING مترجم : دکتر محمد حسین یغمایی 105 TCP/IP Protocol Suite

106 Variable-length blocks مترجم : دکتر محمد حسین یغمایی 106 TCP/IP Protocol Suite

107 Number of Addresses in a Block There is only one condition on the number of addresses in a block; it must be a power of 2 (2, 4, 8,...). A household may be given a block of 2 addresses. A small business may be given 16 addresses. A large organization may be given 1024 addresses. مترجم : دکتر محمد حسین یغمایی 107 TCP/IP Protocol Suite

108 Beginning Address The beginning address must be evenly divisible by the number of addresses. For example, if a block contains 4 addresses, the beginning address must be divisible by 4. If the block has less than 256 addresses, we need to check only the rightmost byte. If it has less than 65,536 addresses, we need to check only the two rightmost bytes, and so on. مترجم : دکتر محمد حسین یغمایی 108 TCP/IP Protocol Suite

109 Example 9 Which of the following can be the beginning address of a block that contains 16 addresses? Solution The address is eligible because 32 is divisible by 16. The address is eligible because 80 is divisible by 16. مترجم : دکتر محمد حسین یغمایی 109 TCP/IP Protocol Suite

110 Example 10 Which of the following can be the beginning address of a block that contains 1024 addresses? Solution To be divisible by 1024, the rightmost byte of an address should be 0 and the second rightmost byte must be divisible by 4. Only the address meets this condition. مترجم : دکتر محمد حسین یغمایی 110 TCP/IP Protocol Suite

111 Figure 5-14 Slash notation مترجم : دکتر محمد حسین یغمایی 111 TCP/IP Protocol Suite

112 Slash notation is also called CIDR notation. مترجم : دکتر محمد حسین یغمایی 112 TCP/IP Protocol Suite

113 Slash notation مترجم : دکتر محمد حسین یغمایی 113 TCP/IP Protocol Suite

114 Example 11 A small organization is given a block with the beginning address and the prefix length /29 (in slash notation). What is the range of the block? Solution The beginning address is To find the last address we keep the first 29 bits and change the last 3 bits to 1s. Beginning: Ending : There are only 8 addresses in this block. مترجم : دکتر محمد حسین یغمایی 114 TCP/IP Protocol Suite

115 Example 12 We can find the range of addresses in Example 11 by another method. We can argue that the length of the suffix is or 3. So there are 2 3 = 8 addresses in this block. If the first address is , the last address is ( = 31). مترجم : دکتر محمد حسین یغمایی 115 TCP/IP Protocol Suite

116 A block in classes A, B, and C can easily be represented in slash notation as A.B.C.D/ n where n is either 8 (class A), 16 (class B), or 24 (class C). مترجم : دکتر محمد حسین یغمایی 116 TCP/IP Protocol Suite

117 Example 13 What is the network address if one of the addresses is /27? Solution The prefix length is 27, which means that we must keep the first 27 bits as is and change the remaining bits (5) to 0s. The 5 bits affect only the last byte. The last byte is Changing the last 5 bits to 0s, we get or 64. The network address is /27. مترجم : دکتر محمد حسین یغمایی 117 TCP/IP Protocol Suite

118 Example 14 An organization is granted the block /26. The organization needs to have four subnets. What are the subnet addresses and the range of addresses for each subnet? Solution The suffix length is 6. This means the total number of addresses in the block is 64 (2 6 ). If we create four subnets, each subnet will have 16 addresses. مترجم : دکتر محمد حسین یغمایی 118 TCP/IP Protocol Suite

119 Solution (Continued) Let us first find the subnet prefix (subnet mask). We need four subnets, which means we need to add two more 1s to the site prefix. The subnet prefix is then /28. Subnet 1: /28 to /28. Subnet 2 : /28 to /28. Subnet 3: /28 to /28. Subnet 4: /28 to /28. See next slide مترجم : دکتر محمد حسین یغمایی 119 TCP/IP Protocol Suite

120 Example 14 مترجم : دکتر محمد حسین یغمایی 120 TCP/IP Protocol Suite

121 Example 15 An ISP is granted a block of addresses starting with /16. The ISP needs to distribute these addresses to three groups of customers as follows: 1. The first group has 64 customers; each needs 256 addresses. 2. The second group has 128 customers; each needs 128 addresses. 3. The third group has 128 customers; each needs 64 addresses. Design the subblocks and give the slash notation for each subblock. Find out how many addresses are still available after these allocations. مترجم : دکتر محمد حسین یغمایی 121 TCP/IP Protocol Suite

122 Solution: first step مترجم : دکتر محمد حسین یغمایی 122 TCP/IP Protocol Suite

123 Solution: second step مترجم : دکتر محمد حسین یغمایی 123 TCP/IP Protocol Suite

124 Solution Group 1 For this group, each customer needs 256 addresses. This means the suffix length is 8 (2 8 = 256). The prefix length is then 32-8 = : / /24 02: / / : / /24 Total = = 16,384 مترجم : دکتر محمد حسین یغمایی 124 TCP/IP Protocol Suite

125 Solution (Continued) Group 2 For this group, each customer needs 128 addresses. This means the suffix length is 7 (2 7 = 128). The prefix length is then 32-7 = 25. The addresses are: 001: / /25 002: / /25 003: / /25 Total = = 16,384 مترجم : دکتر محمد حسین یغمایی 125 TCP/IP Protocol Suite

126 Solution (Continued) Group 3 For this group, each customer needs 64 addresses. This means the suffix length is 6 (2 6 = 64). The prefix length is then 32-6 = : / /26 002: / /26 128: / /26 Total = = 8,192 مترجم : دکتر محمد حسین یغمایی 126 TCP/IP Protocol Suite

127 Solution (Continued) Number of granted addresses: 65,536 Number of allocated addresses: 40,960 Number of available addresses: 24,576 مترجم : دکتر محمد حسین یغمایی 127 TCP/IP Protocol Suite

128 Special addresses مترجم : دکتر محمد حسین یغمایی 128 TCP/IP Protocol Suite

129 All zero address مترجم : دکتر محمد حسین یغمایی 129 TCP/IP Protocol Suite

130 All ones address: limited broadcast address مترجم : دکتر محمد حسین یغمایی 130 TCP/IP Protocol Suite

131 Example of limited broadcast address مترجم : دکتر محمد حسین یغمایی 131 TCP/IP Protocol Suite

132 Direct broadcast address مترجم : دکتر محمد حسین یغمایی 132 TCP/IP Protocol Suite

133 Example of direct broadcast address مترجم : دکتر محمد حسین یغمایی 133 TCP/IP Protocol Suite

134 Network addresses مترجم : دکتر محمد حسین یغمایی 134 TCP/IP Protocol Suite

135 Example of this host on this address مترجم : دکتر محمد حسین یغمایی 135 TCP/IP Protocol Suite

136 Example of specific host on this network مترجم : دکتر محمد حسین یغمایی 136 TCP/IP Protocol Suite

137 Loopback address مترجم : دکتر محمد حسین یغمایی 137 TCP/IP Protocol Suite

138 مترجم : دکتر محمد حسین یغمایی 138 TCP/IP Protocol Suite Example of loopback address

139 مترجم : دکتر محمد حسین یغمایی 139 TCP/IP Protocol Suite Multihomed devices

140 Private Addresses A number of blocks in each class are assigned for private use. They are not recognized globally. These blocks are depicted in Table 4.4 مترجم : دکتر محمد حسین یغمایی 140 TCP/IP Protocol Suite

141 Unicast, Multicast, and Broadcast Addresses Unicast communication is one-to-one. Multicast communication is one-to-many. Broadcast communication is one-to-all. مترجم : دکتر محمد حسین یغمایی 141 TCP/IP Protocol Suite

142 Network Address Translation (NAT) مترجم : دکتر محمد حسین یغمایی 142 TCP/IP Protocol Suite

143 NAT: Address translation مترجم : دکتر محمد حسین یغمایی 143 TCP/IP Protocol Suite

144 NAT: translation مترجم : دکتر محمد حسین یغمایی 144 TCP/IP Protocol Suite

Chapter 4 IP Addresses: Classful Addressing

Chapter 4 IP Addresses: Classful Addressing Chapter 4 IP Addresses: Classful Addressing CONTENTS INTRODUCTION CLASSFUL ADDRESSING OTHER ISSUES A SAMPLE INTERNET 4.1 INTRODUCTION An IP address is a 32-bit address. The IP addresses are unique. Address

More information

Subnetting/Supernetting and Classless Addressing

Subnetting/Supernetting and Classless Addressing Chapter 5 Subnetting/Supernetting and Classless Addressing SUBNETTING SUPERNETTING CLASSLESS ADDRSSING The McGraw-Hill Companies, Inc., 2000 1 5.1 SUBNETTING The McGraw-Hill Companies, Inc., 2000 2 A network

More information

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Outline TCP/IP Protocol Suite 2 5-1 INTRODUCTION The

More information

Chapter 4. IP Addresses: Classful Addressing

Chapter 4. IP Addresses: Classful Addressing Chapter 4 IP Addresses: Classful Addressing The McGraw-Hill Companies, Inc., 2000 1 CONTENTS INTRODUCTION CLASSFUL ADDRESSING OTHER ISSUES A SAMPLE INTERNET The McGraw-Hill Companies, Inc., 2000 2 4.1

More information

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing CE363 Data Communications & Networking Chapter 6 Network Layer: Logical Addressing TCP/IP and OSI model APPLICATION APPLICATION PRESENTATION SESSION TRANSPORT NETWORK Host-Network TRANSPORT NETWORK DATA

More information

Chapter 19 Network Layer: Logical Addressing 19.1

Chapter 19 Network Layer: Logical Addressing 19.1 Chapter 19 Network Layer: Logical Addressing 19.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 19-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that

More information

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing IP Addressing -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing Internetworking The concept of internetworking: we need to make different networks communicate

More information

Lab#2: IP Addressing and Subnetting

Lab#2: IP Addressing and Subnetting IP Addressing Lab#2: IP Addressing and Subnetting Each Network Interface Card (NIC or Network card) present in a PC is assigned one Network address called as IP address. This IP address is assigned by

More information

PART IV. Network Layer

PART IV. Network Layer PART IV Network Layer Position of network layer Network layer duties Internetworking : heterogeneous Physical Networks To look Like a single network to he upper layers The address at Network layer must

More information

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University Computer Network Foundation Chun-Jen (James) Chung 1 Outline Network Addressing Subnetting Classless Inter-Domain Routing (CIDR) Route Aggregation Network Addressing How does the network decide where to

More information

Internet Addresses (You should read Chapter 4 in Forouzan)

Internet Addresses (You should read Chapter 4 in Forouzan) Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair (NETID, HOSTID) Addresses are assigned by the internet company for assignment

More information

Classful IP Addressing (cont.)

Classful IP Addressing (cont.) Classful IP Addressing (cont.) 1 Address Prefix aka Net ID defines the network Address Suffix aka Host ID defines the node In Classful addressing, prefix is of fixed length (1, 2, or 3 bytes)! Classful

More information

Topics. Subnetting. The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing Creating a Subnet Example of Subnetting 1/37

Topics. Subnetting. The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing Creating a Subnet Example of Subnetting 1/37 1/37 Subnetting Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan Last updated: 27 June 2002 Topics 2/37 The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing

More information

2.3 IPv4 Address Subnetting Part 2

2.3 IPv4 Address Subnetting Part 2 .3 IPv4 Address Subnetting Part Objective Upon completion of this activity, you will be able to determine subnet information for a given IP address and subnetwork mask. When given an IP address, network

More information

TCP/IP Basis. OSI Model

TCP/IP Basis. OSI Model TCP/IP Basis 高 雄 大 學 資 訊 工 程 學 系 嚴 力 行 Source OSI Model Destination Application Presentation Session Transport Network Data-Link Physical ENCAPSULATION DATA SEGMENT PACKET FRAME BITS 0101010101010101010

More information

Tutorial (03) IP addresses & Sub netting

Tutorial (03) IP addresses & Sub netting Tutorial (03) IP addresses & Sub netting Dr. Ahmed M. ElShafee ١ Agenda IP Addressing Conventions Original IPv4 Address Classes Subnetting CIDR (Classless InterDomain Routing) ٢ IP Addressing Conventions

More information

Activity 6.7.4: IPv4 Address Subnetting Part 2

Activity 6.7.4: IPv4 Address Subnetting Part 2 Activity 6.7.4: IPv4 Address Subnetting Part 2 Learning Objectives Upon completion of this activity, you will be able to determine subnet information for a given IP address and subnetwork mask. Background

More information

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc.

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc. TCP/IP Addressing and Subnetting an excerpt from: A Technical Introduction to TCP/IP Internals Presentation Copyright 1995 TGV Software, Inc. IP Addressing Roadmap Format of IP Addresses Traditional Class

More information

IP Addressing A Simplified Tutorial

IP Addressing A Simplified Tutorial Application Note IP Addressing A Simplified Tutorial July 2002 COMPAS ID 92962 Avaya Labs 1 All information in this document is subject to change without notice. Although the information is believed to

More information

IP Subnetting and Addressing

IP Subnetting and Addressing Indian Institute of Technology Kharagpur IP Subnetting and Addressing Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 6: IP Subnetting and Addressing

More information

Desirable Properties Of An Internet Addressing Scheme

Desirable Properties Of An Internet Addressing Scheme Desirable Properties Of An Internet Addressing Scheme Compact Universal Works with all network hardware Supports efficient decision making - Test whether a destination can be reached directly - Decide

More information

8.2 The Internet Protocol

8.2 The Internet Protocol TCP/IP Protocol Suite HTTP SMTP DNS RTP Distributed applications Reliable stream service TCP UDP User datagram service Best-effort connectionless packet transfer Network Interface 1 IP Network Interface

More information

Classless Subnetting Explained

Classless Subnetting Explained Classless Subnetting Explained When given an IP Address, Major Network Mask, and a Subnet Mask, how can you determine other information such as: The subnet address of this subnet The broadcast address

More information

Future Internet Technologies

Future Internet Technologies Future Internet Technologies Traditional Internet Dr. Dennis Pfisterer Institut für Telematik, Universität zu Lübeck http://www.itm.uni-luebeck.de/people/pfisterer Internet Protocol v4 (IPv4) IPv4 Model

More information

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. APPENDIX 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

More information

2.1.2.2.2 Variable length subnetting

2.1.2.2.2 Variable length subnetting 2.1.2.2.2 Variable length subnetting Variable length subnetting or variable length subnet masks (VLSM) allocated subnets within the same network can use different subnet masks. Advantage: conserves the

More information

Internet Protocol Address

Internet Protocol Address SFWR 4C03: Computer Networks & Computer Security Jan 17-21, 2005 Lecturer: Kartik Krishnan Lecture 7-9 Internet Protocol Address Addressing is a critical component of the internet abstraction. To give

More information

Advanced IP Addressing

Advanced IP Addressing Advanced IP Addressing CS-765 A Aspects Of Systems Administration Spring-2005 Instructure: Jan Schauman Stevens Institute Of Technology, NJ. Prepared By: Modh, Jay A. M.S. NIS SID: 999-14-0352 Date: 05/02/2005

More information

Subnetting,Supernetting, VLSM & CIDR

Subnetting,Supernetting, VLSM & CIDR Subnetting,Supernetting, VLSM & CIDR WHAT - IP Address Unique 32 or 128 bit Binary, used to identify a system on a Network or Internet. Network Portion Host Portion CLASSFULL ADDRESSING IP address space

More information

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University Computer Networks Introduc)on to Naming, Addressing, and Rou)ng Week 09 College of Information Science and Engineering Ritsumeikan University MAC Addresses l MAC address is intended to be a unique identifier

More information

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know WHITE PAPER Understanding IP Addressing: Everything You Ever Wanted To Know Understanding IP Addressing: Everything You Ever Wanted To Know CONTENTS Internet Scaling Problems 1 Classful IP Addressing 3

More information

1. How many unique network IDs are there in class A addresses? # of unique hosts?

1. How many unique network IDs are there in class A addresses? # of unique hosts? CS445: IPv4 Addresses In-class activity Names: Part 1: Address Classes Original three classes of IPv4 addresses: A: 0 network (7 bits) host (24 bits) B: 10 network (14 bits) host (16 bits) C: 110 network

More information

How To Make A Network Address Prefix Smaller

How To Make A Network Address Prefix Smaller CSC521 Communication Protocols 網 路 通 訊 協 定 Ch.9 Classless And Subnet Address Extensions (CIDR) 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Outline 1. Introduction 2. Review Of Relevant Facts 3. Minimizing Network Numbers

More information

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics Guide to TCP/IP, Third Edition Chapter 2: IP Addressing and Related Topics Objectives Understand IP addressing, anatomy and structures, and addresses from a computer s point of view Recognize and describe

More information

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting Expert Reference Series of White Papers Binary and IP Address Basics of Subnetting 1-800-COURSES www.globalknowledge.com Binary and IP Address Basics of Subnetting Alan Thomas, CCNA, CCSI, Global Knowledge

More information

Internet Protocols. Addressing & Services. Updated: 9-29-2012

Internet Protocols. Addressing & Services. Updated: 9-29-2012 Internet Protocols Addressing & Services Updated: 9-29-2012 Virtual vs. Physical Networks MAC is the part of the underlying network MAC is used on the LAN What is the addressing mechanism in WAN? WAN is

More information

The Internet/Network Layer

The Internet/Network Layer IP Addresses and Routing Tables Destination Gateway Genmask Flags MSS Window Irtt Iface 138.38.96.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo default 138.38.103.254 0.0.0.0

More information

Classful Subnetting Explained

Classful Subnetting Explained Classful ting Explained When given an IP Address and a Mask, how can you determine other information such as: The subnet address of this subnet The broadcast address of this subnet The range of Host Addresses

More information

ICS 351: Today's plan

ICS 351: Today's plan ICS 351: Today's plan Quiz, on overall Internet function, linux and IOS commands, network monitoring, protocols IPv4 addresses: network part and host part address masks IP interface configuration IPv6

More information

Computer Networks By Bahaa Q. Al-Mussawi Subnetting Basics Reduced network traffic Optimized network performance Simplified management

Computer Networks By Bahaa Q. Al-Mussawi Subnetting Basics Reduced network traffic Optimized network performance Simplified management Subnetting Basics You learned previously how to define and find the valid host ranges used in a Class A, Class B, and Class C network address by turning the host bits all off and then all on. This is very

More information

CCNA Tutorial Series SUBNETTING

CCNA Tutorial Series SUBNETTING CCNA Tutorial Series This document contains the Course Map For The Interactive flash tutorial at: http://www.semsim.com/ccna/tutorial/subnetting/subnetting.html HOME PAGE Course Objectives Pre-test By

More information

IP Addressing. IP Addresses. Introductory material.

IP Addressing. IP Addresses. Introductory material. IP Addressing Introductory material. An entire module devoted to IP addresses. IP Addresses Structure of an IP address Classful IP addresses Limitations and problems with classful IP addresses Subnetting

More information

IP Addressing Introductory material.

IP Addressing Introductory material. IP Addressing Introductory material. A module devoted to IP addresses. Addresses & Names Hardware (Layer 2) Lowest level Ethernet (MAC), Serial point-to-point,.. Network (Layer 3) IP IPX, SNA, others Transport

More information

IT:101 Cisco Networking Academy I Subnetting

IT:101 Cisco Networking Academy I Subnetting IT:101 Cisco Networking Academy I Subnetting The IPv4 address is 32 bits long and it is written in the form of dotted decimal notation. IP address in binary format: 11000000.00000001.00000001.00000020

More information

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA) Lecture 15 IP Address Each host and router on the Internet has an IP address, which consist of a combination of network number and host number. The combination is unique; no two machines have the same

More information

256 4 = 4,294,967,296 ten billion. 256 16 = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

256 4 = 4,294,967,296 ten billion. 256 16 = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes IP Addressing With the exception of multicast addresses, Internet addresses consist of a network portion and a host portion. The network portion identifies a logical network to which the address refers,

More information

Internetworking and IP Address

Internetworking and IP Address Lecture 8 Internetworking and IP Address Motivation of Internetworking Internet Architecture and Router Internet TCP/IP Reference Model and Protocols IP Addresses - Binary and Dotted Decimal IP Address

More information

How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address.

How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address. SUBNET MASK To define the network and host portions of an address, the devices use a separate 32-bit pattern called a subnet mask. We express the subnet mask in the same dotted decimal format as the IPv4

More information

We Are HERE! Subne\ng

We Are HERE! Subne\ng TELE 302 Network Design Lecture 21 Addressing Strategies Source: McCabe 12.1 ~ 12.4 Jeremiah Deng TELE Programme, University of Otago, 2013 We Are HERE! Requirements analysis Flow Analysis Logical Design

More information

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1 Scaling the Network: Subnetting and Other Protocols Networking CS 3470, Section 1 Today CIDR Subnetting Private IP addresses ICMP, IMAP, and DHCP Protocols 2 Packet Encapsulation ** Creative Commons: http://en.wikipedia.org/wiki/file:udp_encapsulation.svg

More information

Internet Protocol version 4 Part I

Internet Protocol version 4 Part I Internet Protocol version 4 Part I Claudio Cicconetti International Master on Information Technology International Master on Communication Networks Engineering Table of Contents

More information

Question 3.1.1. Question 3.2.1. Question 3.3.1. EdTech 552: Lab 3 Answer Sheet

Question 3.1.1. Question 3.2.1. Question 3.3.1. EdTech 552: Lab 3 Answer Sheet Question 3.1.1 Question Answers a. 123 01111011 b. 202 11001010 c. 67 01000011 d. 7 00000111 e. 252 11111100 f. 91 01011011 g. 116.127.71.3 01110100.01111111.01010001.00000011 h. 255.255.255.0 11111111.11111111.11111111.00000000

More information

Network and Host Addresses 1.3. 2003, Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

Network and Host Addresses 1.3. 2003, Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4 IP Addressing To facilitate the routing of packets over a network, the TCP/IP protocol suite uses a 32-bit logical address known as an IP address. This topic introduces the components of an IP address.

More information

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław Computer Networks Lecture 3: IP Protocol Marcin Bieńkowski Institute of Computer Science University of Wrocław Computer networks (II UWr) Lecture 3 1 / 24 In previous lectures We learned about layer 1

More information

Subnet + CIDR. Internet Networking recitation #1. 11:02 236341, Internet Networking, 2015 1

Subnet + CIDR. Internet Networking recitation #1. 11:02 236341, Internet Networking, 2015 1 Subnet + CIDR Internet Networking recitation #1 11:02 236341, Internet Networking, 2015 1 Administrative Information Course site: webcourse.cs.technion.ac.il/236341 Grading policy: 15% homeworks + 85%

More information

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers; VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers; 1 Given the network address of 112.44.0.0 and the network mask of 255.255.0.0 Would the two stations with addresses 112.44.22.19/16 and 112.44.23.2/16

More information

CONFIGURING TCP/IP ADDRESSING AND SECURITY

CONFIGURING TCP/IP ADDRESSING AND SECURITY 1 Chapter 11 CONFIGURING TCP/IP ADDRESSING AND SECURITY Chapter 11: CONFIGURING TCP/IP ADDRESSING AND SECURITY 2 OVERVIEW Understand IP addressing Manage IP subnetting and subnet masks Understand IP security

More information

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Module 2: Assigning IP Addresses in a Multiple Subnet Network Module 2: Assigning IP Addresses in a Multiple Subnet Network Contents Overview 1 Lesson: Assigning IP Addresses 2 Lesson: Creating a Subnet 19 Lesson: Using IP Routing Tables 29 Lesson: Overcoming Limitations

More information

Table of Contents. Cisco IP Addressing and Subnetting for New Users

Table of Contents. Cisco IP Addressing and Subnetting for New Users Table of Contents IP Addressing and Subnetting for New Users...1 Introduction...1 Before You Begin...1 Conventions...1 Prerequisites...1 Components Used...1 Additional Information...1 Understanding IP

More information

IP Addressing and Subnetting for New Users

IP Addressing and Subnetting for New Users IP Addressing and Subnetting for New Users Document ID: 13788 Contents Introduction Prerequisites Requirements Components Used Additional Information Conventions Understanding IP Addresses Network Masks

More information

Internet Addressing. Name: identifies what the object is Address: identifies where it is Route: identifies how to get there

Internet Addressing. Name: identifies what the object is Address: identifies where it is Route: identifies how to get there A unified network requires a universal communication service. Host identifiers: Name: identifies what the object is Address: identifies where it is Route: identifies how to get there Copyright Jim Martin

More information

Sybex CCENT 100-101 Chapter 4: Easy Subnetting. Instructor & Todd Lammle

Sybex CCENT 100-101 Chapter 4: Easy Subnetting. Instructor & Todd Lammle Sybex CCENT 100-101 Chapter 4: Easy Subnetting Instructor & Todd Lammle Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) Describe the operation and necessity

More information

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

SUBNETS, CIDR, AND CLASSLESS ADDRESSING Announcements SUBNETS, CIDR, AND CLASSLESS ADDRESSING Internet Protocols CSC / ECE 573 Fall, 005 No office hours tomorrow (Wednesday) out of town No class on Thursday Fall break! Midterm exam next Tuesday!

More information

Network Layer: Logical Addressing

Network Layer: Logical Addressing CHAPTER 19 Network Layer: Logical Addressing Solutions to Odd-Numbered Review Questions and Exercises Review Questions 1. An IPv4 address is 32 bits long. An IPv6 address is 128 bits long. 3. Classful

More information

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming ------ IP routing

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming ------ IP routing Process Process Process Layer CSCE 515: Computer Network Programming ------ IP routing Wenyuan Xu ICMP, AP & AP TCP IP UDP Transport Layer Network Layer Department of Computer Science and Engineering University

More information

CS 348: Computer Networks. - IP addressing; 21 st Aug 2012. Instructor: Sridhar Iyer IIT Bombay

CS 348: Computer Networks. - IP addressing; 21 st Aug 2012. Instructor: Sridhar Iyer IIT Bombay CS 348: Computer Networks - IP addressing; 21 st Aug 2012 Instructor: Sridhar Iyer IIT Bombay Think-Pair-Share: IP addressing What is the need for IP addresses? Why not have only MAC addresses? Given that

More information

Understanding IP Addressing: Everything You Ever Wanted To Know

Understanding IP Addressing: Everything You Ever Wanted To Know Understanding IP Addressing: Everything You Ever Wanted To Know Class C CIDR All-1s Prefix -Length Network-Prefix Mask /24 All-0s Class A Subnetting Supernetting Extended-Network Prefix /8 VLSM Longest

More information

VLSM and CIDR Malin Bornhager Halmstad University

VLSM and CIDR Malin Bornhager Halmstad University VLSM and CIDR Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1 Objectives Classless routing VLSM Example of a VLSM calculation 2 Classless routing CIDR (Classless

More information

- IPv4 Addressing and Subnetting -

- IPv4 Addressing and Subnetting - 1 Hardware Addressing - IPv4 Addressing and Subnetting - A hardware address is used to uniquely identify a host within a local network. Hardware addressing is a function of the Data-Link layer of the OSI

More information

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001 IP Subnetting and Related Topics A Tutorial by Chris Uriarte Updated April 2001 IP Addresses and their Binary Equivalents First and foremost, it s important to understand that every

More information

The Subnet Training Guide

The Subnet Training Guide The Subnet Training Guide A Step By Step Guide on Understanding and Solving Subnetting Problems by Brendan Choi v25 easysubnetcom The Subnet Training Guide v25 easysubnetcom Chapter 1 Understanding IP

More information

IP Address Structure

IP Address Structure Motivation A virtual network operates like a physical network and needs an addressing scheme, a packet format, and delivery techniques. An addressing scheme is critical and must appear to be a single uniform

More information

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction Introduction Internet Address Depletion and A subnet is a subset of class A, B, or C networks IP addresses are formed of a network and host portions network mask used to separate the information Introduction

More information

(Refer Slide Time: 02:17)

(Refer Slide Time: 02:17) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #06 IP Subnetting and Addressing (Not audible: (00:46)) Now,

More information

Objectives. Upon completing this chapter, you will be able to

Objectives. Upon completing this chapter, you will be able to 1358_fmi.book Page 30 Thursday, May 27, 2004 2:21 PM Objectives Upon completing this chapter, you will be able to Create and configure IPv4 addresses Understand and resolve IP addressing crises Assign a

More information

Pre-lab Preparation: 1. Read thoroughly and prepare the experiment sheet. 2. You must bring a printed copy of this experiment with you to the lab.

Pre-lab Preparation: 1. Read thoroughly and prepare the experiment sheet. 2. You must bring a printed copy of this experiment with you to the lab. University of Jordan Faculty of Engineering & Technology Computer Engineering Department Computer Networks Laboratory 907528 Lab.5 Subnetting &Variable Length Subnet Mask (VLSM) Objectives 1. To become

More information

Lecture Computer Networks

Lecture Computer Networks Prof. Dr. H. P. Großmann mit M. Rabel sowie H. Hutschenreiter und T. Nau Sommersemester 2012 Institut für Organisation und Management von Informationssystemen Thomas Nau, kiz Lecture Computer Networks

More information

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it! setting IP addresses copyright 2015 Robert Montante Static Address Assignments Suitable for small networks No need to operate a DHCP server Necessary for server systems If a server s IP address changes,

More information

SNMP/HTTP Access Control User Manual

SNMP/HTTP Access Control User Manual SNMP/HTTP Access Control User Manual 1. Security Control Configuration... 3 1.1. HTTP Security... 3 1.1.1. HTTP Security disabled... 3 1.1.2. HTTP Security enabled... 4 1.1.3. HTTP Security Control...

More information

IP Subnetting. Subnetting

IP Subnetting. Subnetting IP Subnetting Shailesh N. Sisat Prajkta S. Bhopale Vishwajit K. Barbudhe Abstract - Network management becomes more and more important as computer-networks grow steadily. A critical skill for any network

More information

Table of Contents 1 IP Addressing Configuration 1-1

Table of Contents 1 IP Addressing Configuration 1-1 Table of Contents 1 IP Addressing Configuration 1-1 IP Addressing Overview 1-1 IP Address Classes 1-1 Special IP Addresses 1-2 Subnetting and Masking 1-2 Configuring IP Addresses 1-3 Assigning an IP Address

More information

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above CCNA1 V3.0 Mod 10 (Ch 8) 1. How many bits are in an IP C. 64 2. What is the maximum value of each octet in an IP A. 28 55 C. 256 3. The network number plays what part in an IP A. It specifies the network

More information

3201 Computer Networks 2014/2015 Handout: Subnetting Question

3201 Computer Networks 2014/2015 Handout: Subnetting Question Subnetting Questions with Answers Question1: Given the following: Network address: 192.168.10.0 Subnet mask: 255.255.255.224 1. How many subnets? Ans: 6 2. How many hosts? Ans: 30 3. What are the valid

More information

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP) Tik-110.350 Computer Networks (3 cr) Spring 2000 Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP) Professor Arto Karila Helsinki University of Technology E-mail: Arto.Karila@hut.fi

More information

http://computernetworkingnotes.com/ccna-study-guide/basic-of-network-addressing.html

http://computernetworkingnotes.com/ccna-study-guide/basic-of-network-addressing.html Subnetting is a process of dividing large network into the smaller networks based on layer 3 IP address. Every computer on network has an IP address that represent its location on network. Two version

More information

Savera Tanwir. Internet Protocol

Savera Tanwir. Internet Protocol Savera Tanwir Internet Protocol The IP Protocol The IPv4 (Internet Protocol) header. IP Packet Details Header and payload Header itself has a fixed part and variable part Version IPv4, IPv5 or IPv6 IHL,

More information

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface IP addressing IP address: 32-bit identifier for host, router interface Interface: Connection between host, router and physical link routers typically have multiple interfaces host may have multiple interfaces

More information

Number of bits needed to address hosts 8

Number of bits needed to address hosts 8 Advanced Subnetting Example 1: Your ISP has assigned you a Class C network address of 198.47.212.0. You have 3 networks in your company with the largest containing 134 hosts. You need to figure out if

More information

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks).

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks). This chapter covers the following subjects: Classful Network Concepts: This section examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks). Practice

More information

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components IPv6 Addressing Awareness Objective IPv6 Address Format & Basic Rules Understanding the IPv6 Address Components Understanding & Identifying Various Types of IPv6 Addresses 1 IPv4 Address SYNTAX W. X.

More information

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks CCNA R&S: Introduction to Networks Chapter 9: Subnetting IP Networks Frank Schneemann Chapter 9: Subnetting IP Networks Subnetting IP Networks In this chapter, you will be learning how devices can be grouped

More information

Subnetting Study Guide

Subnetting Study Guide Subnetting Study Guide by Boson Software, LLC An octet is a binary number of 8 bits, with the lowest possible number being 00000000 and the highest possible number being 11111111, or 28. The binary number

More information

Lab 10.4.1 IP Addressing Overview

Lab 10.4.1 IP Addressing Overview Lab 10.4.1 IP ing Overview Estimated time: 30 min. Objectives: Background: This lab will focus on your ability to accomplish the following tasks: Name the five different classes of IP addresses Describe

More information

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises 10.3.5a, 10.3.5b, 10.3.5c and 10.3.5d

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises 10.3.5a, 10.3.5b, 10.3.5c and 10.3.5d Module 10 Subnetting Class A, B and C addresses Solutions to the Lab Exercises 10.3.5a, 10.3.5b, 10.3.5c and 10.3.5d 10.3.5a Basic Subnetting Use the following information and answer the following subnet

More information

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP Guide to Network Defense and Countermeasures Third Edition Chapter 2 TCP/IP Objectives Explain the fundamentals of TCP/IP networking Describe IPv4 packet structure and explain packet fragmentation Describe

More information

Lecture 8. IP Fundamentals

Lecture 8. IP Fundamentals Lecture 8. Internet Network Layer: IP Fundamentals Outline Layer 3 functionalities Internet Protocol (IP) characteristics IP packet (first look) IP addresses Routing tables: how to use ARP Layer 3 functionalities

More information

Expert Reference Series of White Papers. Basics of IP Address Subnetting

Expert Reference Series of White Papers. Basics of IP Address Subnetting Expert Reference Series of White Papers Basics of IP Address Subnetting 1-800-COURSES www.globalknowledge.com Basics of IP Address Subnetting Norbert Gregorio, Global Knowledge Instructor Introduction

More information

IP address format: Dotted decimal notation: 10000000 00001011 00000011 00011111 128.11.3.31

IP address format: Dotted decimal notation: 10000000 00001011 00000011 00011111 128.11.3.31 IP address format: 7 24 Class A 0 Network ID Host ID 14 16 Class B 1 0 Network ID Host ID 21 8 Class C 1 1 0 Network ID Host ID 28 Class D 1 1 1 0 Multicast Address Dotted decimal notation: 10000000 00001011

More information

Introduction to IP v6

Introduction to IP v6 IP v 1-3: defined and replaced Introduction to IP v6 IP v4 - current version; 20 years old IP v5 - streams protocol IP v6 - replacement for IP v4 During developments it was called IPng - Next Generation

More information