Professional Documents
Culture Documents
Objectives
Better understand the Internet Protocols (IP) background and popularity in todays networks
Better understand the Internet Protocol Suite; including applications
Presentation_ID
Cisco Confidential
Agenda
Internet Protocol (IP) background
Internet Protocol Suite IP applications and services Routing IP IP in cable networks Using IP to deliver services
Introduction to IP version 6
Q&A
Presentation_ID
Cisco Confidential
Presentation_ID
Cisco Confidential
Internet Protocols in current form took shape 1977-1979 The global Internet (what we have today) began in 1980 In 1983 the Office of the Secretary of Defense mandated that all devices connected to long haul networks use TCP/IP In 1986 the National Science Foundation funded an effort to create a wide area backbone network called NSFNET and connected it to ARPANET Today it is estimated there are over 1.4 Billion Internet users
5
Presentation_ID
Cisco Confidential
Presentation_ID
Cisco Confidential
Presentation_ID
Cisco Confidential
Facilitates communication between networks and devices of varying underlying technologies Provides various Application Level Services
Electronic Mail File Transfer Terminal Emulation Streaming Media World Wide Web Based Services
Presentation_ID
Cisco Confidential
Application
Presentation_ID
Cisco Confidential
10
Presentation_ID
Cisco Confidential
11
Host
Varying underlying technologies - Ethernet - Packet Over SONET - Frame Relay Different geographic locations Talking Frames
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
12
Internet Layer
Presentation_ID
Cisco Confidential
13
Internet Layer
IP Packet format
IP Address Network Mask Default Gateway Private IP Addresses Address Resolution
Presentation_ID
Cisco Confidential
14
IP Packet Format
Up to 1500 Bytes
IP Header 20 Bytes
an IP Header applied Data is encapsulated in a Transport Protocol TheThen process starts with is Data to be transmitted
Ethernet Header 14 Bytes
IP Header 20 Bytes TCP or UDP Header 24 or 8 Bytes Data Variable Length
FCS 4 Bytes
The Ethernet Packet isframe then packaged with IP Packet in a Data is Transmitted Link frame
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
15
IP Header Information
Version = 4 bits
Length = 4 bits Type of Service (TOS) = 8 bits Total Length = 16 bits
IP Header 20 Bytes
Identification = 16 bits
Flags = 3 bits Fragment Offset = 13 bits TTL = 8 bits Protocol = 8 bits Header Checksum = 16 bits Source IP Address = 32 bits
16
IP Address
Presentation_ID
Cisco Confidential
17
IP Address
A 32 bit number divided into octets where each octet has a value of 0-255; example 192.168.1.1 Uniquely identifies an IP enabled device on an IP network
18
IP Address
An IP Address is a UNIQUE identifier assigned to EVERY device on a network. It is used to allow communications between devices on a network
An IP Address is 32 bits (or 4 bytes) in length It takes the form of N.N.N.N where N is a number from 0 to 255 e.g. 192.168.1.1
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
19
IP Address
32 Bits Dotted Decimal Maximum
1
Network
Host
192
8 9
168
16 17
1
24 25
1
32
Binary
Presentation_ID
Cisco Confidential
IP Address Classes
8 Bits 8 Bits Host 8 Bits Host Host 8 Bits Host Host Host
Class A:
Network
Class B:
Class C: Class D: Class E:
Network Network
Multicast Research
Presentation_ID
Cisco Confidential
21
IP Address Classes
Bits: 1 8 9 16 17 24 25 32
Class A:
Bits:
0NNNNNNN
Range (1-126) 1 8 9
Host
16 17 Network
Host
24 25 Host
Host
32 Host
Class B:
Bits:
10NNNNNN
Range (128-191) 1 8 9
110NNNNN Range (192-223) 1 8 9 1110MMMM Network
16 17
Network 16 17
24 25
Host 24 25
32
Class C:
Bits:
32
Class D:
Presentation_ID
Range (224-239)
Cisco Confidential
22
Network Mask
Presentation_ID
Cisco Confidential
23
Network Mask
A Network Mask is associated with an IP Address and defines a boundary IP devices use to determine whether or not packets need to be forwarded to a Gateway
24
Network Mask
Default Mask for a Class A Network is 255.0.0.0, Default Mask for a Class B Network is 255.255.0.0, Default Mask for a Class C Network is 255.255.255.0 The Network Mask indicates how many bits are being used for the Network Portion of an Address
Presentation_ID
Cisco Confidential
25
Presentation_ID
Cisco Confidential
26
Default Gateway
Presentation_ID
Cisco Confidential
27
When a IP host needs to communicate with another IP host on a different IP network i.e. 170.10.0.0 to 192.1.1.0 or a different sub-network i.e. 192.168.1.64 to 192.168.1.128
Data must be forwarded through a gateway THIS FUNCTION IS NORMALLY DONE BY A
28
Private IP Addresses
Presentation_ID
Cisco Confidential
29
30
172.16.0.0 to 172.31.255.255
Class C Private Addresses: 192.168.0.0 to 192.168.255.255
Presentation_ID
Cisco Confidential
31
Address Resolution
Presentation_ID
Cisco Confidential
32
Host Addresses
Presentation_ID
Cisco Confidential
33
www.ietf.org
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Open Standards
34
ARP
I need the Ethernet address of 172.16.3.2 172.16.3.1 172.16.3.2 I heard that broadcast. The message is for me. Here is my Ethernet address.
IP: 172.16.3.2 = ??? IP: 172.16.3.2 Ethernet: 0800.0020.1111 Now the IP Address is mapped to the MAC address, yielding a table like this: IP 172.16.3.2 : MAC 0800.0200.1111 Next time I want to talk to 172.16.3.2 I dont have to use ARP since its already in my table.
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
35
Presentation_ID
Cisco Confidential
36
Presentation_ID
Cisco Confidential
37
Ping
Packet InterNet Groper Check end-to-end network connectivity Baseline network layer performance
Roundtrip Delay
Presentation_ID
Cisco Confidential
38
Traceroute
Used to determine path through a network between two endpoints Uses the IP Time To Live (TTL) field Initiated via Echo Request or UDP probe on high ports Narrow down connectivity issues Baseline network performance on a hop by hop basis
Presentation_ID
Cisco Confidential
39
Time To Live
Presentation_ID
Cisco Confidential
40
Presentation_ID
Cisco Confidential
41
TTL
Host 1 TTL = 10
10.1.1.1
Host 2
20.1.1.1
TTL = 9
TTL = 6
TTL = 8
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
TTL = 7
42
TTL
Host 1 TTL = 10
10.1.1.1
Host 2
20.1.1.1
TTL = 9TTL = 0
TTL = 6
TTL = 8
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
TTL = 7
43
Transport Layer
Presentation_ID
Cisco Confidential
44
TCP is a Transport Layer Protocol used to provide reliable, connection oriented communications between two devices. Each packet transmitted is acknowledged by the receiving station.
45
Presentation_ID
Cisco Confidential
Presentation_ID
Cisco Confidential
Application Layer
Presentation_ID
Cisco Confidential
47
Presentation_ID
Cisco Confidential
DHCP
DHCPREQUEST DHCPDISCOVER Host DHCPOFFER DHCPACK DHCP Server
I need an IP Address You can use this IP Address I will use that IP Address
Acknowledged
Presentation_ID
Cisco Confidential
49
www.ietf.org
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Open Standards
50
www.cisco.com = ???
www.cisco.com = 172.16.3.2
Presentation_ID
Cisco Confidential
51
IP Routing
Presentation_ID
Cisco Confidential
52
What is Routing?
Routing is the process of forwarding a datagram from one hop to the next
Routers forward traffic to a logical destination in an internetwork Routers perform two primary functions
Routing share/learn network routes Switching take packets from the inbound interface and send them through the outbound interface
53
Presentation_ID
Cisco Confidential
54
Network 1 Network 3
Network 4
Network 5
I can now get to Network 5 directly!
Network 2
Network 6
Presentation_ID
Cisco Confidential
55
Presentation_ID
Cisco Confidential
56
Packet Types
Three types of Packets
Unicast
Only one end-point for the packet
Multicast
Only select endpoints (those who asked for it) should receive a copy of the packet
Broadcast
All end points should receive the packet
Presentation_ID
Cisco Confidential
57
Unicast
IP packet 24.1.2.3 src server src 24.1.2.3 dst 52.6.7.8 misc info TCP/UDP header payload
router
router
router
router
OSPF BGP
router
router
router
router
eQAM_1
eQAM_2
eQAM_3 52.6.7.8
eQAM_4
eQAM_n
Presentation_ID
Cisco Confidential
58
Multicast
IP packet 24.1.2.3 src server src 24.1.2.3 dst 239.4.5.6 misc info TCP/UDP header payload
router
router
router
router
router
router
router
eQAM_2 31.9.0.5
59
Quality of Service
Presentation_ID
Cisco Confidential
60
This ensures our customers have a pleasant TV viewing experience and coherent phone conversations
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
61
Class definition sets minimum bandwidth Queue servicing (metering) controls latency Unused capacity is shared amongst the other classes Each Class can be separately configured for QoS
2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Presentation_ID
62
Ethernet
Presentation_ID
Cisco Confidential
63
Ethernet Overview
Invented by Xerox in Early 1970s
Presentation_ID
Cisco Confidential
64
Ethernet Overview
Ethernet Speeds
Ethernet - 10 Million Bits Per Second Fast Ethernet - 100 Million Bits Per Second
Presentation_ID
Cisco Confidential
65
Ethernet Overview
Destination MAC Address
Ethernet Frame
Dest Addr Src Addr
Type
FCS
Presentation_ID
Cisco Confidential
66
Why Ethernet?
Gigabit Ethernet and Ten Gigabit Ethernet offer high throughput capabilities Ethernet relatively inexpensive compared to other technologies offering the same throughput Ethernet is well known and understood; resources abound
Presentation_ID
Cisco Confidential
67
MAC Address
MAC = Media Access Control
Hardware identifier Burned in at time of manufacturing 6 Bytes in length Uniquely identifies devices connected to Ethernet Organization Unit Identifier is first 3 bytes Example: Cisco has OUI of 00-00-0c
Typical Formats
00-00-0c-12-34-56 0000.0c12.3456 00:00:0c:12:34:56
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
68
Presentation_ID
Cisco Confidential
69
Presentation_ID
Cisco Confidential
70
IPv6 Fundamentals
Presentation_ID
Cisco Confidential
71
72
Identification
Flags
Fragment Offset
Payload Length
Next Header
Hop Limit
Time to Live
Protocol
Header Checksum
Source Address
Legend
- fields name kept from IPv4 to IPv6 - fields not kept in IPv6 - Name & position changed in IPv6
Destination Address
Presentation_ID
73
IPv6
128 bits =3.4 X 1038 possible addressable devices =340,282,366,920,938,463,463,374,607,431,768,211,456 5 x 1028 addresses per person on the planet 13 quintillion IPv4 domains per person (a quintillion is one million trillion)
Presentation_ID
Cisco Confidential
74
IPv6 Addressing
IPv6 addressing rules are covered by multiple RFCs
Architecture defined by RFC 4291 3 Address types: Unicast: One to One (Global and Link Local) An identifier for a single interface. A packet sent to a unicast address is delivered to the interface identified by that address. Anycast: One to Nearest (Allocated from Unicast) An identifier for a set of interfaces (typically belonging to different nodes). A packet sent to an anycast address is delivered to one of the interfaces identified by that address (the "nearest" one, according to the routing protocols' measure of distance). Multicast: One to Many
An identifier for a set of interfaces (typically belonging to different nodes). A packet sent to a multicast address is delivered to all interfaces identified by that address.
No Broadcast address, use multicast instead
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
75
Presentation_ID
Cisco Confidential
76
All address types (except multicast) have to support EUI-64 (64 bit extended unique identifier)
Presentation_ID
Cisco Confidential
77
001
Subnet ID
Interface ID
n bits Provider
64 bits Host
First 3 bits 001 (2000::/3) is the first allocation from IANA for IPv6 Unicast use
Presentation_ID
Cisco Confidential
78
TCP
UDP
TCP
UDP
IPv4
IPv6
IPv4
IPv6
0x0800
0x86dd
0x0800
0x86dd
Frame Protocol ID
Presentation_ID
Cisco Confidential
79
Q and A
Presentation_ID
Cisco Confidential
80
References
http://www.ietf.org
RFC 761 DoD Standard Transmission Control Protocol RFC 768 User Datagram Protocol RFC 791 Internet Protocol RFCs 1034 and 1035 Domain names concepts and facilities, Domain names implementation and specification RFC 1918 Address Allocation for Private Internets RFC 2131 Dynamic Host Configuration Protocol
Presentation_ID 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
81
References cont.
RFC 2460 Internet Protocol, Version 6 (IPv6) Specification
RFC 4291 IP Version 6 Addressing Architecture Internetworking with TCP/IP by Douglas E. Comer
Presentation_ID
Cisco Confidential
82
Contact Info
Dan Baum
Cisco Systems danbaum@cisco.com
469-255-2021
Presentation_ID
Cisco Confidential
83
Presentation_ID
Cisco Confidential
84