Académique Documents
Professionnel Documents
Culture Documents
Decimal numbers
Use 10 digits
0,1,2,3,4,5,6,7,8,9
Addressing the Network
IPv4
00000000
0
00000001
1
00000010
2
00000011
3
00000100
4
00000101
5
00000110
6
00000111
7
00001000
8
00001001
9
00001010 10
00001011 11
00001100 12
11111111 255
Cisco Public
128 64 32 16
1
128
32
128 + 32 + 8 + 4 = 172
Binary number:
128 64 32
172
44 44
16
12 12
0
1
192 . 168 . 10 . 1
4
1
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Network Address
The Host ID bits are all zeros
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 addr: 11000000 . 101010000 . 00001010 . 11111111
Broadcast Address
The Host ID bits are all ones
How do we know how many bits represent the
network portion? We add a prefix length.
Host IP:
192.168.10.1 /24
Network addr:
192.168.10.0 /24
Broadcast addr: 192.168.10.255 /24
Network:
First host:
Last host:
Broadcast:
Network:
192.168.10.0 /26
First host:
192.168.10.1 /26
Last host:
192.168.10.62 /26
Broadcast:
192.168.10.63 /26
Unicast Addresses
Network:
First host:
Last host:
Broadcast:
192.168.10. 01100000
192.168.10.
192.168.10.
192.168.10. 01111111
.96
.97
.126
.127
Network:
Host range:
Broadcast:
192.168.10.96
192.168.10.97 to 192.168.10.126
192.168.10.127
10
Broadcast Addresses
Unicast
addresses have
first octet in the
range 1 to 223
Limited Broadcast
Destination address is
255.255.255.255
Most network
transmissions
are unicast
11
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
12
Multicast Addresses
Allows a host to send a single packet to a
selected set of hosts
Multicast clients use
services initiated by a
client program to
subscribe to the
multicast group.
0.?.?.?
Default route
1 . 0 . 0 . 0 to
223.255.255.255
Host and
network
addresses
Multicast
addresses
RFC 790
240. 0 . 0 . 0 to
255.255.255.254
Experimental
RFC1700
255.255.255.255
Limited
broadcast
224 . 0 . 0 . 0 to
239.255.255.255
IP addresses 224.0.0.0
to 239.255.255.255 are
reserved for multicast
groups.
13
RFC1700
RFC3330
14
Private Addresses
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255
(10.0.0.0 /8)
(172.16.0.0 /12)
(192.168.0.0 /16)
127.0.0.0 /8
Private addresses:
10.0.0.0 /8
172.16.0.0 /12
192.168.0.0 /16
Link-Local addresses:
169.254.0.0/16
TEST-NET addresses:
192.0.2.0/24
15
16
17
18
Copyright 2001, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr