320 likes | 613 Views
SIP IPv6/IPv4 transition solutions. 通訊所 鍾國麟. Outline. IPV6 transition problem NAT-PT + SIP ALG TZI gateway 3GPP – IMS STUN-Based SIP Proxy. IPV6 / IPV4 SIP 發生的問題. IPv4. IPv6. NAT-PT. IPv4 SIP_UA. IP Mapping table. ?? 140.123.1.1. IPv6 SIP_UA. INVITE XXX@example.com With IPv4 SDP
E N D
Outline • IPV6 transition problem • NAT-PT + SIP ALG • TZI gateway • 3GPP – IMS • STUN-Based SIP Proxy
IPV6 / IPV4 SIP發生的問題 IPv4 IPv6 NAT-PT IPv4 SIP_UA IP Mapping table ?? 140.123.1.1 IPv6 SIP_UA INVITE XXX@example.com With IPv4 SDP A=140.123.1.1 … 看不懂 IPv4 位址
NAT-PT + SIP ALG IPv4 IPv6 DUAL-Stack Translator 140.123.1.1 FF::1 SIP ALG IP Mapping table IPv4 SIP UA IPv6 SIP UA RTP (ipv4) RTP (ipv6) Media session Translator INVITE XXX@example.com With IPv4 SDP A=140.123.1.1 … INVITE XXX@example.com With IPv4 SDP A=FE::AA:1:1 SIP_ALG Modify SIP/SDP Message
TZI Gateway • 6WINIT Project; http://www.6winit.org • The TZI-Gateway is a application layer gateway for signalling communication and media streams for use in heterogeneous IPv4/IPv6 networks • Determine IP version of caller based on received INVITE message
3GPP-IMS Scenario • 3GPP IPv6 endpoint • IPv6-only but IPv4-aware • SIP Edge Proxy • Logical proxy entity • Dual-Stack • Manages pools of IPv6 and IPv4 addresses for one or multiple IPAPMs • IP Address and Port Mapper (IPAPM) • IP translation (comparable to SIIT) • Manages address/port bindings • Controlled by edge proxy • Control protocol • To be defined • MEGACO, MIDCOM…
目前IPv6/IPv4 SIP solution • 需修改NAT-PT , Gateway • SIP Proxy 和需NAT-PT合作 (IP Mapping) • 利用STUN 方法在IPV6/IPV4環境中穿透NAT-PT 使得 SIP 可以通話。
STUN - Simple Traversal of UDP Through NATs Internet (Public Network) Private Network NAT 192.168.1.1 Packet STUN server S: 192.168.1.1 S:140.123.1.1 D:140.123.1.1 IP :140.123.1.1 原來我對外的IP是 140.123.1.1 IP mapping table 140.123.1.xx
STUN-based SIP Proxy IPv4 IPv6 NAT-PT SIP Proxy SIP Proxy Dual stack RTP Relay IPv4 SIP_UA IP Mapping table IPv6 SIP_UA Dual stack RTP Relay
STUN-based SIP Proxy • Dual stack • Change SDP • RTP Relay • STUN
IPV4 - SIPUA SIP Proxy 01 NAT-PT SIP Proxy 02 IPV6 - SIPUA INVITE STUN request STUN response INVITE INVITE OK STUN request STUN response OK OK RTP RTP RTP RTP Relay Relay
Ipv6@aaa.bb 140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE INVITE ipv6@aaa.bb SDP: 140.123.1.1
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request S:140.123.1.2 STUN response IP: AA::1 S: AA::1
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request STUN response IP: AA::1 INVITE INVITE INVITE ipv6@aaa.bb SDP: AA::1 INVITE ipv6@aaa.bb SDP: FF::2
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request STUN response IP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: FF::2 OK 200 OK SDP: FF::1
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request STUN response IP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: FF::2 OK STUN request S:FF::2 200 OK SDP: FF::1 STUN response IP: 163.1.1.1
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request STUN response IP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: FF::2 OK STUN request S:FF::2 200 OK SDP: FF::1 STUN response IP: 163.1.1.1 OK OK 200 OK SDP: 163.1.1.1 200 OK SDP: 140.123.1.2
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request STUN response IP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: FF::2 OK STUN request S:FF::2 200 OK SDP: FF::1 STUN response IP: 163.1.1.1 OK OK 200 OK SDP: 163.1.1.1 200 OK SDP: 140.123.1.2 ACK
140.123.1.2 140.123.1.1 IPV4 - SIPUA SIP Proxy 01 NAT-PT FF::2 SIP Proxy 02 FF::1 IPV6 - SIPUA INVITE S:140.123.1.2 STUN request STUN response IP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: AA::1 INVITE INVITE ipv6@aaa.bb SDP: FF::2 OK STUN request S:FF::2 200 OK SDP: FF::1 STUN response IP: 163.1.1.1 OK OK 200 OK SDP: 163.1.1.1 200 OK SDP: 140.123.1.2 ACK RTP RTP RTP RTP Relay Relay
結論 • Modify Gateway • NAT-PT+SIP ALG • TZI Gateway • 3G IMS • 提出一個實驗性的架構在不修改NAT-PT下,利用SIP Proxy + STUN使得SIP在IPV6/IPV4環境可使用 • NAT-PT環境不容易架設