Presentation_ID
Cisco Confidential
Agenda
Introduction to IP Understanding an IP Address g g IP Routing and Networking IP in Cable Networks IP for VoIP, Digital Video Home Networking etc VoIP Video, Networking, etc. IPv6 Fundamentals Conclusion / Q&A
Presentation_ID
Cisco Confidential
Isnt unique to the Global (www) Internet; applies to private networks as well
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Presentation_ID
Cisco Confidential
Presentation_ID
Cisco Confidential
Application
Presentation_ID
Cisco Confidential
Interacts with user applications, apps outside OSI pp pp Ensures that information sent from one system will be readable by another system. Format, compression Establishes, manages, terminates communication sessions between two hosts. Synchronizes dialogue Implements data transport services that are transparent p p p to upper layers. Flow control, segment/reassemble, mux Provides connectivity between multiple data links, into an internetwork. Logical addresses, best p g path selection How data is formatted for transmission, how access to the network is controlled. Uses physical addresses Specifications for the physical link between systems Cabling, voltage levelsputs bits on the wire
Cisco Confidential
Presentation
Session
Transport p
Network
Data Link
Physical
Presentation_ID
Why Layers?
Application pp Presentation Session Transport T 3 Switch Hub
Presentation_ID
7 6 5 4 3 2 1
8
Reduces complexity (one big problem to seven smaller ones) Standardizes interfaces Facilitates modular engineering p Assures interoperable technology Accelerates evolution Simplifies teaching and learning
Router
2 1
2006 Cisco Systems, Inc. All rights reserved.
Data Encapsulation
HOST A Application Presentation Session Transport Network Data Link Physical
Presentation_ID
HOST B Application
Data
Presentation Session
segment packet
Network Header H d
Data Data
Frame Frame Network NetworkTransport Transport Data Data Data Data Data Header Header Header Header Header Header
bits
0101101010110001
Cisco Confidential
Presentation_ID
Cisco Confidential
10
Electricity
(voltage) Time
Light
Presentation_ID
Cisco Confidential
11
V.35 V 35
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
V.35 V 35
Winchester
12
Presentation_ID
Cisco Confidential
Vendor Code
Serial Number
0000.0c12. 3456
ROM RAM
MAC address: 6 Byte (48 bit), hexadecimal number burned into ROM on a network interface card (NIC), copied into RAM
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
14
Ethernet
Invented by Xerox in Early 1970s Became IEEE Standard in 1980s 1980 s IEEE802.3 and Ethernet Version 2.0 CSMA/CD protocol Ethernet Speeds
Ethernet - 10 Million Bits per Second Fast Ethernet - 100 Million Bits per Second Gigabit Ethernet 1 Billion Bits per Second or 1 Gbps Ten Gi bit Eth T Gigabit Ethernet 10 Billion Bit per S t Billi Bits Second or 10 Gb d Gbps 100 Gigabit Ethernet 100 Billion bps or 100Gbps DRAFT
Why Ethernet?
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
15
Preamble
Type
CRC
Bytes
16
Broadcast
A
Application
B
Application Presentation Session Transport Network Data Link Physical
C
Application Presentation Session Transport Network Data Link Physical
D
Application Presentation Session Transport Network Data Link Physical
Multicast Unicast
Presentation_ID
Cisco Confidential
17
Ethernet Broadcast
A
Application Presentation Session Transport Network Data Link Physical
B
Application Presentation Session Transport Network Data Link Physical
C
Application Presentation Session Transport Network Data Link Physical
D
Application Presentation Session Transport Network Data Link Physical
Presentation_ID
Cisco Confidential
18
Ethernet Multicast
A
Application Presentation Session Transport Network Data Link Physical
B
Application Presentation Session Transport Network Data Link Physical
C
Application Presentation Session Transport Network Data Link Physical
D
Application Presentation Session Transport Network Data Link Physical
Presentation_ID
Cisco Confidential
19
Ethernet Unicast
A
Application Presentation Session Transport Network Data Link Physical
B
Application Presentation Session Transport Network Data Link Physical
C
Application Presentation Session Transport Network Data Link Physical
D
Application Presentation Session Transport Network Data Link Physical
Presentation_ID
Cisco Confidential
20
VLAN Membership
OSI Model
Application Presentation Session Transport T t Network Data Link Physical
VLANs
21
Router
Bridge Function Bridge Function
Router
Switch
Switch
Ports grouped together in a virtual bridge Traffic between VLANs must be routed
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
22
Agenda
Introduction to IP Understanding an IP Address g g IP Routing and Networking IP in Cable Networks IP for VoIP, Digital Video Home Networking etc VoIP Video, Networking, etc. IPv6 Fundamentals Conclusion / Q&A
Presentation_ID
Cisco Confidential
23
Internetwork Layer
Presentation_ID
Cisco Confidential
24
Network Addressing
Every network device must be uniquely addressed, using both a network and host identifier
A
1 Network ID
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Host ID
A.1 A1
Unique Device Address
25
IP Addressing
IPv4 uses a 32 bit long address (4 Bytes) to denote g ( y ) a unique network/host device identifier 32 bits
bit
4 Bytes
192 . 168 . 17 . 1
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
26
Binary Notation
bit position
? ? ? ? _ _ _ _
128 64 32 16
7 6
5 4
? ? ? ? _ _ _ _
8 4 2 1
decimal value
2 1
0 0 0 0
or or or or
0 0 0 0
or or or or
1 1 1 1 _ _ _ _ 1 0 _ 1 _ _ 0 _
128 64 32 16 128
Presentation_ID
1 1 1 1 _ _ _ _ 0 0 1 0 _ _ _ _
8 4 + 2 1 2
Cisco Confidential
= 146
16
Decimal Notation
0 0 0 0 _ _ _ _
128 64 32 16
0 0 0 0 _ _ _ _
8 4 2 1
=0
1 1 1 1 _ _ _ _
128 64 32 16
1 1 1 1 _ _ _ _
8 4 2 1
= 255
0 - 255
0 - 255 0 - 255
0 - 255
192 . 168 . 17 . 1
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
28
IP Address Classes
N = Network Address Byte (assigned by InterNIC/IANA) H = Host Address Byte (assigned by organization)
Class A (start bit 0) = 1 126 * . H . H . H 1-126 Class B (start bits 10) = 128-191 . N . H . H 128 191 Class C (start bits 110) = 192-223 . N . N . H
* IP addresses beginning with 0 and 127 are reserved. IP Add Addresses in the range of 10 H H H 172 16 31 H H and i th f 10.H.H.H, 172.16-31.H.H, d 192.168.x.H are reserved for private use and are not assigned.
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
29
IP Address Mask
An address mask tells network devices what portion of p the IP address is the Network designator and what portion is the Host designator
A binary 1 in a bit position indicates Network and binary 0 Host 0 Class A IP Address 0111 1110 . 0000 1010 . 0000 1010 . 0000 0001 = 126 . 10 . 10 . 1
Network Host
1111 0000
Network Host
1111 1111 . 0000 0000 . 0000 0000 . 0000 0000 = 255 . 0 . 0 . 0 Class A Address Mask
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
30
Presentation_ID
Cisco Confidential
31
Subnetting
Subnetting IP addresses extends class-full networks IANA Assigned 158 . 50 . x . x = 1 Network / 65, 536 Hosts 65 255 . 255 . 0 . 0
Class-full Mask
158 . 50 . 0-255 . x
Subnetted Network Addresses
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
33
Subnetted IP Network
158 . 50 . 0-255 . x
Subnetwork Address Range
158.50.1.1 Internet 158.50.2.1 158.50.2.2
158.50.3.1 158.50.3.2
158.50.6.1 158.50.7.1
158.50.8.1
158.50.6.2
158.50.7.2
158.50.8.2 158.50.4.2
158.50.9.2
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
34
158 . 150 . 10 . 1
IP Address
IP address with dotted-decimal mask IP address with bitcount mask IP address with hexadecimal mask
158 . 150 . 10 . 1 / 24
IP Address Bit-Count Mask 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000
Twenty Four Twenty-Four (24) bits
158 . 150 . 10 . 1
IP Address
0xFFFFFF00
Presentation_ID
Hexadecimal Mask
2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
35
Addressing Example
172 16 2 160
3
172.16.2.160 255.255.255.192 10101100 11111111 10101100 10101100 10101100 10101100
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved.
00000010 10100000 Host 11111111 11000000 Mask 00000010 10000000 Subnet 00000010 10111111
1 2 4
Broadcast
5
00000010 10000001 First 00000010 10111110 Last
6 7
36
Cisco Confidential
Addressing Example
172 16 2 160
3
172.16.2.160 255.255.255.192 10101100 11111111 10101100 10101100 10101100 10101100 00010000 11111111 00010000 00010000 00010000 00010000 00000010 10100000 Host 11111111 11000000 Mask 00000010 10000000 Subnet 00000010 10111111
1 2 4
9
172.16.2.128 172.16.2.191 172 16 2 191 172.16.2.129 172.16.2.190
Presentation_ID
Broadcast
5
00000010 10000001 First 00000010 10111110
Last
6 7
37
Cisco Confidential
38
Agenda
Introduction to IP Understanding an IP Address g g IP Routing and Networking IP in Cable Networks IP for VoIP, Digital Video Home Networking etc VoIP Video, Networking, etc. IPv6 Fundamentals Conclusion / Q&A
Presentation_ID
Cisco Confidential
39
Interconnecting Networks
Routers connect Layer 2 networks, each d fi d by logical addresses h defined b l i l dd
Data
Frame Header
A
Data
Switch
Data Header
Network
MAC
Switch
Layer 2
Router
Layer 2
Frame Header
Network Header
Transport Header
Data
Switch
IP
Layer 2
Presentation_ID
Cisco Confidential
40
MAC
A.2
A
A.1
Network Address
MAC
A.3
MAC
Router
MAC
A. A4
Node Address
Presentation_ID
Cisco Confidential
41
Routing IP Packets
MAC {
D
? e0 ?
IP
S
A.1
S
MAC
D
C.1 DATA
Workstation knows network C is not local W k t ti directs frame to Workstation di t f t router MAC for processing
{ A.1
Switch
Addr. C.1
MAC e0
MAC
B
e1 e2
e2 A.1 A1 C.1 C1 DATA
e0 e3
Router
MAC Net Int. e0 e1 e2 2 e3
Switch
A B
Switch
C.1
MAC Addr. A.1 MAC e2
D
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
C D
42
When a IP host needs to communicate with another IP h t on a diff host different IP network t t k 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
43
Routing Protocols
The Th procedures used b th router t d t d d by the t to determine and select i d l t the best route and to share information about network reachability and status with other routers are referred to collectively as a routing protocol.
Jeff Doyle y Routing TCP/IP, Volume 1
44
Presentation_ID
Cisco Confidential
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
45
Presentation_ID
Cisco Confidential
46
Network N t k1 Network 3
Network 4
Network 5
I can now get to Network 5 directly!
Network 2
Network 6
Presentation_ID
Cisco Confidential
47
-- Age of entry (in hours:minutes:seconds) -- Interface through which the route was learned and through which the packet will leave
Cisco Confidential
48
Presentation_ID
Cisco Confidential
49
Static Routes
Routes configured manually Useful when the number of routes exist is small Can be an administrative burden Frequently used for a default route
Presentation_ID
Cisco Confidential
50
OSPF
Open link-state protocol standardized in late-1980s by IETF
EIGRP
Proprietary enhancement to Cisco IGRP to include link-state algorithms
BGP
Border Gateway Protocol, used to interconnect Service Providers i t t S i P id
51
Presentation_ID
Cisco Confidential
Full Table
Routing Table
Link-State Li k St t Approach
Single Entry
Presentation_ID
Cisco Confidential
52
Function
Internet Addressing
Maps Layer 2 MAC Address to Layer 3 IP Address Control Protocol for Internetwork Management Connection-Oriented Data Transport p Connectionless Data Transport
Presentation_ID
Cisco Confidential
53
A
MAC A. 2
MAC
{
IP
{
I need the
Router
MAC MAC
54
Proxy ARP
Resolving L R l i Layer 2 and L d Layer 3 addresses b dd between networks k
MAC
Broadcast
MAC e0
B.1
A.1 DATA
e1 MAC B.1
A.1 DATA
Presentation_ID
Cisco Confidential
55
Presentation_ID
Cisco Confidential
56
Ping
Packet InterNet Groper Check end-to-end network connectivity Baseline network layer performance Depending on implementation can indicate:
Host Alive Roundtrip Delay
Presentation_ID
Cisco Confidential
57
Presentation_ID
Cisco Confidential
58
TTL
Host 1 TTL = 10
10.1.1.1
Host 2
20.1.1.1
TTL = 9
TTL = 6
TTL = 8
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
TTL = 7
59
TTL
Host 1 TTL = 10
10.1.1.1
Host 2
20.1.1.1
TTL = 9TTL = 0
TTL = 6
TTL = 8
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
TTL = 7
60
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 p p y p
Presentation_ID
Cisco Confidential
61
Transport Layer
Presentation_ID
Cisco Confidential
62
Presentation_ID
Cisco Confidential
Presentation_ID
Cisco Confidential
Application Layer
Presentation_ID
Cisco Confidential
65
Presentation_ID
Cisco Confidential
66
DHCP
DHCPREQUEST DHCPDISCOVER Host DHCPACK DHCPOFFER DHCP Server
I need an IP Address You can use this IP Address I will use that IP Address ill th t Add
Acknowledged g
Presentation_ID
Cisco Confidential
67
www.ietf.org
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Open Standards
68
www.cisco.com = ???
www.cisco.com = 172.16.3.2
Presentation_ID
Cisco Confidential
69
Presentation_ID
Cisco Confidential
70
The Internet
71
Presentation_ID
Cisco Confidential
72
Presentation_ID
Cisco Confidential
73
4 7
8 6
11
14
74
4 7
8 6
11
14
75
4 7
8 6
11
14
76
4 7
8 6
11
14
77
4 7
8 6
11
14
78
Agenda
Introduction to IP Understanding an IP Address g g IP Routing and Networking IP in Cable Networks IP for VoIP, Digital Video Home Networking etc VoIP Video, Networking, etc. IPv6 Fundamentals Conclusion / Q&A
Presentation_ID
Cisco Confidential
79
Cable Evolution
The video signal is transmitted over fiber to the node, where it is converted to an electrical signal and forwarded to the subscriber over existing coaxial cable Provision is made to support return traffic for future services Cable Serving Area g
HFC
N
Fiber Head-End
80
Hub
CMTS
Node Node
COAX
Node ode
Tap
Node
Node
Node
Presentation_ID
Cisco Confidential
81
SP Video Headends
MSOs
Headend Primary Hub Taps Coaxial Network
Telcos
VHO
VSO DSLAM
82
The Premises
QPSK/QAM Modulator
MAC
RF Tuner
QAM Demodulator
Presentation_ID
Cisco Confidential
83
Presentation_ID
Cisco Confidential
84
IP (20B)
UDP (4B)
.. (6 more MPEG)
184 Bytes
PES
PES Header
PES Header
ES
Sequence
Sequence
Sequence
I/B/P-Frame
85
Presentation_ID
Cisco Confidential
DOCSIS Basics
DOCSIS is a consortium of Comcast, Cox, Time Warner Cable, Rogers, MediaOne, and CableLabs DOCSIS is a standard supporting DS modulations of QAM 64 and QAM 256, DS FEC of Annex B, US modulations of QPSK and QAM 16, in-band control channels, MPEG framing, and RSA key distribution DOCSIS documents describe the internal and external network interfaces for a system that allows bidirectional transfer of Internet Protocol (IP) traffic between the cable system head-end and customer premises, over a cable television system. Cable Modem Termination System (CMTS) at the HE and Cable Modem (CM) at the CPE
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
86
L1/L2 Access/Hub
EQAM
L3 (IP/MPLS)
gg g Aggregation Network
Regional Network
Backbone Network
H F C
STB
HFC HFC
CMTS
HR
AR AR
ER
ER
BR
BR
BR ER ER
BR
HR
Residential
L2VPN CM Voice Complex Video Complex Video Complex Network Mgt Complex PEG DS/DB IP Security Complex Voice Complex Video Complex Network Mgt Complex IP Security Complex
FTTP
PE Router
SDV
VoD
Business
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved.
SDC (System/Div)
Cisco Confidential
SDC (Regional)
SDC (National)
87
Agenda
Introduction to IP Understanding an IP Address g g IP Routing and Networking IP in Cable Networks IP for VoIP, Digital Video Home Networking etc VoIP Video, Networking, IPv6 Fundamentals Conclusion / Q&A
Presentation_ID
Cisco Confidential
88
IXC
Class 4
IXC
SS7 SS7
Toll Trunk
Tie Trunk Tr nk
LEC
Class 5
LEC
Class 5
LEC
Class 5
LEC
Class 5
CO Trunk PBX PBX PBX LATA Line Private Branch Exchange (PBX) Local Exchange Carrier (LEC) InterExchange Carrier (IXC) Central Office (CO)
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
PBX
PBX
PBX
89
IP Telephony
Signaling
VoIP (Softswitch)
Signaling
PWR
PWR
IP Telephony
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
90
Voice Packetization
ATM or IP Packet Transport
Analog
Digital
Compressed
DSP
Packetized
L3 L2
Reverse Process
G.711 (Predigitized)
G.726 ADPCM G.728 LD-CELP G.729(AB) CS-ACELP G.723.1 ACELP/MPMLQ Sampling ( p g (PAM) ) Companding (A-Law, Mu-Law) PCM Coding (PCM G.711)
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
RTCP
IP Network
Voice Gateway
D i Designed t carry real-time d to l ti traffic on top of IP Voice Payload RTP UDP L2 IP Real-Time Protocol (RTP)media Real-Time Transport Control Protocol Routing/Addressing R ti /Add i (RTCP)form of signaling between RTP Ports Multiplexing/(CRC) termination points
Sequence Numbers Payload Type Identification Timestamps
Watches the quality of underlying infrastructure
Presentation_ID
Cisco Confidential
Multimedia services require scheduled service flows, as contrasted with best effort services such as web browsing, e-mail, instant messaging
93
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
93
Presentation_ID
Cisco Confidential
94
This ensures our customers have a pleasant TV viewing experience and coherent phone conversations
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
95
Class definition sets minimum bandwidth Queue servicing (metering) controls latency Unused capacity is shared amongst the other classes Each C Class can be separately configured f QoS f for Q S
2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Presentation_ID
96
SONET Transport
IRTs IRTs
1550 TX
1550 RX
MPEG STB
SONET
ATM
SONET
ATM
QPSK DS QPSK US
Home
Headend
HFC Network
Presentation_ID
Cisco Confidential
97
Cable vs.Telco
Broadcast Video
Video Service Provider
IP Video
Video DSLAM
Presentation_ID
Cisco Confidential
98
Digital Simulcast Si l t
GigE/DWDM Transport
Library VOD Storage Local Ad Server
1550 TX
1550 RX SDB Server QAM QAM QAM QAM QAM QAM QAM QAM QAM QAM QAM QAM QPSK DS QPSK US EQAM QAM QAM QAM DOCSIS 3.0 1310 1310 Tx Tx HFC 1310 1310 Rx Rx
GigE/DWDM Transport
Bulk Encryptor Local VOD
GigE/DWDM Transport
Home
Voice o e IP o ce over
Headend
M-CMTS
Secondary Hub
HFC Network
Presentation_ID
Cisco Confidential
99
Agenda
Introduction to IP Understanding an IP Address g g IP Routing and Networking IP in Cable Networks IP for VoIP, Digital Video Home Networking etc VoIP Video, Networking, IPv6 Fundamentals Conclusion / Q&A
Presentation_ID
Cisco Confidential
100
101
102
Identification
Flags
Fragment Offset
Payload Length
Next Header
Hop Limit
Time to Live
Protocol
Header Checksum
Source Address
Lege end
- fields name kept from IPv4 to IPv6 p - fields not kept in IPv6 - Name & position changed in IPv6 - New field in IPv6
2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Destination Address
Presentation_ID
103
IPv6
128 bits 3.4 =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
104
IPv6 Addressing
IPv6 addressing rules are covered by multiple RFCs g y p
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 interface. 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 id tifi f a set of i t f t f interfaces (t i ll belonging to (typically b l i t different nodes). A packet sent to a multicast address is delivered to all interfaces identified by that address. No Broadcast address use multicast instead address,
Presentation_ID
Cisco Confidential
105
Presentation_ID
Cisco Confidential
106
All address types (except multicast) have to support EUI-64 (64 bit extended unique identifier)
Presentation_ID
Cisco Confidential
107
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
108
TCP
UDP
TCP
UDP
IPv4
IPv6
IPv4
IPv6
0x0800 0 0800
0x86dd 0 86dd
0x0800 0 0800
0x86dd 0 86dd
Frame Protocol ID
Presentation_ID
Cisco Confidential
109
Q and A
Presentation_ID
Cisco Confidential
110