IP Addressing IPv4 Addressing Configuration Guide, Cisco ...
Addressing
description
Transcript of Addressing
© 2007 Cisco Systems, Inc. All rights reserved. Cisco PublicITE PC v4.0Chapter 1 1
Addressing
ITE PC v4.0Chapter 1 2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Objectives
Addressing in the LAN
IP addresses
MAC addresses
ITE PC v4.0Chapter 1 3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Data = payload = what we pay for
Data
Envelope: IP addresses on it
Mailbag: MAC addresses on it
Frame
Packet
Letter
ITE PC v4.0Chapter 1 4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Data
IP Dest: 192.168.1.2, IP Src: 192.168.3.2
MAC Dest: 00:00:00:00:03:01, MAC Src: 00:00:00:00:03:02
Frame
Packet
Letter
ITE PC v4.0Chapter 1 5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Data
IP Dest: Helsinki School, IP Src: VM School
MAC Dest: Berlin Post Office, MAC Src: Prague Post Office
Frame
Packet
Let‘s send a letter from VM School to Helsinki School via Prague and Berlin.
Frame is mailbag, Packet is envelope, Data is Letter.
Letter
ITE PC v4.0Chapter 1 6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
The frame is
- Secretary‘s bag between VM School and VM Post Office
- mailbag between VM and Prague
- another mailbag between Prague and Berlin
- another mailbag between Berlin and Helsinki
- Postman‘s bag between Helsinki Post Office and Helsinki School
Letter
Pac
ket =
Env
elop
e w
ith L
ette
r
rem
ains
alw
ays
the
sam
e !!!
ITE PC v4.0Chapter 1 7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Packet = Envelope with Letter
remains always the same !!!
Letter
ITE PC v4.0Chapter 1 8© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Data = payload = what we want to transport
Packet
Frame
ITE PC v4.0Chapter 1 9© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Let‘s ping from PC2 to PC1:
ping 192.168.1.2
ITE PC v4.0Chapter 1 10© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
Each PC, each interface has its own
• IP address, which can be changed
• MAC address, which cannot be changed
ITE PC v4.0Chapter 1 11© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
IP is always the same !!!
Frame 1
ITE PC v4.0Chapter 1 12© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
IP is always the same !!!
Frame 2
ITE PC v4.0Chapter 1 13© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Addressing
IP is always the same !!!
Frame 3
ITE PC v4.0Chapter 1 14© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
IP Addressing
ITE PC v4.0Chapter 1 15© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
MAC Addressing
MAC address
• burned into ROM permanently
• cannot be changed
• 48 bits
• hexadecimal notation
• example: 00:60:2F:3A:07:BC
ITE PC v4.0Chapter 1 16© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
MAC Addressing
48 bits
ITE PC v4.0Chapter 1 17© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Summary Frame
• changes between „stations“
Packet• stays always the same during its travel
IP address• 32 bits
• dotted-decimal notation
• „written“ on packet – doesn‘t change during transportation
• logical – device‘s IP can be changed
MAC address• 48 bits
• hexadecimal notation
• „written“ on frame - changes during transportation
• physical – device‘s MAC cannot be changed