Preview

12

Powerful Essays
Open Document
Open Document
1511 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
12
Network Layer:
Logical Addressing

4­1 IPv4 ADDRESSES

An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.

Topics discussed in this section:
Address Space
Notations
Classful Addressing
Classless Addressing
Network Address Translation (NAT)

Note

An IPv4 address is 32 bits long.

The IPv4 addresses are unique and universal.
The address space of IPv4 is
32
2 or 4,294,967,296.

Figure 4.1 Dotted-decimal notation and binary notation for an IPv4 address

Example 4.1

Change the following IPv4 addresses from binary notation to dotted-decimal notation.

Solution
We replace each group of 8 bits with its equivalent decimal number (see Appendix B) and add dots for separation.

Example 4.2

Change the following IPv4 addresses from dotted-decimal notation to binary notation.

Solution
We replace each decimal number with its binary equivalent (see Appendix B).

Example 4.3

Find the error, if any, in the following IPv4 addresses.

Solution
a. There must be no leading zero (045).
b. There can be no more than four group of numbers.
c. Each number needs to be between 0 to 255.
d. A mixture of binary notation and dotted-decimal notation is not allowed.

Note

In classful addressing, the address space is divided into five classes:
A, B, C, D, and E.

Figure 4.2 Finding the classes in binary and dotted-decimal notation

Example 4.4

Find the class of each address.
a. 00000001 00001011 00001011 11101111
b. 11000001 10000011 00011011 11111111
c. 14.23.120.8
d. 252.5.15.111
Solution
a. The first bit is 0. This is a class A address.
b. The first 2 bits are 1; the third bit is 0. This is a class C address. c. The first byte is 14; the class is A.
d. The first byte is 252; the class is E.

Table 4.1 Number of blocks and block size in classful IPv4 addressing

In classful addressing, a large part of the available addresses were wasted. Table4.2 Default Masks for classful

You May Also Find These Documents Helpful

  • Powerful Essays

    NT1210Unit3Lab3

    • 1288 Words
    • 4 Pages

    IP, Internet Protocol, the main TCP/IP network layer3 protocol. IP defines addressing (IP address), considered logical because it works independently from the physical, and routing, which defines how to forward packets from…

    • 1288 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    Nt1330 Unit 3 Assignment 1

    • 2019 Words
    • 9 Pages

    Subnetting IP Addressing • Internet Protocol (IP) • A unique indentifier for a host, or node, on an IP network • 32-bit binary number, usually expressed as 4 “dotted decimal” values. • Each decimal value represents 8 bits, in the range of 0 to 255 Example 140.179.220.200 140 Written in binary form: .179 .220 .200…

    • 2019 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    The IPv4 address only allows only around 4.3 Billion addresses. There are currently more than 7 billion people in the world. While everyone doesn’t have a connection, there are more devices than people and servers to serve content.…

    • 334 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2. An Ipv4 uses 32 bit IP addresses. The max number of of IPv4 addresses is about 4 billion.…

    • 278 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Gives system addressing and routing, and does so in such a manner as additionally to give a regular address space across numerous lower-level protocols. This makes conceivable the interconnection of systems that describes the Internet. The IP protocol works at this level.…

    • 1263 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    NT 1230 FINAL EXAM REVIEW

    • 542 Words
    • 2 Pages

    what is used to specify the bits of an IP address are network and host. Subnet Mask…

    • 542 Words
    • 2 Pages
    Powerful Essays
  • Powerful Essays

    NT1330 FINAL EXAM NOTES

    • 1446 Words
    • 5 Pages

    IPv4 addresses are commonly represented using what is called dotted-decimal notation, in which the decimal value of each byte is shown, using periods to separate the bytes.…

    • 1446 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 8 Assignment 1

    • 349 Words
    • 1 Page

    IP address: A 32-bit binary number, often written in the DDN format, that hosts use as their unique identifier in a TCP/IP network, much like a postal mailing address in the postal system.…

    • 349 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Ch09 Solutions

    • 1016 Words
    • 5 Pages

    9. In Figure 15-9, the subnet mask is four notches tall and is considered a classless subnet…

    • 1016 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Nt2460 Unit 1 Assignment

    • 762 Words
    • 4 Pages

    These addresses are commonly used for home, office, and enterprise local area networks (LANs), when globally routable addresses are not mandatory, or are not available for the intended network applications. Under IPv4, the private IP address spaces were originally defined in an effort to delay IPv4 address exhaustion, but they are also a feature of IPv6, the next generation Internet Protocol.…

    • 762 Words
    • 4 Pages
    Good Essays
  • Good Essays

    13th

    • 927 Words
    • 4 Pages

    The film 13th by Ava DuVernay empowers and alerts the audience to the majority of the discrimination against people of color and especially black people that are victims of extreme predigest against them in so many different parts of life. The film does not signal out one or two individuals but singles out dozens of people in power, people who we think of as leaders, and huge organization that make laws for our country. DuVernays claims that we have not moved past the days of slavery and Jim Crow laws, instead we have just shifted and keep rewriting laws that have people of color in the crosshairs of a loaded gun. The United states claims to be the land of the free, yet we have 25% of the worlds prisoners, with only five percent of the world’s population. Among all the people who live in America black men make about 6.5%, however they represent over 40 percent of our prison system. The minority will always have to fight for equally…

    • 927 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Eleven

    • 312 Words
    • 2 Pages

    The message that the short story Eleven by Sandra Cisneros tells is that even though you get older you’re still all the same ages you were before. Rather you be five and have to sit on you’re moms lap because you’re scared or when you’re 10 and you might say something stupid. Sandra uses the element imagery quite a bit in her short story. “…When I put one arm through one sleeve of the sweater that smells like cottage cheese, and then the other arm through the other and stand there with my arms apart like if the sweater hurts me and it does, all itchy and full of germs that aren’t even mine.” This particular sentence really describes how awful the sweater must be, she says that one arm of the sleeve smells like cottage cheese and the other is itchy and full of germs that aren’t even hers. The mental image I got from that was a sweater that was a big, ugly, and smelly heap of a very itchy red sweater. Another element of voice Sandra uses is diction. “Only today I wish I didn’t have only eleven years rattling inside me like pennies in a tin Band-Aid box.” This example of diction was one that would stick out the rest of the story. Instead of saying I wish I were older than 11, Sandra uses diction to emphasize how much she would love to be older than 11. All in all Sandra does an incredible job throughout the book in using elements of voice to portray Rachel, not only did she uses imagery and diction but she used detail, syntax, and tone. She very nicely described how all people will revert back to past ages. Overall, she uses many elements of voice to depict the message of this…

    • 312 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Internet Number Resources

    • 381 Words
    • 2 Pages

    2. Approximately how many Ipv4 addresses are possible? An IPv4 uses 32 bit IP address and with 32 bits the maximum number of IP addresses is approximately four billion IPv4 addresses…

    • 381 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Haha12

    • 1564 Words
    • 7 Pages

    YFID is a federally incorporated Canadian Non-Profit organization whose goal is to involve youth in diplomacy and meaningful dialogue at an international level. YFID hosted the very successful 2010 G8/G20 Youth Summit in Vancouver in May 2010. Over 100 delegates from 20 countries came to Canada to participate in the week-long conference.…

    • 1564 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Nine

    • 2859 Words
    • 12 Pages

    IBCA Q3 Nine Weeks Exam 2012-2013 Key Applications Lesson 15 & 16 Working with Tables & Enhancing Documents Thank you. Your responses have been automatically graded. Here are your results.…

    • 2859 Words
    • 12 Pages
    Good Essays

Related Topics