FALLSEM2017-18_CSE1004_ETH_SJT801_VL2017181001225_Reference Material I_Chap-04 IP Addresses Classful

# FALLSEM2017-18_CSE1004_ETH_SJT801_VL2017181001225_Reference Material I_Chap-04 IP Addresses Classful

• 59

This preview shows pages 1–11. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

The IP addresses are unique. Note: Note:

This preview has intentionally blurred sections. Sign up to view the full version.

The address space of IPv4 is 2 32 or 4,294,967,296. Note: Note:
Figure 4.1 Dotted-decimal notation

This preview has intentionally blurred sections. Sign up to view the full version.

Change the following IP addresses from binary notation to dotted-decimal notation. a. 10000001 00001011 00001011 11101111 b . 11000001 10000011 00011011 11111111 c. 11100111 11011011 10001011 01101111 d. 11111001 10011011 11111011 00001111 Example 1 Solution We replace each group of 8 bits with its equivalent decimal number (see Appendix B) and add dots for separation: a. 129.11.11.239 b. 193.131.27.255 c. 231.219.139.111 d. 249.155.251.15
Change the following IP addresses from dotted-decimal notation to binary notation. a. 111.56.45.78 b. 221.34.7.82 c. 241.8.56.12 d. 75.45.34.78 Example 2 Solution We replace each decimal number with its binary equivalent: a. 01101111 00111000 00101101 01001110 b. 11011101 00100010 00000111 01010010 c. 11110001 00001000 00111000 00001100 d. 01001011 00101101 00100010 01001110

This preview has intentionally blurred sections. Sign up to view the full version.

Find the error, if any, in the following IP addresses: a. 111.56.045.78 b. 221.34.7.8.20 c. 75.45.301.14 d. 11100010.23.14.67 Example 3 Solution a. There are no leading zeroes in dotted-decimal notation (045). b. We may not have more than four numbers in an IP address. c. In dotted-decimal notation, each number is less than or equal to 255; 301 is outside this range. d. A mixture of binary notation and dotted-decimal notation is not allowed.
Change the following IP addresses from binary notation to hexadecimal notation. a. 10000001 00001011 00001011 11101111 b. 11000001 10000011 00011011 11111111 Example 4 Solution We replace each group of 4 bits with its hexadecimal equivalent (see Appendix B). Note that hexadecimal notation normally has no added spaces or dots; however, 0X (or 0x) is added at the beginning or the subscript 16 at the end to show that the number is in hexadecimal. a. 0X810B0BEF or 810B0BEF 16 b. 0XC1831BFF or C1831BFF 16

This preview has intentionally blurred sections. Sign up to view the full version.

4.2 CLASSFUL ADDRESSING IP addresses, when started a few decades ago, used the concept of IP addresses, when started a few decades ago, used the concept of classes. This architecture is called classes. This architecture is called classful addressing classful addressing . In the mid-1990s, . In the mid-1990s, a new architecture, called classless addressing, was introduced and will a new architecture, called classless addressing, was introduced and will eventually supersede the original architecture. However, part of the eventually supersede the original architecture. However, part of the Internet is still using classful addressing, but the migration is very fast.
This is the end of the preview. Sign up to access the rest of the document.
• Fall '17
• jaa

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern