Professional Documents
Culture Documents
Binary and Decimal Number Systems: Addressing The Network - Ipv4
Binary and Decimal Number Systems: Addressing The Network - Ipv4
00000000 0
Decimal numbers
00000001 1
Use 10 digits 00000010 2
0,1,2,3,4,5,6,7,8,9 00000011 3
Addressing the Network 00000100 4
Base 10 numbers (or radix 10)
IPv4 00000101 5
Binary numbers 00000110 6
00000111 7
Use two digits (bits) 0,1 00001000 8
Network Fundamentals Chapter 6 Base 2 numbers (or radix 2) 00001001 9
Only concerned with 8-bit 00001010 10
00001011 11
numbers range 0 to 255
00001100 12
11111111 255 2
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Binary number: 1 0 1 0 1 1 0 0
128 + 32 + 8 + 4 = 172
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 1
Three Types of IPv4 Addresses Host Address: 192.168.10.1 /24
An IP address has two parts An IPv4 address is 32-bits.
The Network Address portion high-order bits How many bits represent the network portion,
and how many the host portion?
The Host ID portion low-order bits
Determined by the Prefix length: /24
Network Address
24 high-order bits are Network bits (the prefix)
The Host ID bits are all zeros
Remaining 8 bits are host ID bits (32 24 = 8)
Host Address
Each host on the network has a unique Host ID Host IP: 11000000 . 101010000 . 00001010 . 00000001
Network addr: 11000000 . 101010000 . 00001010 . 00000000
Broadcast Address Broadcast addr: 11000000 . 101010000 . 00001010 . 11111111
The Host ID bits are all ones Host IP: 192.168.10.1 /24
How do we know how many bits represent the Network addr: 192.168.10.0 /24
network portion? We add a prefix length. 7 Broadcast addr: 192.168.10.255 /24 8
Unicast
addresses have Limited Broadcast
first octet in the
range 1 to 223 Destination address is
255.255.255.255
Most network
transmissions Limited to local network,
are unicast i.e. broadcast domain
Not passed by routers.
Packet Tracer activity 6.2.3 11 12
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 2
Multicast Addresses IPv4 32-bit addresses
span 0.0.0.0 to 255.255.255.255.
Allows a host to send a single packet to a
selected set of hosts 0.?.?.? Default route
Multicast clients use 1 . 0 . 0 . 0 to Host and RFC 790
services initiated by a network
223.255.255.255
client program to addresses
subscribe to the RFC1700
multicast group. 224 . 0 . 0 . 0 to Multicast
239.255.255.255 addresses
IP addresses 224.0.0.0
240. 0 . 0 . 0 to Experimental RFC1700
to 239.255.255.255 are
reserved for multicast 255.255.255.254 RFC3330
groups.
255.255.255.255 Limited
13 broadcast 14
17 18
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 3