SlideShare a Scribd company logo
1 of 74
Transporting Voice by Using IP
Chapter 2
Internet Overview
īŽ

A collection of networks
īŽ

The private networks
īŽ
īŽ
īŽ

īŽ

The public networks
īŽ
īŽ

īŽ

LANs, MANs, WANs
Institutions, corporations, business and government
May use various communication protocols
ISP: Internet Service Providers
Using Internet Protocol

To connect to the Internet
īŽ

Using IP

2

Internet Telephony
Internet Overview
īŽ

Interconnecting networks
īŽ

Routers provides the connectivity

3

Internet Telephony
Overview of the IP Protocol Suite
īŽ

IP
īŽ
īŽ

īŽ

A routing protocol for the passing of data packets
Must work in cooperation with higher layer
protocols

The OSI seven-layer model
īŽ
īŽ

The top layer: usable information passed
The information must be
īŽ
īŽ
īŽ

Packaged appropriately
Routed correctly
And it must traverse some physical medium

4

Internet Telephony
OSI seven-layer stack

5

Internet Telephony
OSI seven-layer model
īŽ

Physical layer
īŽ
īŽ

īŽ

Data link layer
īŽ
īŽ

īŽ

The physical media
Coding and modulation schemes for 1s and 0s
Transport the information over a single link
Frame packaging, error detection/correction and
retransmission

Network layer
īŽ
īŽ

Routing traffic through a network
Passing through intermediate points
6

Internet Telephony
īŽ

Transport layer
īŽ

īŽ

īŽ

Ensure error-free, omission-free and in-sequence
delivery
Support multiple streams from the source to
destination for applications

Session layer
īŽ
īŽ

The commencement (e.g., login) and completion
Establish the dialogue
īŽ

One way at a time or both ways at the same time

7

Internet Telephony
īŽ

Presentation layer
īŽ

īŽ

Specify the language, the encoding (e.g. ASCII or
binary)

Application layer
īŽ
īŽ

Provide an interface to the user
FTP, Web browsers

8

Internet Telephony
The IP suite and the OSI stack
īŽ

TCP
īŽ

īŽ

Reliable, error-free, in-sequence delivery

UDP
īŽ

No sequencing, no retransmission

9

Internet Telephony
Internet Standards and the Process
īŽ

The Internet Society
īŽ
īŽ
īŽ

īŽ

A non-profit organization
Keep the Internet alive and growing
“to assure the open development, evolution, and
the use of Internet for the benefit of all people
throughout the world”
The tasks
īŽ

īŽ

īŽ
īŽ

Support the development and dissemination of Internet
standards
Support the RD related to the Internet and
internetworking
Assists developing countries
Form a liaison for Internet development

10

Internet Telephony
īŽ

IAB
īŽ
īŽ
īŽ

īŽ

The Internet Architecture Board
The technical advisory group
Technical guidance, oversee the Internet
standards process

IETF
īŽ
īŽ
īŽ
īŽ

Comprises a huge number of volunteers
Develop Internet standards
Detailed technical work
Working groups
īŽ

avt, megaco, iptel, sip, sigtran

11

Internet Telephony
īŽ

IESG
īŽ
īŽ
īŽ
īŽ

īŽ

The Internet Engineering Steering Group
Manage the IETF’s activities
Approve an official standard
Can a standard advance?

IANA
īŽ

The Internet Assigned Numbers Authority
īŽ

īŽ

Unique numbers and parameters used in Internet
standards
Be registered with the IANA

12

Internet Telephony
The Internet Standards Process
īŽ

The process
īŽ

īŽ

RFC 2026

First, Internet Draft
īŽ
īŽ

īŽ
īŽ

The early version of spec.
Can be updated, replaced, or made obsolete by
another document at any time
IETF’s Internet Drafts directory
Six-month life-time

13

Internet Telephony
īŽ

RFC
īŽ
īŽ

īŽ

Proposed standard
īŽ
īŽ
īŽ

īŽ

Request for Comments
An RFC number
A stable, complete, and well-understood spec.
Has garnered significant interest
May be required to implement for critical protocols

Draft standard
īŽ
īŽ
īŽ

Two independently successful implementations
Interoperability be demonstrated
Requirements not met be removed
14
Internet Telephony
īŽ

A standard
īŽ
īŽ
īŽ
īŽ

īŽ

The IESG is satisfied
The spec. is stable and mature
Significant operational experience
A standard (STD) number

Not all RFCs are standards
īŽ

Some document Best Current Practices (BCPs)
īŽ

īŽ

Others applicability statements
īŽ

īŽ

Processes, policies, or operational considerations
How a spec be used, or different specs work together

STD1 list the various RFCs
15

Internet Telephony
IP
īŽ

RFC 791
īŽ
īŽ
īŽ
īŽ

Amendments, RFCs 950, 919, and 920
Requirements for Internet hosts, RFCs 1122, 1123
Requirements for IP routers, RFC 1812
IP datagram
īŽ

īŽ

Data packet with an IP header

Best-effort protocol

16

Internet Telephony
IP Header
īŽ

Version
īŽ

īŽ
īŽ
īŽ
īŽ

4

Header Length
Type of Service
Total Length
Identification, Flags, and Fragment Offset
īŽ
īŽ
īŽ

A datagram can be split into fragments
Identify data fragments
Flags
īŽ
īŽ

īŽ

a datagram can be fragmented or not
Indicate the last fragment

TTL
īŽ

A number of hops (not a number of seconds)

17

Internet Telephony
īŽ

Protocol
īŽ
īŽ

īŽ

The higher-layer protocol
TCP, 6; UDP, 17

Source and Destination IP Addresses

18

Internet Telephony
IP Routing
īŽ
īŽ

Based on the destination address
Routers
īŽ
īŽ

īŽ

Can contain a range of different interfaces
Determine the best outgoing interface for a given
IP datagram
Routing table
īŽ
īŽ

īŽ

Destination
IP route mask

the longest match

19

Internet Telephony
Populating routing tables
īŽ

Issues
īŽ
īŽ
īŽ

īŽ

The correct information in the first place
Keep the information current in a dynamic environ
The best path?

Protocols
īŽ
īŽ
īŽ
īŽ

RIP, Routing Information Protocol
IGRP, Internet Gateway Routing Protocol
OSPF, Open Short Path First
BGP, Border Gateway Protocol, RFC 1771

20

Internet Telephony
TCP
īŽ

TCP
īŽ
īŽ

īŽ
īŽ
īŽ
īŽ
īŽ

In sequence, without omissions and without errors
End-to-end confirmation, packet retransmission,
Flow control
RFC 793
Break up a data stream in segments
Attach a TCP header
Sent down the stack to IP
At the destination, checks the header for errors
īŽ

īŽ

Send back an ack

The source retransmits if no ack within a given
period
21
Internet Telephony
īŽ

The TCP header

22

Internet Telephony
The TCP Header
īŽ

TCP Port Numbers
īŽ

īŽ
īŽ

Identifying a specific instance of a given
application
A unique port number for a particular session
Well-known port numbers
īŽ
īŽ

īŽ

IANA, 0-1023
23, telnet; 25, SMTP

Many clients and a server
īŽ
īŽ

īŽ

TCP/IP
Source address and port number + Destination address
and port number
A socket address

23

Internet Telephony
īŽ

Sequence and acknowledge numbers
īŽ
īŽ
īŽ

Identify individual segments
Actually count data octets transmitted
A given segment with a SN of 100 and contains 150 octets
of data
īŽ
īŽ

īŽ

The ack number will be 250
The SN of the next segment is 250

Other header fields
īŽ
īŽ
īŽ
īŽ

Data offset: header length (in 32-bit words)
URG: 1 if urgent data is included, use urgent pointer field
ACK: 1, an ACK
PSH: a push function, be delivered promptly

24

Internet Telephony
īŽ
īŽ
īŽ
īŽ

RST: reset; an error and abort a session
SYN: Synchronize; the initial messages
FIN: Finish; close a session
Window
īŽ

īŽ

The amount of buffer space available for receiving data

Checksum
īŽ

1's complement of 1's complement sum of all 16-bit
words in the TCP header, the data, and a pseudo header

25

Internet Telephony
īŽ

Urgent Pointer
īŽ
īŽ
īŽ

An offset to the first segment after the urgent data
Indicates the length of the urgent data
Critical information to be sent to the user
application ASAP.

26

Internet Telephony
TCP Connections
īŽ
īŽ

An examples
After receiving
īŽ
īŽ

īŽ

100, 200, 300
ACK 400

Closing a connection
īŽ
īŽ
īŽ

> FIN
< ACK, FIN
> ACK

27

Internet Telephony
UDP
īŽ

UDP
īŽ

īŽ
īŽ

Pass individual pieces of data from an application
to IP
No ACK, inherently unreliable
Applications
īŽ
īŽ
īŽ
īŽ

īŽ
īŽ

A quick, one-shot transmission of data, request/response
DNS
If no response, the AP retransmit the request
The AP includes a request identifier

The source port number is optional
Checksum
īŽ

The header, the data and the pseudo header

28

Internet Telephony
īŽ

UDP header

29

Internet Telephony
Voice over UDP, not TCP
īŽ

Speech
īŽ
īŽ
īŽ

Small packets, 10 – 40 ms
Occasional packet loss is not a catastrophe
Delay-sensitive
īŽ

īŽ

5 % packet loss is acceptable if evenly spaced
īŽ
īŽ

īŽ

Resource management and reservation techniques
A managed IP network

In-sequence delivery
īŽ

īŽ

TCP: connection set-up, ack, retransmit → delays

Mostly yes

UDP was not designed for voice traffic
30

Internet Telephony
The Real-Time Transport Protocol
īŽ

RTP: A Transport Protocol for Real-Time
Applications
īŽ
īŽ
īŽ

īŽ

UDP
īŽ

īŽ

RFC 1889
RTP – Real-Time Transport Protocol
RTCP – RTP Control Protocol
Packets may be lost or out-of-sequence

RTP over UDP
īŽ
īŽ
īŽ

A sequence number
A time stamp for synchronized play-out
Does not solve the problems; simply provides
additional information
31
Internet Telephony
īŽ

RTCP
īŽ
īŽ
īŽ
īŽ
īŽ

A companion protocol
Exchange messages between session users
# of lost packets, delay and inter-arrival jitter
Quality feedback
RTCP is implicitly open when an RTP session is
open
īŽ

īŽ

Not mandatory

E.g., RTP/RTCP uses UDP port 5004/5005

32

Internet Telephony
RTP Payload Formats
īŽ

RTP carries the actual digitally encoded voice
īŽ
īŽ

īŽ

RTP header + a payload of voice samples
UDP and IP headers are attached

Many voice- and video-coding standards
īŽ

A payload type identifier in the RTP header
īŽ
īŽ
īŽ

īŽ

Specified in RFC 1890
New coding schemes have become available
See table 2-1

A sender has no idea what coding schemes a
receiver could handle

33

Internet Telephony
īŽ

Separate signaling systems
īŽ
īŽ
īŽ

Capability negotiation during the call setup
SIP and SDP
A dynamic payload type may be used
īŽ
īŽ

Also support new coding scheme in the future
The encoding name is also significant
īŽ
īŽ

īŽ

Unambiguously refer to a particular payload specification
Should be registered with the IANA

RED, Redundant payload type
īŽ
īŽ
īŽ

Voice samples + previous samples
May use different encoding schemes
Cope with packet loss
34
Internet Telephony
RTP Header Format

35

Internet Telephony
The RTP Header
īŽ

Version (V)
īŽ

īŽ

Padding (P)
īŽ
īŽ
īŽ

īŽ

2
The padding octets at the end of the payload
The payload needs to align with 32-bit boundary
The last octet of the payload contains the count

Extension (X)
īŽ

1, contains a header extension

36

Internet Telephony
īŽ

CSRC Count (CC)
īŽ

īŽ

Marker (M)
īŽ
īŽ

īŽ

The number of contributing source indentifiers
RFC 1890
The first packet of a talkspurt, after a silence
period

Payload Type (PT)
īŽ

RED is an exception
īŽ

īŽ

RFC 2198, the addition of headers

Sequence number
īŽ
īŽ

A random number at the beginning
Incremented by one for each RTP packet
37

Internet Telephony
īŽ

Timestamp
īŽ
īŽ
īŽ

32-bit
The instant at which the first sample
The receiver
īŽ
īŽ
īŽ

Synchronized play-out
Calculate the jitter
The clock freq depends on the encoding
īŽ

īŽ
īŽ

E.g., 8000Hz, TS=1/10 samples; TS=11

Support silence suppression
The initial timestamp is a random number

38

Internet Telephony
īŽ

Synchronization Source (SSRC)
īŽ
īŽ

īŽ

īŽ
īŽ

īŽ

32-bit identifier
The entity setting the sequence number and
timestamp
Chosen randomly, independent of the network
address
Meant to be globally unique within the session
May be a sender or a mixer

Contributing Source (CSRC)
īŽ
īŽ

An SSRC value for a contributor
0-15 CSRC entries
39

Internet Telephony
īŽ

RTP Header Extensions
īŽ

īŽ

Accommodate the common requirements of most
media streams
For payload formats that requires

40

Internet Telephony
Mixers and Translators
īŽ

Mixers
īŽ

īŽ

Enable multiple media streams from different
sources to be combined
An audio conference
īŽ

īŽ
īŽ

Could also change the data format
The SSRC is the mixer
īŽ

īŽ

If the capacity or bandwidth of a participant is limited

More than one CSRC values

A translator
īŽ

īŽ

Manage communications between entities that
does not support the same coding scheme
The SSRC is the participant, not the translator
41

Internet Telephony
The RTP Control Protocol (RTCP)
īŽ

RTCP
īŽ
īŽ

A companion control protocol of RTP
Periodic exchange of control information
īŽ

īŽ

A third party can also monitor session quality
īŽ

īŽ

For quality-related feedback
Using RTCP and IP multicast

Five type of RTCP packets
īŽ
īŽ

Sender Report: transmission and reception statistics
Receiver Report: reception statistics

42

Internet Telephony
īŽ

Source Description (SDES)
īŽ
īŽ

One or more
Must contain a canonical name
īŽ
īŽ

īŽ

īŽ

BYE
īŽ

īŽ

Separate from SSRC which might change
When both audio and video streams exist
īŽ Have different SSRCs
īŽ Have the same CNAME for synchronized play-out
Regular names, such as email address or phone number

The end of participation

APP
īŽ

Convey application-specific functions

43

Internet Telephony
īŽ

Two or more RTCP packets will be combined
īŽ
īŽ
īŽ
īŽ

īŽ

SRs and RRs should be sent as often as possible
New receivers in a session must receive CNAME
An SR/RR must contain an SDES packet
A SDES packet is sent with an SR/RR even if no data to
report
An example RTP compound packet

44

Internet Telephony
RTCP Sender Report
īŽ

SR
īŽ
īŽ
īŽ
īŽ

Header Info
Sender Info
Receiver report blocks
Option
īŽ

Profile-specific extension

45

Internet Telephony
īŽ

Resemble to a RTP packet
īŽ

Version
īŽ

īŽ

Padding bit
īŽ

īŽ

2
Padding octets?

RC, report count
īŽ
īŽ

The number of reception report blocks
5-bit
īŽ

īŽ
īŽ

If more than 31 reports, an RR is added

PT, payload type
SSRC of sender
46

Internet Telephony
īŽ

NTP Timestamp
īŽ

Network Time Protocol Timestamp
īŽ
īŽ

īŽ

The time elapsed in seconds since 00:00, 1/1/1900 (GMT)
64-bit
īŽ 32 MSB: the number of seconds
īŽ 32 LSB: the fraction of a seconds (200 ps)

A primary time server
īŽ
īŽ
īŽ

NTP, RFC 1305
Station WWV, Fort Collins, Colorado, by NIST
Station WWVB, Boulder, Colorado, by NIST

47

Internet Telephony
īŽ

RTP Timestamp
īŽ
īŽ

īŽ

īŽ

Sender’s packet count
īŽ

īŽ

Corresponding to the NTP timestamp
Use the same units and has the same offset as used for
RTP timestamps
For better synchronization
Cumulative within a session

Sender’s octet count
īŽ

Cumulative

48

Internet Telephony
RR blocks
īŽ

SSRC_n
īŽ

īŽ

Fraction lost
īŽ

īŽ

īŽ

Fraction of packets lost since the last report issued by
this participant
By examining the sequence numbers in the RTP header

Cumulative number of packets lost
īŽ

īŽ

The source identifier

Since the beginning of the RTP session

Extended highest sequence number received
īŽ
īŽ
īŽ

The sequence number of the last RTP packet received
16 lsb, the last sequence number
16 msb, the number of sequence number cycles

49

Internet Telephony
īŽ

Interarrival jitter
īŽ

īŽ

Last SR Timestamp (LSR)
īŽ

īŽ

īŽ

An estimate of the variance in RTP packet arrival
The middle 32 bits of the NTP timestamp used in the last
SR received from the source in question
Used to check if the last SR has been received

Delay Since Last SR (DLSR)
īŽ

The duration in units of 1/65,536 seconds

50

Internet Telephony
RTCP Receiver Report
īŽ

RR
īŽ

īŽ

Issued by a participant who receives RTP packets
but does not send, or has not yet sent
Is almost identical to an SR
īŽ
īŽ

PT = 201
No sender information

51

Internet Telephony
RTCP Source Description Packet
īŽ

Provides identification and information regarding
session participants
īŽ

īŽ

Header
īŽ

īŽ

Must exist in every RTCP compound packet
V, P, SC, PT=202, Length

Zero or more chunks of information
īŽ
īŽ

An SSRC or CSRC value
One or more identifiers and pieces of information
īŽ
īŽ
īŽ

Email address, phone number, name
Defined in RFC 1889
A unique CNAME
īŽ E.g., user@host

52

Internet Telephony
īŽ

RTCP BYE Packet
īŽ

īŽ

Indicate one or more media sources are no longer
active

Application-Defined RTCP Packet
īŽ
īŽ

For application-specific data
For non-standardized application

53

Internet Telephony
Calculating Round-Trip Time
īŽ
īŽ

Use SRs and RRs
E.g.
īŽ
īŽ
īŽ
īŽ
īŽ

Report A: A, T1 → B, T2
Report B: B, T3 → A, T4
RTT = T4-T3+T2-T1
RTT = T4-(T3-T2)-T1
Report B
īŽ
īŽ

LSR = T1
DLSR = T3-T2

54

Internet Telephony
Calculation Jitter
īŽ

The mean deviation of the difference in
packet spacing at the receiver
īŽ
īŽ

Ri = the time of arrival

īŽ

īŽ

Si = the RTP timestamp for packet I
D(i,j) = (Rj-Sj) - (Ri- Si)

The Jitter is calculated continuously
īŽ

J(i) = J(i-1) + (| D(i-1,i) | - J(i-1))/16

55

Internet Telephony
Timing of RTCP Packets
īŽ

RTCP provides useful feedback
īŽ
īŽ
īŽ

Regarding the quality of an RTP session
Delay, jitter, packet loss
Be sent as often as possible
īŽ
īŽ

īŽ

Consume the bandwidth
Should be fixed at 5%

An algorithm, RFC 1889
īŽ

īŽ
īŽ
īŽ

Senders are collectively allowed at least 25% of
the control traffic bandwidth
The interval > 5 seconds
0.5 – 1.5 times the calculated interval
A dynamic estimate the avg RTCP packet size
56

Internet Telephony
IP Multicast
īŽ

An IP diagram sent to multiple hosts
īŽ
īŽ

īŽ

Conference
To a single address associated with all listeners

Multicast groups
īŽ
īŽ

Multicast address
Join a multicast group
īŽ

īŽ

Inform local routers

Routing protocols
īŽ

īŽ

Support propagation of routing information for multicast
addresses
Minimize the number of diagrams sent

57

Internet Telephony
īŽ

IPv4
īŽ
īŽ
īŽ
īŽ
īŽ

īŽ

Multicast addresses: 224.0.0.0 – 239.255.255.255
224.0.0.1
all hosts on a local subnet
224.0.0.2
all routers on a local subnet
224.0.0.5
all routers supporting OSPF
224.0.0.9
all routers supporting RIP v.2

IGMP, Internet Group Message Protocol
īŽ
īŽ

Advertise membership in a group to routers
RFC 1112, 2236

58

Internet Telephony
IP Version 6
īŽ

The explosive growth of the Internet
īŽ
īŽ

īŽ
īŽ
īŽ
īŽ

Expanded address space, 128 bits
Simplified header format
Improved support for headers and extensions
Flow-labeling capability
īŽ

īŽ

IPv4 address space, 32-bit
Real-time and interactive applications

Better support at the IP level for real-time ap

Authentication and privacy
īŽ

At the IP level
59

Internet Telephony
IP Version 6 Header

60

Internet Telephony
IP Version 6 Header
īŽ

Version
īŽ

īŽ

Traffic Class, 8-bit
īŽ

īŽ

6
For the quality of service

Flow Label, 20-bit
īŽ
īŽ

īŽ

Label sequences of packets
A flow := source address, destination address,
flow label
0, no special handling

61

Internet Telephony
īŽ

Payload Length, 16-bit unsigned integer
īŽ
īŽ

īŽ

The length of payload in octets
Header extensions are part of the payload

Next Header, 8-bit
īŽ

The next higher-layer protocol
īŽ

īŽ

īŽ

The existence of IPv6 header extensions

Hop Limit, 8-bit unsigned integer
īŽ

īŽ

Same as the IPv4

The TTL field of the IPv4 header

Source and Destination Addresses, 128-bit
62

Internet Telephony
IP version 6 addresses
īŽ

XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XX
XX
īŽ

īŽ

E.g., 1511:1:0:0:0:FA22:45:11
īŽ

īŽ
īŽ

Leading zeros are omitted

= 1511:1::FA22:45:11
0:0:0:0:AA11:50:22:F77 = ::AA11:50:22:F77
īŽ

īŽ

X is a hexadecimal character

“::” can appears only once

Should not generally require significant changes to
up-layer protocols
īŽ

But the checksum calculation in UDP and TCP includes
a pseudo header

63

Internet Telephony
IP version 6 special addresses
īŽ

The all-zeros address, ::
īŽ

īŽ

The loopback address, ::1
īŽ

īŽ

On a virtual internal interface

IPv6 address with embedded IPv4 address (type
1)
īŽ
īŽ

īŽ

An unspecified address; a node does not yet know its
address

96-bit zeros + 32-bit IPv4 address
::140.113.17.5

IPv6 address with embedded IPv4 address (type
2)
īŽ
īŽ
īŽ

80-bit zeros + FFFF + 32-bit IPv4 address
0:0:0:0:0:FFFF:140.113.17.5
::FFFF:140.113.17.5
64
Internet Telephony
IP Version 6 Header Extensions
īŽ

Extension Headers
īŽ

Are not acted upon by intermediate nodes
īŽ

īŽ

With one exception

Next Header
īŽ
īŽ
īŽ
īŽ

The type of payload carried in the IP datagram
The type of header extension
Each extension has its own next header field
An example

65

Internet Telephony
Header extension
īŽ

Use the next header field

66

Internet Telephony
Hop-by-hop extension
īŽ

The exception header extension
īŽ
īŽ
īŽ

īŽ
īŽ

Next header
Length
īŽ

īŽ

Examined and processed by every intermediate node
If present, must immediately follow the IP header
Of variable length

in units of eight octets, not including the first eight octets

Options
īŽ

TLV (Type-Length-Value) format
īŽ

īŽ

8-bit, 8-bit (in units of octets), variable length

Type [0:2] of special significance

67

Internet Telephony
īŽ

Hop-by-hop header extension

68

Internet Telephony
īŽ

Type[0:1]
īŽ
īŽ
īŽ

īŽ

īŽ

00 skip this option and continue processing the header
01 discard the packet
10 discard the packet and send an ICMP Parameter
Problem, Code 2 message to the originator of the packet
11 do above only if the destination address in the IP
header is not a multicast address

Type[2]
īŽ
īŽ

1, the option data can be changed
0, cannot

69

Internet Telephony
īŽ

Destination options extension
īŽ
īŽ
īŽ

īŽ

Has the same format as the hop-by-hop extension
Only the destination node examine the extension
Header type = 60

Routing Extension
īŽ

īŽ
īŽ
īŽ
īŽ

A routing type field to enable various routing
options
Only routing type 0 is defined for now
Specify the nodes that should be visited
Next header
Length
70

Internet Telephony
īŽ

Routing Extension

71

Internet Telephony
īŽ
īŽ

Routing type
Segments Left
īŽ

īŽ
īŽ

The number of nodes that still need to be visited

A list of IP addresses needs to be visited
Is this type of header analyzed by intermediate
node?
īŽ
īŽ
īŽ
īŽ
īŽ
īŽ

Yes or no
A->Z, 3, (B,C,D)
A->B, 3, (C,D,Z)
A->C, 2, (B,D,Z) by B
A->D, 1, (B,C,Z) by C
A->Z, 0, (B,C,D) by D

72

Internet Telephony
Interoperation IPv4 and IPv6
īŽ

IPv4 and IPv6 will coexist for a long time
īŽ
īŽ
īŽ

īŽ

IPv4 nodes īƒŗ IPv6 nodes
IPv6 nodes īƒŗ IPv6 nodes via IPv4 networks
IPv4 nodes īƒŗ IPv4 nodes via IPv6 networks

IPv4-compatible nodes with IPv4-compatible
addresses at the boundaries of IPv6 networks
īŽ

IPv6 in IPv4 packets

73

Internet Telephony
Interoperation IPv4 and IPv6
īŽ

IPv4-compatible nodes with IPv4-compatible
addresses at the boundaries of IPv6 networks
īŽ

IPv6 in IPv4 packets

74

Internet Telephony

More Related Content

What's hot

CREST CCT Exam Prep Notes
CREST CCT Exam Prep NotesCREST CCT Exam Prep Notes
CREST CCT Exam Prep NotesNathanAn
 
What is TCP/IP
What is TCP/IPWhat is TCP/IP
What is TCP/IPfarhan516
 
IP ADDRESSING AND SUBNETTING REPORT
IP ADDRESSING AND SUBNETTING  REPORTIP ADDRESSING AND SUBNETTING  REPORT
IP ADDRESSING AND SUBNETTING REPORTRajat Kumar
 
Internet protocol
Internet protocolInternet protocol
Internet protocolOnline
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureManoj Kumar
 
"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Polandirenazd
 
TCP IP
TCP IPTCP IP
TCP IPhivasu
 
Lecture 04
Lecture 04Lecture 04
Lecture 04Anwal Mirza
 
More on Tcp/Ip
More on Tcp/IpMore on Tcp/Ip
More on Tcp/IpRakhi Saxena
 
InternetWorking With TCP\IP
InternetWorking With TCP\IPInternetWorking With TCP\IP
InternetWorking With TCP\IPhunghanamhus
 
H.323: Packet Network Protocol
H.323: Packet Network ProtocolH.323: Packet Network Protocol
H.323: Packet Network ProtocolYatish Bathla
 
Internet protocol
Internet protocolInternet protocol
Internet protocolKollins Lolong
 
FEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionFEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionKae Hsu
 

What's hot (20)

I.p. protocol
I.p. protocolI.p. protocol
I.p. protocol
 
CREST CCT Exam Prep Notes
CREST CCT Exam Prep NotesCREST CCT Exam Prep Notes
CREST CCT Exam Prep Notes
 
What is TCP/IP
What is TCP/IPWhat is TCP/IP
What is TCP/IP
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
IP ADDRESSING AND SUBNETTING REPORT
IP ADDRESSING AND SUBNETTING  REPORTIP ADDRESSING AND SUBNETTING  REPORT
IP ADDRESSING AND SUBNETTING REPORT
 
Internet protocol
Internet protocolInternet protocol
Internet protocol
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 
"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland
 
TCP IP
TCP IPTCP IP
TCP IP
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
 
More on Tcp/Ip
More on Tcp/IpMore on Tcp/Ip
More on Tcp/Ip
 
InternetWorking With TCP\IP
InternetWorking With TCP\IPInternetWorking With TCP\IP
InternetWorking With TCP\IP
 
H.323: Packet Network Protocol
H.323: Packet Network ProtocolH.323: Packet Network Protocol
H.323: Packet Network Protocol
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
Internet protocol
Internet protocolInternet protocol
Internet protocol
 
FEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionFEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP Introduction
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Skype
SkypeSkype
Skype
 
Ccna1v3 Mod09
Ccna1v3 Mod09Ccna1v3 Mod09
Ccna1v3 Mod09
 
Hardware9
Hardware9Hardware9
Hardware9
 

Similar to Transporting voice by using IP

ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptxmashiur
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.pptmashiur
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basicssanjoysanyal
 
Computer network coe351- part2- final
Computer network coe351- part2- finalComputer network coe351- part2- final
Computer network coe351- part2- finalTaymoor Nazmy
 
TCP Model
TCP ModelTCP Model
TCP Modelmanojkum22
 
Packet Guide SONET/SDH
Packet Guide SONET/SDHPacket Guide SONET/SDH
Packet Guide SONET/SDHscribd1
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layertmavroidis
 
Transport Layer
Transport LayerTransport Layer
Transport Layertmavroidis
 
ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3John Mathias
 
Chapter04 -- network protocols
Chapter04  -- network protocolsChapter04  -- network protocols
Chapter04 -- network protocolsRaja Waseem Akhtar
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)Jeff Green
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internatKritika Purohit
 
Cisco discovery d homesb module 6 - v.4 in english.
Cisco discovery   d homesb module 6 - v.4 in english.Cisco discovery   d homesb module 6 - v.4 in english.
Cisco discovery d homesb module 6 - v.4 in english.igede tirtanata
 
Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manualJaya Prasanna
 
Ccna introduction
Ccna introductionCcna introduction
Ccna introductionMukesh Gautam
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.pptssuserf7cd2b
 
ETE405-lec7.pdf
ETE405-lec7.pdfETE405-lec7.pdf
ETE405-lec7.pdfmashiur
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesSerious_SamSoul
 
Basic ip and networking ver 3 kl
Basic ip and networking ver 3 klBasic ip and networking ver 3 kl
Basic ip and networking ver 3 klAzhar Ali
 

Similar to Transporting voice by using IP (20)

ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptx
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.ppt
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Computer network coe351- part2- final
Computer network coe351- part2- finalComputer network coe351- part2- final
Computer network coe351- part2- final
 
TCP Model
TCP ModelTCP Model
TCP Model
 
Packet Guide SONET/SDH
Packet Guide SONET/SDHPacket Guide SONET/SDH
Packet Guide SONET/SDH
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3
 
Chapter04 -- network protocols
Chapter04  -- network protocolsChapter04  -- network protocols
Chapter04 -- network protocols
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internat
 
Ch 2
Ch 2Ch 2
Ch 2
 
Cisco discovery d homesb module 6 - v.4 in english.
Cisco discovery   d homesb module 6 - v.4 in english.Cisco discovery   d homesb module 6 - v.4 in english.
Cisco discovery d homesb module 6 - v.4 in english.
 
Final networks lab manual
Final networks lab manualFinal networks lab manual
Final networks lab manual
 
Ccna introduction
Ccna introductionCcna introduction
Ccna introduction
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
ETE405-lec7.pdf
ETE405-lec7.pdfETE405-lec7.pdf
ETE405-lec7.pdf
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notes
 
Basic ip and networking ver 3 kl
Basic ip and networking ver 3 klBasic ip and networking ver 3 kl
Basic ip and networking ver 3 kl
 

Recently uploaded

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
đŸŦ The future of MySQL is Postgres 🐘
đŸŦ  The future of MySQL is Postgres   🐘đŸŦ  The future of MySQL is Postgres   🐘
đŸŦ The future of MySQL is Postgres 🐘RTylerCroy
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
đŸŦ The future of MySQL is Postgres 🐘
đŸŦ  The future of MySQL is Postgres   🐘đŸŦ  The future of MySQL is Postgres   🐘
đŸŦ The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Transporting voice by using IP

  • 1. Transporting Voice by Using IP Chapter 2
  • 2. Internet Overview īŽ A collection of networks īŽ The private networks īŽ īŽ īŽ īŽ The public networks īŽ īŽ īŽ LANs, MANs, WANs Institutions, corporations, business and government May use various communication protocols ISP: Internet Service Providers Using Internet Protocol To connect to the Internet īŽ Using IP 2 Internet Telephony
  • 3. Internet Overview īŽ Interconnecting networks īŽ Routers provides the connectivity 3 Internet Telephony
  • 4. Overview of the IP Protocol Suite īŽ IP īŽ īŽ īŽ A routing protocol for the passing of data packets Must work in cooperation with higher layer protocols The OSI seven-layer model īŽ īŽ The top layer: usable information passed The information must be īŽ īŽ īŽ Packaged appropriately Routed correctly And it must traverse some physical medium 4 Internet Telephony
  • 6. OSI seven-layer model īŽ Physical layer īŽ īŽ īŽ Data link layer īŽ īŽ īŽ The physical media Coding and modulation schemes for 1s and 0s Transport the information over a single link Frame packaging, error detection/correction and retransmission Network layer īŽ īŽ Routing traffic through a network Passing through intermediate points 6 Internet Telephony
  • 7. īŽ Transport layer īŽ īŽ īŽ Ensure error-free, omission-free and in-sequence delivery Support multiple streams from the source to destination for applications Session layer īŽ īŽ The commencement (e.g., login) and completion Establish the dialogue īŽ One way at a time or both ways at the same time 7 Internet Telephony
  • 8. īŽ Presentation layer īŽ īŽ Specify the language, the encoding (e.g. ASCII or binary) Application layer īŽ īŽ Provide an interface to the user FTP, Web browsers 8 Internet Telephony
  • 9. The IP suite and the OSI stack īŽ TCP īŽ īŽ Reliable, error-free, in-sequence delivery UDP īŽ No sequencing, no retransmission 9 Internet Telephony
  • 10. Internet Standards and the Process īŽ The Internet Society īŽ īŽ īŽ īŽ A non-profit organization Keep the Internet alive and growing “to assure the open development, evolution, and the use of Internet for the benefit of all people throughout the world” The tasks īŽ īŽ īŽ īŽ Support the development and dissemination of Internet standards Support the RD related to the Internet and internetworking Assists developing countries Form a liaison for Internet development 10 Internet Telephony
  • 11. īŽ IAB īŽ īŽ īŽ īŽ The Internet Architecture Board The technical advisory group Technical guidance, oversee the Internet standards process IETF īŽ īŽ īŽ īŽ Comprises a huge number of volunteers Develop Internet standards Detailed technical work Working groups īŽ avt, megaco, iptel, sip, sigtran 11 Internet Telephony
  • 12. īŽ IESG īŽ īŽ īŽ īŽ īŽ The Internet Engineering Steering Group Manage the IETF’s activities Approve an official standard Can a standard advance? IANA īŽ The Internet Assigned Numbers Authority īŽ īŽ Unique numbers and parameters used in Internet standards Be registered with the IANA 12 Internet Telephony
  • 13. The Internet Standards Process īŽ The process īŽ īŽ RFC 2026 First, Internet Draft īŽ īŽ īŽ īŽ The early version of spec. Can be updated, replaced, or made obsolete by another document at any time IETF’s Internet Drafts directory Six-month life-time 13 Internet Telephony
  • 14. īŽ RFC īŽ īŽ īŽ Proposed standard īŽ īŽ īŽ īŽ Request for Comments An RFC number A stable, complete, and well-understood spec. Has garnered significant interest May be required to implement for critical protocols Draft standard īŽ īŽ īŽ Two independently successful implementations Interoperability be demonstrated Requirements not met be removed 14 Internet Telephony
  • 15. īŽ A standard īŽ īŽ īŽ īŽ īŽ The IESG is satisfied The spec. is stable and mature Significant operational experience A standard (STD) number Not all RFCs are standards īŽ Some document Best Current Practices (BCPs) īŽ īŽ Others applicability statements īŽ īŽ Processes, policies, or operational considerations How a spec be used, or different specs work together STD1 list the various RFCs 15 Internet Telephony
  • 16. IP īŽ RFC 791 īŽ īŽ īŽ īŽ Amendments, RFCs 950, 919, and 920 Requirements for Internet hosts, RFCs 1122, 1123 Requirements for IP routers, RFC 1812 IP datagram īŽ īŽ Data packet with an IP header Best-effort protocol 16 Internet Telephony
  • 17. IP Header īŽ Version īŽ īŽ īŽ īŽ īŽ 4 Header Length Type of Service Total Length Identification, Flags, and Fragment Offset īŽ īŽ īŽ A datagram can be split into fragments Identify data fragments Flags īŽ īŽ īŽ a datagram can be fragmented or not Indicate the last fragment TTL īŽ A number of hops (not a number of seconds) 17 Internet Telephony
  • 18. īŽ Protocol īŽ īŽ īŽ The higher-layer protocol TCP, 6; UDP, 17 Source and Destination IP Addresses 18 Internet Telephony
  • 19. IP Routing īŽ īŽ Based on the destination address Routers īŽ īŽ īŽ Can contain a range of different interfaces Determine the best outgoing interface for a given IP datagram Routing table īŽ īŽ īŽ Destination IP route mask the longest match 19 Internet Telephony
  • 20. Populating routing tables īŽ Issues īŽ īŽ īŽ īŽ The correct information in the first place Keep the information current in a dynamic environ The best path? Protocols īŽ īŽ īŽ īŽ RIP, Routing Information Protocol IGRP, Internet Gateway Routing Protocol OSPF, Open Short Path First BGP, Border Gateway Protocol, RFC 1771 20 Internet Telephony
  • 21. TCP īŽ TCP īŽ īŽ īŽ īŽ īŽ īŽ īŽ In sequence, without omissions and without errors End-to-end confirmation, packet retransmission, Flow control RFC 793 Break up a data stream in segments Attach a TCP header Sent down the stack to IP At the destination, checks the header for errors īŽ īŽ Send back an ack The source retransmits if no ack within a given period 21 Internet Telephony
  • 23. The TCP Header īŽ TCP Port Numbers īŽ īŽ īŽ Identifying a specific instance of a given application A unique port number for a particular session Well-known port numbers īŽ īŽ īŽ IANA, 0-1023 23, telnet; 25, SMTP Many clients and a server īŽ īŽ īŽ TCP/IP Source address and port number + Destination address and port number A socket address 23 Internet Telephony
  • 24. īŽ Sequence and acknowledge numbers īŽ īŽ īŽ Identify individual segments Actually count data octets transmitted A given segment with a SN of 100 and contains 150 octets of data īŽ īŽ īŽ The ack number will be 250 The SN of the next segment is 250 Other header fields īŽ īŽ īŽ īŽ Data offset: header length (in 32-bit words) URG: 1 if urgent data is included, use urgent pointer field ACK: 1, an ACK PSH: a push function, be delivered promptly 24 Internet Telephony
  • 25. īŽ īŽ īŽ īŽ RST: reset; an error and abort a session SYN: Synchronize; the initial messages FIN: Finish; close a session Window īŽ īŽ The amount of buffer space available for receiving data Checksum īŽ 1's complement of 1's complement sum of all 16-bit words in the TCP header, the data, and a pseudo header 25 Internet Telephony
  • 26. īŽ Urgent Pointer īŽ īŽ īŽ An offset to the first segment after the urgent data Indicates the length of the urgent data Critical information to be sent to the user application ASAP. 26 Internet Telephony
  • 27. TCP Connections īŽ īŽ An examples After receiving īŽ īŽ īŽ 100, 200, 300 ACK 400 Closing a connection īŽ īŽ īŽ > FIN < ACK, FIN > ACK 27 Internet Telephony
  • 28. UDP īŽ UDP īŽ īŽ īŽ Pass individual pieces of data from an application to IP No ACK, inherently unreliable Applications īŽ īŽ īŽ īŽ īŽ īŽ A quick, one-shot transmission of data, request/response DNS If no response, the AP retransmit the request The AP includes a request identifier The source port number is optional Checksum īŽ The header, the data and the pseudo header 28 Internet Telephony
  • 30. Voice over UDP, not TCP īŽ Speech īŽ īŽ īŽ Small packets, 10 – 40 ms Occasional packet loss is not a catastrophe Delay-sensitive īŽ īŽ 5 % packet loss is acceptable if evenly spaced īŽ īŽ īŽ Resource management and reservation techniques A managed IP network In-sequence delivery īŽ īŽ TCP: connection set-up, ack, retransmit → delays Mostly yes UDP was not designed for voice traffic 30 Internet Telephony
  • 31. The Real-Time Transport Protocol īŽ RTP: A Transport Protocol for Real-Time Applications īŽ īŽ īŽ īŽ UDP īŽ īŽ RFC 1889 RTP – Real-Time Transport Protocol RTCP – RTP Control Protocol Packets may be lost or out-of-sequence RTP over UDP īŽ īŽ īŽ A sequence number A time stamp for synchronized play-out Does not solve the problems; simply provides additional information 31 Internet Telephony
  • 32. īŽ RTCP īŽ īŽ īŽ īŽ īŽ A companion protocol Exchange messages between session users # of lost packets, delay and inter-arrival jitter Quality feedback RTCP is implicitly open when an RTP session is open īŽ īŽ Not mandatory E.g., RTP/RTCP uses UDP port 5004/5005 32 Internet Telephony
  • 33. RTP Payload Formats īŽ RTP carries the actual digitally encoded voice īŽ īŽ īŽ RTP header + a payload of voice samples UDP and IP headers are attached Many voice- and video-coding standards īŽ A payload type identifier in the RTP header īŽ īŽ īŽ īŽ Specified in RFC 1890 New coding schemes have become available See table 2-1 A sender has no idea what coding schemes a receiver could handle 33 Internet Telephony
  • 34. īŽ Separate signaling systems īŽ īŽ īŽ Capability negotiation during the call setup SIP and SDP A dynamic payload type may be used īŽ īŽ Also support new coding scheme in the future The encoding name is also significant īŽ īŽ īŽ Unambiguously refer to a particular payload specification Should be registered with the IANA RED, Redundant payload type īŽ īŽ īŽ Voice samples + previous samples May use different encoding schemes Cope with packet loss 34 Internet Telephony
  • 36. The RTP Header īŽ Version (V) īŽ īŽ Padding (P) īŽ īŽ īŽ īŽ 2 The padding octets at the end of the payload The payload needs to align with 32-bit boundary The last octet of the payload contains the count Extension (X) īŽ 1, contains a header extension 36 Internet Telephony
  • 37. īŽ CSRC Count (CC) īŽ īŽ Marker (M) īŽ īŽ īŽ The number of contributing source indentifiers RFC 1890 The first packet of a talkspurt, after a silence period Payload Type (PT) īŽ RED is an exception īŽ īŽ RFC 2198, the addition of headers Sequence number īŽ īŽ A random number at the beginning Incremented by one for each RTP packet 37 Internet Telephony
  • 38. īŽ Timestamp īŽ īŽ īŽ 32-bit The instant at which the first sample The receiver īŽ īŽ īŽ Synchronized play-out Calculate the jitter The clock freq depends on the encoding īŽ īŽ īŽ E.g., 8000Hz, TS=1/10 samples; TS=11 Support silence suppression The initial timestamp is a random number 38 Internet Telephony
  • 39. īŽ Synchronization Source (SSRC) īŽ īŽ īŽ īŽ īŽ īŽ 32-bit identifier The entity setting the sequence number and timestamp Chosen randomly, independent of the network address Meant to be globally unique within the session May be a sender or a mixer Contributing Source (CSRC) īŽ īŽ An SSRC value for a contributor 0-15 CSRC entries 39 Internet Telephony
  • 40. īŽ RTP Header Extensions īŽ īŽ Accommodate the common requirements of most media streams For payload formats that requires 40 Internet Telephony
  • 41. Mixers and Translators īŽ Mixers īŽ īŽ Enable multiple media streams from different sources to be combined An audio conference īŽ īŽ īŽ Could also change the data format The SSRC is the mixer īŽ īŽ If the capacity or bandwidth of a participant is limited More than one CSRC values A translator īŽ īŽ Manage communications between entities that does not support the same coding scheme The SSRC is the participant, not the translator 41 Internet Telephony
  • 42. The RTP Control Protocol (RTCP) īŽ RTCP īŽ īŽ A companion control protocol of RTP Periodic exchange of control information īŽ īŽ A third party can also monitor session quality īŽ īŽ For quality-related feedback Using RTCP and IP multicast Five type of RTCP packets īŽ īŽ Sender Report: transmission and reception statistics Receiver Report: reception statistics 42 Internet Telephony
  • 43. īŽ Source Description (SDES) īŽ īŽ One or more Must contain a canonical name īŽ īŽ īŽ īŽ BYE īŽ īŽ Separate from SSRC which might change When both audio and video streams exist īŽ Have different SSRCs īŽ Have the same CNAME for synchronized play-out Regular names, such as email address or phone number The end of participation APP īŽ Convey application-specific functions 43 Internet Telephony
  • 44. īŽ Two or more RTCP packets will be combined īŽ īŽ īŽ īŽ īŽ SRs and RRs should be sent as often as possible New receivers in a session must receive CNAME An SR/RR must contain an SDES packet A SDES packet is sent with an SR/RR even if no data to report An example RTP compound packet 44 Internet Telephony
  • 45. RTCP Sender Report īŽ SR īŽ īŽ īŽ īŽ Header Info Sender Info Receiver report blocks Option īŽ Profile-specific extension 45 Internet Telephony
  • 46. īŽ Resemble to a RTP packet īŽ Version īŽ īŽ Padding bit īŽ īŽ 2 Padding octets? RC, report count īŽ īŽ The number of reception report blocks 5-bit īŽ īŽ īŽ If more than 31 reports, an RR is added PT, payload type SSRC of sender 46 Internet Telephony
  • 47. īŽ NTP Timestamp īŽ Network Time Protocol Timestamp īŽ īŽ īŽ The time elapsed in seconds since 00:00, 1/1/1900 (GMT) 64-bit īŽ 32 MSB: the number of seconds īŽ 32 LSB: the fraction of a seconds (200 ps) A primary time server īŽ īŽ īŽ NTP, RFC 1305 Station WWV, Fort Collins, Colorado, by NIST Station WWVB, Boulder, Colorado, by NIST 47 Internet Telephony
  • 48. īŽ RTP Timestamp īŽ īŽ īŽ īŽ Sender’s packet count īŽ īŽ Corresponding to the NTP timestamp Use the same units and has the same offset as used for RTP timestamps For better synchronization Cumulative within a session Sender’s octet count īŽ Cumulative 48 Internet Telephony
  • 49. RR blocks īŽ SSRC_n īŽ īŽ Fraction lost īŽ īŽ īŽ Fraction of packets lost since the last report issued by this participant By examining the sequence numbers in the RTP header Cumulative number of packets lost īŽ īŽ The source identifier Since the beginning of the RTP session Extended highest sequence number received īŽ īŽ īŽ The sequence number of the last RTP packet received 16 lsb, the last sequence number 16 msb, the number of sequence number cycles 49 Internet Telephony
  • 50. īŽ Interarrival jitter īŽ īŽ Last SR Timestamp (LSR) īŽ īŽ īŽ An estimate of the variance in RTP packet arrival The middle 32 bits of the NTP timestamp used in the last SR received from the source in question Used to check if the last SR has been received Delay Since Last SR (DLSR) īŽ The duration in units of 1/65,536 seconds 50 Internet Telephony
  • 51. RTCP Receiver Report īŽ RR īŽ īŽ Issued by a participant who receives RTP packets but does not send, or has not yet sent Is almost identical to an SR īŽ īŽ PT = 201 No sender information 51 Internet Telephony
  • 52. RTCP Source Description Packet īŽ Provides identification and information regarding session participants īŽ īŽ Header īŽ īŽ Must exist in every RTCP compound packet V, P, SC, PT=202, Length Zero or more chunks of information īŽ īŽ An SSRC or CSRC value One or more identifiers and pieces of information īŽ īŽ īŽ Email address, phone number, name Defined in RFC 1889 A unique CNAME īŽ E.g., user@host 52 Internet Telephony
  • 53. īŽ RTCP BYE Packet īŽ īŽ Indicate one or more media sources are no longer active Application-Defined RTCP Packet īŽ īŽ For application-specific data For non-standardized application 53 Internet Telephony
  • 54. Calculating Round-Trip Time īŽ īŽ Use SRs and RRs E.g. īŽ īŽ īŽ īŽ īŽ Report A: A, T1 → B, T2 Report B: B, T3 → A, T4 RTT = T4-T3+T2-T1 RTT = T4-(T3-T2)-T1 Report B īŽ īŽ LSR = T1 DLSR = T3-T2 54 Internet Telephony
  • 55. Calculation Jitter īŽ The mean deviation of the difference in packet spacing at the receiver īŽ īŽ Ri = the time of arrival īŽ īŽ Si = the RTP timestamp for packet I D(i,j) = (Rj-Sj) - (Ri- Si) The Jitter is calculated continuously īŽ J(i) = J(i-1) + (| D(i-1,i) | - J(i-1))/16 55 Internet Telephony
  • 56. Timing of RTCP Packets īŽ RTCP provides useful feedback īŽ īŽ īŽ Regarding the quality of an RTP session Delay, jitter, packet loss Be sent as often as possible īŽ īŽ īŽ Consume the bandwidth Should be fixed at 5% An algorithm, RFC 1889 īŽ īŽ īŽ īŽ Senders are collectively allowed at least 25% of the control traffic bandwidth The interval > 5 seconds 0.5 – 1.5 times the calculated interval A dynamic estimate the avg RTCP packet size 56 Internet Telephony
  • 57. IP Multicast īŽ An IP diagram sent to multiple hosts īŽ īŽ īŽ Conference To a single address associated with all listeners Multicast groups īŽ īŽ Multicast address Join a multicast group īŽ īŽ Inform local routers Routing protocols īŽ īŽ Support propagation of routing information for multicast addresses Minimize the number of diagrams sent 57 Internet Telephony
  • 58. īŽ IPv4 īŽ īŽ īŽ īŽ īŽ īŽ Multicast addresses: 224.0.0.0 – 239.255.255.255 224.0.0.1 all hosts on a local subnet 224.0.0.2 all routers on a local subnet 224.0.0.5 all routers supporting OSPF 224.0.0.9 all routers supporting RIP v.2 IGMP, Internet Group Message Protocol īŽ īŽ Advertise membership in a group to routers RFC 1112, 2236 58 Internet Telephony
  • 59. IP Version 6 īŽ The explosive growth of the Internet īŽ īŽ īŽ īŽ īŽ īŽ Expanded address space, 128 bits Simplified header format Improved support for headers and extensions Flow-labeling capability īŽ īŽ IPv4 address space, 32-bit Real-time and interactive applications Better support at the IP level for real-time ap Authentication and privacy īŽ At the IP level 59 Internet Telephony
  • 60. IP Version 6 Header 60 Internet Telephony
  • 61. IP Version 6 Header īŽ Version īŽ īŽ Traffic Class, 8-bit īŽ īŽ 6 For the quality of service Flow Label, 20-bit īŽ īŽ īŽ Label sequences of packets A flow := source address, destination address, flow label 0, no special handling 61 Internet Telephony
  • 62. īŽ Payload Length, 16-bit unsigned integer īŽ īŽ īŽ The length of payload in octets Header extensions are part of the payload Next Header, 8-bit īŽ The next higher-layer protocol īŽ īŽ īŽ The existence of IPv6 header extensions Hop Limit, 8-bit unsigned integer īŽ īŽ Same as the IPv4 The TTL field of the IPv4 header Source and Destination Addresses, 128-bit 62 Internet Telephony
  • 63. IP version 6 addresses īŽ XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XX XX īŽ īŽ E.g., 1511:1:0:0:0:FA22:45:11 īŽ īŽ īŽ Leading zeros are omitted = 1511:1::FA22:45:11 0:0:0:0:AA11:50:22:F77 = ::AA11:50:22:F77 īŽ īŽ X is a hexadecimal character “::” can appears only once Should not generally require significant changes to up-layer protocols īŽ But the checksum calculation in UDP and TCP includes a pseudo header 63 Internet Telephony
  • 64. IP version 6 special addresses īŽ The all-zeros address, :: īŽ īŽ The loopback address, ::1 īŽ īŽ On a virtual internal interface IPv6 address with embedded IPv4 address (type 1) īŽ īŽ īŽ An unspecified address; a node does not yet know its address 96-bit zeros + 32-bit IPv4 address ::140.113.17.5 IPv6 address with embedded IPv4 address (type 2) īŽ īŽ īŽ 80-bit zeros + FFFF + 32-bit IPv4 address 0:0:0:0:0:FFFF:140.113.17.5 ::FFFF:140.113.17.5 64 Internet Telephony
  • 65. IP Version 6 Header Extensions īŽ Extension Headers īŽ Are not acted upon by intermediate nodes īŽ īŽ With one exception Next Header īŽ īŽ īŽ īŽ The type of payload carried in the IP datagram The type of header extension Each extension has its own next header field An example 65 Internet Telephony
  • 66. Header extension īŽ Use the next header field 66 Internet Telephony
  • 67. Hop-by-hop extension īŽ The exception header extension īŽ īŽ īŽ īŽ īŽ Next header Length īŽ īŽ Examined and processed by every intermediate node If present, must immediately follow the IP header Of variable length in units of eight octets, not including the first eight octets Options īŽ TLV (Type-Length-Value) format īŽ īŽ 8-bit, 8-bit (in units of octets), variable length Type [0:2] of special significance 67 Internet Telephony
  • 69. īŽ Type[0:1] īŽ īŽ īŽ īŽ īŽ 00 skip this option and continue processing the header 01 discard the packet 10 discard the packet and send an ICMP Parameter Problem, Code 2 message to the originator of the packet 11 do above only if the destination address in the IP header is not a multicast address Type[2] īŽ īŽ 1, the option data can be changed 0, cannot 69 Internet Telephony
  • 70. īŽ Destination options extension īŽ īŽ īŽ īŽ Has the same format as the hop-by-hop extension Only the destination node examine the extension Header type = 60 Routing Extension īŽ īŽ īŽ īŽ īŽ A routing type field to enable various routing options Only routing type 0 is defined for now Specify the nodes that should be visited Next header Length 70 Internet Telephony
  • 72. īŽ īŽ Routing type Segments Left īŽ īŽ īŽ The number of nodes that still need to be visited A list of IP addresses needs to be visited Is this type of header analyzed by intermediate node? īŽ īŽ īŽ īŽ īŽ īŽ Yes or no A->Z, 3, (B,C,D) A->B, 3, (C,D,Z) A->C, 2, (B,D,Z) by B A->D, 1, (B,C,Z) by C A->Z, 0, (B,C,D) by D 72 Internet Telephony
  • 73. Interoperation IPv4 and IPv6 īŽ IPv4 and IPv6 will coexist for a long time īŽ īŽ īŽ īŽ IPv4 nodes īƒŗ IPv6 nodes IPv6 nodes īƒŗ IPv6 nodes via IPv4 networks IPv4 nodes īƒŗ IPv4 nodes via IPv6 networks IPv4-compatible nodes with IPv4-compatible addresses at the boundaries of IPv6 networks īŽ IPv6 in IPv4 packets 73 Internet Telephony
  • 74. Interoperation IPv4 and IPv6 īŽ IPv4-compatible nodes with IPv4-compatible addresses at the boundaries of IPv6 networks īŽ IPv6 in IPv4 packets 74 Internet Telephony