How IPv6 Impacts SIP and Telecom

Post on 20-Aug-2015

3.780 views 2 download

Tags:

Transcript of How IPv6 Impacts SIP and Telecom

www.internetsociety.org

york@isoc.org +1-802-735-1624

Dan York Senior Content Strategist, DO Hub

How IPv6 Impacts SIP and Telecom

The Internet Society

Dan York

www.danyork.com

The Internet Society

My Recent Change

DO Hub Project york@isoc.org +1-802-735-1624

The Internet Society

www.internetsociety.org

Why IPv6?

The Internet Society

In The Beginning...

192.168.20.12

The Internet Society

Mobility

www.flickr.com/photos/kapungo/3396823518/

The Internet Society

A Plethora of Portable Platforms

www.flickr.com/photos/clonedmilkmen/5111779335/

The Internet Society

Internet of Things

www.flickr.com/photos/dmje/5159177886/

The Internet Society

Internet of Things

The Internet Society

Internet of Things

The Internet Society

EVERYTHING over

IP

The Internet Society

How IP Address Allocation Works

Regional Internet Registries (RIRs)

Internet Service Providers (ISPs)

You

The Internet Society

Global IPv4 Disparity !

The Internet Society

Oops... as of Feb 1, 2011...

Regional Internet Registries (RIRs)

Internet Service Providers (ISPs)

You

All Gone!

www.internetsociety.org

Solutions?

The Internet Society

IPv4 Marketplace

The Internet Society

Prolonging IPv4 - NAT Today

Firewall

ISP  

Internet Firewall

IP Phone

PC

Home Firewall

Home  

Public  IP  NAT  

Private  IP  Addresses  

The Internet Society

Carrier Grade NAT (a.k.a. LSN)

ISP  

Internet Firewall

IP Phone

PC

Home Firewall

Home  

Public  IP  NAT  

Private  IP  Addresses  

Firewall

The Internet Society

Old NATs Never Die...

ISP  

Internet Firewall

IP Phone

PC

Home Firewall

Home  

Public  IP  NAT  

Private  IP  Addresses  

Firewall

NAT  Private  IP  Addresses  

The Internet Society

The Problem?

SIP NAT

The Internet Society

Oh, and by the way...

(sorry... we still have NAT-like networks with IPv6...)

The Internet Society

And then there is...

www.internetsociety.org

IPv6 Challenges: User Interfaces

The Internet Society

See the problem?

The Internet Society

See the problem?

The Internet Society

IPv4

192.168.20.12

The Internet Society

IPv6

2001:db8:34a5:23:aa1f:12f4:9009:1234

The Internet Society

IPv6 Address Compression

2001:db8:34a5:0:0:0:0:1

2001:db8:34a5::1 (oh, and they aren’t case-sensitive)

The Internet Society

IPv6 Addresses

127.0.0.1 ::1

0.0.0.0 ::

The Internet Society

DNS is your friend!

www.internetsociety.org

IPv6 Challenges: Port Numbers

The Internet Society

IPv4 Port Numbers

192.168.20.12:5060

The Internet Society

IPv4 Port Numbers in IPv6?

192.168.20.12:5060

2001:db8:34a5::1234:5060

The Internet Society

IPv6 Port Numbers

[2001:db8:34a5::1234]:5060

The Internet Society

IPv6 addressing

http://[2001:db8:34a5::1234]/index.html

http://[2001:db8:34a5::1234]:8080

sip:dan@[2001:db8:34a5::1234]

sip:dan@[2001:db8:34a5::1234]:5060

The Internet Society

DNS is your friend!

www.internetsociety.org

IPv6 Challenge: Multiple Addresses

The Internet Society

IPv4 – Single Address / Interface

192.168.20.12

The Internet Society

IPv6 – Multiple Addresses / Interface

192.168.20.12

2001:db8:34a5:92:21c:a5ff:fe12:3a80 (global)

fe80::21c:a5ff:fe12:3a80 (link-local)

The Internet Society

IPv6 – Neighbor Discovery

No More DHCP For Address Assignment

(well, unless you want it)

Router Advertisements vs ARP

The Internet Society

IPv6 – Address Creation

2001:db8:34a5:92:21c:a5ff:fe12:3a80

Router Advertisement

Autoconfiguration from Ethernet Address

The Internet Society

DNS is your friend!

www.internetsociety.org

IPv6 Challenges: DNS

The Internet Society

IPv4 and DNS

example.com 3600 IN A 192.168.20.12

The Internet Society

IPv6 and DNS

example.com 3600 IN A 192.168.20.12

example.com 3600 IN AAAA 2001:db8:34a5::1234

The Internet Society

IPv6 DNS Fun

What if DNS gives a AAAA....

but your system doesn’t have “real” IPv6 connectivity?

(You can retrieve AAAA records over IPv4)

The Internet Society

UNhappy Eyeballs

You

DNS Svr

example.com A 192.168.20.12 example.com AAAA 2001:db8:34a5::1234

AAAA

(a long time later...)

A

?

?

The Internet Society

Happy Eyeballs

You

DNS Svr

example.com A 192.168.20.12 example.com AAAA 2001:db8:34a5::1234

AAAA

A ?

?

(sent at same time; whichever replies first wins)

The Internet Society

Happy Eyeballs

draft-ietf-v6ops-happy-eyeballs

www.internetsociety.org

IPv6 Challenges: Storing IP Addresses

The Internet Society

How Do You Store IP Addresses?

Memory? Databases?

Config Files?

Room for two? (or more?)

The Internet Society

Config Files

<category name="SIP">

<item name="Server1">127.0.0.1:5060 </item>

</category>

www.internetsociety.org

IPv6 and SIP

The Internet Society

IPv6 Works Fine!

Linphone – http://www.linphone.org Open source, free and available for Linux, Windows and MacOS X

The Internet Society

Linphone and IPv6

Linphone – http://www.linphone.org Open source, free and available for Linux, Windows and MacOS X

The Internet Society

RFC 6157

RFC 6157 “IPv6 Transition in the Session

Initiation Protocol (SIP)” tools.ietf.org/html/rfc6157

The Internet Society

SIP Architecture

SIP Proxy

A

Alice Bob Media (RTP, MSRP, etc.)

SIP SIP

SIP Proxy

B SIP

The Internet Society

SIP Reality

Internet (or WAN)

Alice Bob Media

SIP SIP

SIP Proxy

A SIP

SIP Proxy

B

SIP Proxy

N

SIP Proxy

D SIP

SIP Proxy

C SIP SIP

Media Proxy

A

Media Proxy

B Media Media

The Internet Society

“SIP” = Multiple Protocols

SIP SDP

RTP

The Internet Society

IPv4/IPv6 Fun

Communicating between IPv4 client and IPv6 client through a proxy

§  Record-Route: <sip:2001:db8::1;lr>

§  Record-Route: <sip:192.0.2.1;lr>

Mixed communication across a path of proxies

Mixed communication: IPv6 for SIP, IPv4 for media

The Internet Society

IPv6 and SDP

Only allows a single IP address per media stream (“c=“ parameter)

§  c=IN IP4 192.168.20.12

§  c=IN IP6 2001:db8:34a5::1234

Multiple proposals for additional SDP parameters

§  ex. ANAT - RFC 4091 & 4092 – now deprecated by ICE

The IETF way forward is ICE – RFC 5245

The Internet Society

NAT, NAT, NAT...

STUN, TURN, ICE

(RFC 5245)

The Internet Society

Discovery of SIP Servers

User agents need to find SIP servers/proxies

DHCPv6

§  SIP Options in RFC 3319

DNS SRV, NAPTR and AAAA Records (RFC 3263)

The Internet Society

Other IPv6 Considerations

Other interfaces

§  Web and management systems

§  Logging

§  APIs

Custom SIP headers

Multi-vendor interoperability

SBC and firewall support for SIP over IPv6

The Internet Society

SIPNOC 2011 IPv6 BOF

April 2011 BOF at SIPNOC 2011 in Herndon, VA

Identified potential actions:

§  Migration plans: collecting and publicizing plans that are available, helping find others

§  Identification of interoperability tests or test plans that include IPv6 and SIP

§  Providing case studies of successful migrations

§  Listing SIP-related tools/services/products that support IPv6

§  General education around IPv6 and SIP / real-time communication

Created new mailing list:

§  sipforum.org/mailman/listinfo/ipv6

The Internet Society

SIP Forum “IPv6” Mailing List

sipforum.org/mailman/listinfo/ipv6

The Internet Society

SIPit Test Events

sipit.net

SIPit 28: “68% of the implementations present supported IPv6.”

The Internet Society

Get Started With SIP and IPv6...

http://bit.ly/voxeoipv6

The Internet Society

Set up Test Lab or your Home Office

http://tunnelbroker.net

www.test-ipv6.com www.ipv6-test.com

The Internet Society

SIP Softphones Supporting IPv6

Linphone

§  www.linphone.org

Jitsi (formerly SIP Communicator)

§  www.jitsi.org

The Internet Society

Olle Would Want Me To Mention...

Asterisk 1.8

The Internet Society

Voxeo Application Platforms

Voxeo Prophecy 10.1 §  Standards-based platform for speech, IVR and SIP applications

§  Downloads and installs in minutes; Scales from 2 ports to 10’s of thousands of ports

§  World’s most compatible and compliant VoiceXML and CCXML

Voxeo PRISM 10.1 §  Real-time Communications Application Server §  Supports Converged SIP, Web and XMPP applications. §  Carrier grade high performance platform with full support of high

availability and session replication

Free developer versions for Windows, Linux, Mac OS X

www.voxeo.com/prophecy www.voxeo.com/prism

73

The Internet Society

SIP Forum “IPv6” Mailing List

sipforum.org/mailman/listinfo/ipv6

www.internetsociety.org

A New Internet Society Initiative Bridging the Divide Between IETF Standards and Industry-wide Deployment

www.internetsociety.org

Deployment & Operationalization (DO) Hub Helps you

•  DO IPv6 •  DO DNSSEC •  DO other future standards

The Internet Society

What DO Hub Will Look Like

•  Online portals for new standards adoption •  IPv6, DNSSEC, future standards topics •  Knowledge base with deployment articles •  Case studies •  Blogs (deployment commentary) •  Social media •  Multiple languages

•  ION meeting series •  Co-located with diverse set of events •  Events being planned to reach each continent

The Internet Society

When DO Hub Will Be Available

•  October 2011 •  Preview web presence release •  Engagement with first adopters begins to create initial

knowledge base articles •  First co-located ION event in Buenos Aires

•  December 2011 •  Official launch of DO Hub resource •  First knowledge base articles published •  Social media and blogging

The Internet Society

How DO Hub Will Grow

•  New deployment articles will be added to the knowledge base on a regular basis

•  Our blogs and social media efforts will provide an ongoing conversation about deployment

•  We will feature the work of other groups

•  We will add features to this deployment resource in response to feedback received from audiences

The Internet Society

How to Participate

•  Help Create Content •  We are working with first adopters and experts to

develop our materials •  We will credit your work

•  Help Define New Features •  We seek your valuable feedback on this deployment

resource •  We have the flexibility to make changes/additions

•  Contact us: dohub@isoc.org

www.internetsociety.org

york@isoc.org +1-802-735-1624

Dan York Senior Content Strategist, DO Hub, Internet Society

Thank You! Follow us at:

twitter.com/InternetSociety

Facebook.com/InternetSociety