addressing the network – ipv4
DESCRIPTION
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. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/1.jpg)
© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1Version 4.0
Addressing the Network – IPv4
Network Fundamentals – Chapter 6
![Page 2: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/2.jpg)
2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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.
![Page 3: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/3.jpg)
3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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
![Page 4: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/4.jpg)
4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure
![Page 5: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/5.jpg)
5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 8-bit binary to decimal
![Page 6: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/6.jpg)
6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 8-bit binary to decimal
![Page 7: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/7.jpg)
7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 32 bits IP Address
![Page 8: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/8.jpg)
8© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 32 bits IP Address
![Page 9: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/9.jpg)
9© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 32 bits IP Addresses
![Page 10: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/10.jpg)
10© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 32 bits IP Address
![Page 11: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/11.jpg)
11© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting 32 bits IP Address Exercise 00001011?
![Page 12: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/12.jpg)
12© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Decimal to 8-bit binary
![Page 13: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/13.jpg)
13© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Decimal to 8-bit binary
![Page 14: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/14.jpg)
14© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Decimal to 8-bit binary
![Page 15: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/15.jpg)
15© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Decimal to 8-bit binary
![Page 16: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/16.jpg)
16© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing Structure Converting decimal to 8-bit binary- practice
![Page 17: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/17.jpg)
17© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing Types of Communication
In IPv4 network, the hosts can communicate in one of three different ways
![Page 18: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/18.jpg)
18© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing Types of Communication
Unicast Most common in CS and P2P
![Page 19: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/19.jpg)
19© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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
![Page 20: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/20.jpg)
20© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing Types of Communication
Multicast Only to selected set of hosts
![Page 21: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/21.jpg)
21© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing Types of Communication
![Page 22: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/22.jpg)
22© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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
![Page 23: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/23.jpg)
23© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IPv4 Addresses
![Page 24: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/24.jpg)
24© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IPv4 AddressesNetwork 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.
![Page 25: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/25.jpg)
25© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IPv4 AddressesNetwork prefix Network not always assigned a /24 prefix Depends on the number of hosts on the network
28=256, 27=128…
![Page 26: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/26.jpg)
26© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IPv4 Addresses Determine the network, broadcast and host addresses
for a given address and prefix combination172.16.4.35/24
Type of Address Last octet in binary
Last octet in decimal
Full address in decimal
Network 00000000 0 172.16.4.0
Broadcast 11111111 255 172.16.4.255
First Useable Host Address
00000001 1 172.16.4.1
Last Useable Host Address
11111110 254 172.16.4.254
![Page 27: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/27.jpg)
27© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IPv4 Addresses Exercise Determine the network, broadcast and host addresses
for a given address and prefix combination
144.83.250.97/25
Type of Address Last octet in binary
Last octet in decimal
Full address in decimal
Network
Broadcast
First Useable Host Address
Last Useable Host Address
![Page 28: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/28.jpg)
28© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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.
![Page 29: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/29.jpg)
29© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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
![Page 30: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/30.jpg)
30© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Public address and Private address
![Page 31: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/31.jpg)
31© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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.
![Page 32: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/32.jpg)
32© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
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.
![Page 33: Addressing the Network – IPv4](https://reader035.vdocuments.mx/reader035/viewer/2022062315/56816381550346895dd466ac/html5/thumbnails/33.jpg)
33© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
TBC