1 / 33

Addressing the Network – IPv4

Addressing the Network – IPv4. Network Fundamentals – Chapter 6. Objectives. Explain the structure IP addressing and demonstrate the ability to convert between 8-bit binary and decimal numbers. Given an IPv4 address, classify by type and describe how it is used in the network.

gore
Download Presentation

Addressing the Network – IPv4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Addressing the Network – IPv4 Network Fundamentals – Chapter 6

  2. Objectives • Explain the structure IP addressing and demonstrate the ability to convert between 8-bit binary and decimal numbers. • Given an IPv4 address, classify by type and describe how it is used in the network. • Explain how addresses are assigned to networks by ISPs and within networks by administrators. • Determine the network portion of the host address and explain the role of the subnet mask in dividing networks. • Given IPv4 addressing information and design criteria, calculate the appropriate addressing components. • Use common testing utilities to verify and test network connectivity and operational status of the IP protocol stack on a host.

  3. IP Addressing Structure • Inside the devices, digital logic is applied for interpretation of the address • Human – 32 bits is difficult to interpret + remember • Represented as dotted decimal

  4. IP Addressing Structure

  5. IP Addressing Structure • Converting 8-bit binary to decimal

  6. IP Addressing Structure • Converting 8-bit binary to decimal

  7. IP Addressing Structure • Converting 32 bits IP Address

  8. IP Addressing Structure • Converting 32 bits IP Address

  9. IP Addressing Structure • Converting 32 bits IP Addresses

  10. IP Addressing Structure • Converting 32 bits IP Address

  11. IP Addressing Structure • Converting 32 bits IP Address • Exercise • 00001011?

  12. IP Addressing Structure • Decimal to 8-bit binary

  13. IP Addressing Structure • Decimal to 8-bit binary

  14. IP Addressing Structure • Decimal to 8-bit binary

  15. IP Addressing Structure • Decimal to 8-bit binary

  16. IP Addressing Structure • Converting decimal to 8-bit binary- practice

  17. Addressing Types of Communication • In IPv4 network, the hosts can communicate in one of three different ways

  18. Addressing Types of Communication • Unicast • Most common in CS and P2P

  19. Addressing Types of Communication • Broadcast • Using Broadcast Address • Two types: • Directed Broadcast – Broadcast is sent to all hosts on a specific network/nonlocal • Limited Broadcast - Broadcast is sent to all hosts on local network

  20. Addressing Types of Communication • Multicast • Only to selected set of hosts

  21. Addressing Types of Communication

  22. IPv4 Addresses • Three types of addresses in the network: • Network address: A special address that refers to the network • Cannot be assign to a device, only reference to a network • The lowest address in IPv4 address range • Broadcast address: A special address used to send data to all hosts in the network • The highest address in IPv4 address range • Host addresses: The unicast addresses assigned to the end devices in the network

  23. IPv4 Addresses

  24. IPv4 Addresses Network prefix • When an IPv4 network address is expressed, a prefix length added to the network address. • This prefix length is the number of bits in the address that gives the network portion. • Written in slash format. That is a forward slash (/) followed by the number of network bits. • Example, in 172.16.4.0 /24, the /24 is the prefix length. • This tells you that the first 24 bits are the network address. The remaining 8 bits, the last octet, are the host portion.

  25. IPv4 Addresses Network prefix • Network not always assigned a /24 prefix • Depends on the number of hosts on the network 28=256, 27=128…

  26. IPv4 Addresses • Determine the network, broadcast and host addresses for a given address and prefix combination • 172.16.4.35/24

  27. IPv4 Addresses • Exercise • Determine the network, broadcast and host addresses for a given address and prefix combination 144.83.250.97/25

  28. Public address and Private address • Although most IPv4 host addresses are public addresses designated for use in networks that are accessible on the Internet, there are blocks of addresses used in networks that require limited or no Internet access. • These addresses are called private addresses. • The private address blocks are ■ 10.0.0.0 /8 (10.0.0.0 to 10.255.255.255) ■ 172.16.0.0 /12 (172.16.0.0 to 172.31.255.255) ■ 192.168.0.0 /16 (192.168.0.0 to 192.168.255.255) • Private space address blocks are set aside for use in private networks.

  29. Public address and Private address • Private space address blocks are set aside for use in private networks. • Packets using these addresses as the source or destination should not appear on the public Internet • The router or firewall device at the perimeter of these private networks must block or translate these addresses • These services, called Network Address Translation (NAT), can be implemented on a device at the edge of the private network. NAT changes the private space addresses in the IPv4 packet header to a public space address

  30. Public address and Private address

  31. Purpose of several special addresses • Default route • The IPv4 default route is 0.0.0.0. This default route is a “catch all” route to route packets when a more specific route is not available. • 0.0.0.0 /8 address block (0.0.0.0–0.255.255.255). • Loopback address • The loopback address use to direct traffic to themselves. • Shortcut method for TCP/IP applications and services that run on the same device to communicate with one another. • Two services on the same host can bypass the lower layers of the TCP/IP stack. • 127.0.0.1 address is used, address block 127.0.0.0 /8 (127.0.0.0 to 127.255.255.255) is reserved.

  32. Purpose of several special addresses • ■ Link-local address • 169.254.0.0 /16 address blocks (169.254.0.0 to 169.254.255.255) • can be automatically assigned to the local host by the operating system in environments where no IP configuration is available. • only suitable for communication with other devices connected to the same network • ■ Test-net addresses • set aside for teaching and learning purposes. • block 192.0.2.0 /24 (192.0.2.0 to 192.0.2.255) • used in documentation and network examples.

  33. TBC

More Related