IPv6

380 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
380
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

IPv6

  1. 1. IP Conversion 127.0.0.1  ::1 Link-local 169.254.0.0/16  FE80::/10 (Auto EUI-64) Example address  2001:db8::/32 (192.0.2.0/24) Private address  FC00::/7 (10.0.0.0/8,  FC00::/8 172.16.0.0/12,  FD00::/8 192.168.0.0/16) IPv4 IPv6
  2. 2. Link-local? fe80::/10 Use to ask: Anyone else here on this link? Anyone here with a special address (e.g. looking for a router)? Announce for rules (router advertise).
  3. 3. Public address 2000::/3  2xxx::/4  3xxx::/4 2001:0::/32  Teredo address 2002::/16  6to4 address 3ffe::/16  6bone (test) address
  4. 4. Special address format ::ffff:192.0.2.1  IPv4 embedded address
  5. 5. Web application concerns Additional validation for v4embed address  Apache can handle this case.  Lighttpd+FastCGI is known to have this issue
  6. 6. Web application concerns IP Logging in database Require 39 chars for IPv6 address
  7. 7. Web application concerns Display space in web page
  8. 8. Web application concerns Display space in web page
  9. 9. Web application concerns GeoIP requires additional IPv6 database Log analyzer (webalizer, awstats) and v4embed address
  10. 10. Web application concerns Direct connect to IPv6 address: use [ ] brackets like “[2001:db8::1]” Example:
  11. 11. Web application concerns Communicating to other site by curl, file_get_contents, …  IPv4-only servers or some with incorrect ipv6 setting might have problem when access to dual-stack sites ex: Facebook, Google ○ Server try to connect to ipv6 first, then ipv4. ○ Some more latency for retry with ipv4.
  12. 12. Automatic configuration Just enable IPv6 ! Router will advertise itself and prefix /64 to use in that network. Client will automatically assign address with EUI-64 or Pseudo-random address.
  13. 13. Static Configuration
  14. 14. Tunnelling Teredo (Windows) 6to4 (Linux)
  15. 15. Teredo Automated tunnel under windows vista/7 Use UDPv4 to pass thru NAT under IPv4 No static address can be use as a server! Connects only to direct IPs
  16. 16. Teredo
  17. 17. Teredo http://[2404:8800:804::1]/
  18. 18. 6to4 Tunnel
  19. 19. 6to4 Tunnel Traffic send to nearest anycasted router IP: 192.88.99.1 Nearest public router: Uninet, Equinix SG
  20. 20. 6to4 Tunnel Convert and automatically tunnelled IPv4 into IPv6 address IPv6 prefix: 2002::/48
  21. 21. 6to4 Configuration : RedHat IPV6_DEFAULTDEV=tun6to4 IPV6INIT=yes IPV6TO4INIT=yes
  22. 22. 6to4 Tunnel
  23. 23. Test your connectivity http://www.testipv6.com/
  24. 24. Something need to know http://upic.me/ access16000014000012000010000080000 Pageviews/day600004000020000 0 IPv4 IPv6
  25. 25. @icez

×