How IPv6 Impacts SIP
                             and Telecom


Dan York
Senior Content Strategist, DO Hub
york@isoc.org
+1-802-735-1624

www.internetsociety.org
Dan York




                       www.danyork.com
The Internet Society
My Recent Change




                       DO Hub Project


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




The Internet Society
The Internet Society
Why IPv6?




www.internetsociety.org
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...

                                                     All Gone!




                       Regional Internet Registries (RIRs)




                       Internet Service Providers (ISPs)




                                     You

The Internet Society
Solutions?




www.internetsociety.org
IPv4 Marketplace




The Internet Society
Prolonging IPv4 - NAT Today

                                                                         NAT	
  
                                           Public	
  IP	
                           Private	
  IP	
  
                                                                                    Addresses	
  




                                                                                    PC


                                                               Home
      Internet             Firewall   Firewall
                                                              Firewall



                                                                                     IP
                       ISP	
                                                       Phone
                                                              Home	
  




The Internet Society
Carrier Grade NAT (a.k.a. LSN)

                                                         NAT	
  
                       Public	
  IP	
                               Private	
  IP	
  
                                                                    Addresses	
  




                                                                                                    PC


                                                                                         Home
      Internet                                Firewall             Firewall
                                                                                        Firewall



                                                                                                     IP
                                          ISP	
                                                    Phone
                                                                                        Home	
  




The Internet Society
Old NATs Never Die...

                                                         NAT	
                                     NAT	
  
                       Public	
  IP	
                               Private	
  IP	
                           Private	
  IP	
  
                                                                    Addresses	
                               Addresses	
  




                                                                                                              PC


                                                                                         Home
      Internet                                Firewall             Firewall
                                                                                        Firewall



                                                                                                               IP
                                          ISP	
                                                              Phone
                                                                                        Home	
  




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...




The Internet Society
IPv6 Challenges:
                           User Interfaces



www.internetsociety.org
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!


The Internet Society
IPv6 Challenges:
                            Port Numbers



www.internetsociety.org
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!


The Internet Society
IPv6 Challenge:
                    Multiple Addresses



www.internetsociety.org
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



               Router Advertisement




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

                                      Autoconfiguration from
                                        Ethernet Address




The Internet Society
DNS is your friend!


The Internet Society
IPv6 Challenges:
                                DNS



www.internetsociety.org
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


                                       DNS
                                       Svr


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

                                       You   (a long time later...)

                                                 A
                                                                      ?




The Internet Society
Happy Eyeballs


                                       DNS
                                       Svr


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

                                             (sent at same time;
                                             whichever replies first wins)




The Internet Society
Happy Eyeballs




draft-ietf-v6ops-happy-eyeballs




The Internet Society
IPv6 Challenges:
               Storing IP Addresses



www.internetsociety.org
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>




The Internet Society
IPv6 and SIP




www.internetsociety.org
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              SIP
                                 Proxy            Proxy
                                   A      SIP       B

                           SIP                             SIP




                       Alice                                Bob
                                 Media (RTP, MSRP, etc.)




The Internet Society
SIP Reality




                       SIP           SIP              SIP             SIP         SIP
                       Proxy         Proxy            Proxy         Proxy         Proxy
                        A      SIP    B       SIP      C      SIP     D     SIP    N

         SIP                              Internet (or WAN)                               SIP



                                     Media                    Media
 Alice                               Proxy                    Proxy                        Bob
                       Media           A            Media       B             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



     The Internet Society
73
SIP Forum “IPv6” Mailing List




sipforum.org/mailman/listinfo/ipv6




The Internet Society
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




www.internetsociety.org
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



The Internet Society
Dan York
   Senior Content Strategist, DO Hub,
   Internet Society

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



                             Thank You!
                                  Follow us at:

                           twitter.com/InternetSociety

                          Facebook.com/InternetSociety




www.internetsociety.org

How IPv6 Impacts SIP and Telecom

  • 1.
    How IPv6 ImpactsSIP and Telecom Dan York Senior Content Strategist, DO Hub york@isoc.org +1-802-735-1624 www.internetsociety.org
  • 2.
    Dan York www.danyork.com The Internet Society
  • 3.
    My Recent Change DO Hub Project york@isoc.org +1-802-735-1624 The Internet Society
  • 4.
  • 5.
  • 6.
    In The Beginning... 192.168.20.12 The Internet Society
  • 7.
    Mobility www.flickr.com/photos/kapungo/3396823518/ The Internet Society
  • 8.
    A Plethora ofPortable Platforms www.flickr.com/photos/clonedmilkmen/5111779335/ The Internet Society
  • 9.
    Internet of Things www.flickr.com/photos/dmje/5159177886/ The Internet Society
  • 10.
    Internet of Things TheInternet Society
  • 11.
    Internet of Things TheInternet Society
  • 12.
    EVERYTHING over IP The Internet Society
  • 13.
    How IP AddressAllocation Works Regional Internet Registries (RIRs) Internet Service Providers (ISPs) You The Internet Society
  • 14.
    Global IPv4 Disparity! The Internet Society
  • 15.
    Oops... as ofFeb 1, 2011... All Gone! Regional Internet Registries (RIRs) Internet Service Providers (ISPs) You The Internet Society
  • 16.
  • 17.
  • 18.
    Prolonging IPv4 -NAT Today NAT   Public  IP   Private  IP   Addresses   PC Home Internet Firewall Firewall Firewall IP ISP   Phone Home   The Internet Society
  • 19.
    Carrier Grade NAT(a.k.a. LSN) NAT   Public  IP   Private  IP   Addresses   PC Home Internet Firewall Firewall Firewall IP ISP   Phone Home   The Internet Society
  • 20.
    Old NATs NeverDie... NAT   NAT   Public  IP   Private  IP   Private  IP   Addresses   Addresses   PC Home Internet Firewall Firewall Firewall IP ISP   Phone Home   The Internet Society
  • 21.
    The Problem? SIP NAT The Internet Society
  • 22.
    Oh, and bythe way... (sorry... we still have NAT-like networks with IPv6...) The Internet Society
  • 23.
    And then thereis... The Internet Society
  • 24.
    IPv6 Challenges: User Interfaces www.internetsociety.org
  • 25.
    See the problem? TheInternet Society
  • 26.
    See the problem? TheInternet Society
  • 27.
    IPv4 192.168.20.12 The Internet Society
  • 28.
  • 29.
    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
  • 30.
    IPv6 Addresses 127.0.0.1 ::1 0.0.0.0 :: The Internet Society
  • 31.
    DNS is yourfriend! The Internet Society
  • 32.
    IPv6 Challenges: Port Numbers www.internetsociety.org
  • 33.
    IPv4 Port Numbers 192.168.20.12:5060 The Internet Society
  • 34.
    IPv4 Port Numbersin IPv6? 192.168.20.12:5060 2001:db8:34a5::1234:5060 The Internet Society
  • 35.
    IPv6 Port Numbers [2001:db8:34a5::1234]:5060 The Internet Society
  • 36.
    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
  • 37.
    DNS is yourfriend! The Internet Society
  • 38.
    IPv6 Challenge: Multiple Addresses www.internetsociety.org
  • 39.
    IPv4 – SingleAddress / Interface 192.168.20.12 The Internet Society
  • 40.
    IPv6 – MultipleAddresses / Interface 192.168.20.12 2001:db8:34a5:92:21c:a5ff:fe12:3a80 (global) fe80::21c:a5ff:fe12:3a80 (link-local) The Internet Society
  • 41.
    IPv6 – NeighborDiscovery No More DHCP For Address Assignment (well, unless you want it) Router Advertisements vs ARP The Internet Society
  • 42.
    IPv6 – AddressCreation Router Advertisement 2001:db8:34a5:92:21c:a5ff:fe12:3a80 Autoconfiguration from Ethernet Address The Internet Society
  • 43.
    DNS is yourfriend! The Internet Society
  • 44.
    IPv6 Challenges: DNS www.internetsociety.org
  • 45.
    IPv4 and DNS example.com3600 IN A 192.168.20.12 The Internet Society
  • 46.
    IPv6 and DNS example.com3600 IN A 192.168.20.12 example.com 3600 IN AAAA 2001:db8:34a5::1234 The Internet Society
  • 47.
    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
  • 48.
    UNhappy Eyeballs DNS Svr example.com A 192.168.20.12 example.com AAAA 2001:db8:34a5::1234 AAAA ? You (a long time later...) A ? The Internet Society
  • 49.
    Happy Eyeballs DNS Svr example.com A 192.168.20.12 example.com AAAA 2001:db8:34a5::1234 AAAA ? A ? You (sent at same time; whichever replies first wins) The Internet Society
  • 50.
  • 51.
    IPv6 Challenges: Storing IP Addresses www.internetsociety.org
  • 52.
    How Do YouStore IP Addresses? Memory? Databases? Config Files? Room for two? (or more?) The Internet Society
  • 53.
    Config Files <category name="SIP"> <item name="Server1">127.0.0.1:5060 </item> </category> The Internet Society
  • 54.
  • 55.
    IPv6 Works Fine! Linphone – http://www.linphone.org Open source, free and available for Linux, Windows and MacOS X The Internet Society
  • 56.
    Linphone and IPv6 Linphone – http://www.linphone.org Open source, free and available for Linux, Windows and MacOS X The Internet Society
  • 57.
    RFC 6157 RFC 6157 “IPv6 Transition in the Session Initiation Protocol (SIP)” tools.ietf.org/html/rfc6157 The Internet Society
  • 58.
    SIP Architecture SIP SIP Proxy Proxy A SIP B SIP SIP Alice Bob Media (RTP, MSRP, etc.) The Internet Society
  • 59.
    SIP Reality SIP SIP SIP SIP SIP Proxy Proxy Proxy Proxy Proxy A SIP B SIP C SIP D SIP N SIP Internet (or WAN) SIP Media Media Alice Proxy Proxy Bob Media A Media B Media The Internet Society
  • 60.
    “SIP” = MultipleProtocols SIP SDP RTP The Internet Society
  • 61.
    IPv4/IPv6 Fun Communicating betweenIPv4 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
  • 62.
    IPv6 and SDP Onlyallows 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
  • 63.
    NAT, NAT, NAT... STUN, TURN, ICE (RFC 5245) The Internet Society
  • 64.
    Discovery of SIPServers 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
  • 65.
    Other IPv6 Considerations Otherinterfaces §  Web and management systems §  Logging §  APIs Custom SIP headers Multi-vendor interoperability SBC and firewall support for SIP over IPv6 The Internet Society
  • 66.
    SIPNOC 2011 IPv6BOF 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
  • 67.
    SIP Forum “IPv6”Mailing List sipforum.org/mailman/listinfo/ipv6 The Internet Society
  • 68.
    SIPit Test Events sipit.net SIPit 28: “68% of the implementations present supported IPv6.” The Internet Society
  • 69.
    Get Started WithSIP and IPv6... http://bit.ly/voxeoipv6 The Internet Society
  • 70.
    Set up TestLab or your Home Office http://tunnelbroker.net www.test-ipv6.com www.ipv6-test.com The Internet Society
  • 71.
    SIP Softphones SupportingIPv6 Linphone §  www.linphone.org Jitsi (formerly SIP Communicator) §  www.jitsi.org The Internet Society
  • 72.
    Olle Would WantMe To Mention... Asterisk 1.8 The Internet Society
  • 73.
    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 The Internet Society 73
  • 74.
    SIP Forum “IPv6”Mailing List sipforum.org/mailman/listinfo/ipv6 The Internet Society
  • 75.
    A New InternetSociety Initiative Bridging the Divide Between IETF Standards and Industry-wide Deployment www.internetsociety.org
  • 76.
    Deployment & Operationalization(DO) Hub Helps you •  DO IPv6 •  DO DNSSEC •  DO other future standards www.internetsociety.org
  • 77.
    What DO HubWill 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
  • 78.
    When DO HubWill 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
  • 79.
    How DO HubWill 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
  • 80.
    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 The Internet Society
  • 81.
    Dan York Senior Content Strategist, DO Hub, Internet Society york@isoc.org +1-802-735-1624 Thank You! Follow us at: twitter.com/InternetSociety Facebook.com/InternetSociety www.internetsociety.org