IPv6 Penjelasan Versi Lama
Konfigurasi interface IPv6
ip -6 addr add 124::1/64 dev eth4 ifconfig eth0 inet6 add 2001:0db8:0:f101::1/64
ip -6 addr del 124::1/64 dev eth4 ifconfig eth4 inet6 del 124::1/24
ping
ping6 2001:0db8:0:f101::2
Routing menggunakan IP
/sbin/ip -6 route show dev eth4
124::/64 proto kernel metric 256 fe80::/64 proto kernel metric 256
Routing menggunakan route
route -A inet6
Destination Next Hop Flag Met Ref Use If 124::/64 :: U 256 0 0 eth4 fe80::/64 :: U 256 0 0 eth4 ::/0 :: !n -1 1 61 lo ::1/128 :: Un 0 1 3 lo 124::1/128 :: Un 0 1 34 lo fe80::226:b9ff:fe1b:9553/128 :: Un 0 1 7 lo ff00::/8 :: U 256 0 0 eth4 ::/0 :: !n -1 1 61 lo
Routing menggunakan netstat
netstat -nr -A inet6
Kernel IPv6 routing table Destination Next Hop Flag Met Ref Use If 124::/64 :: U 256 0 0 eth4 fe80::/64 :: U 256 0 0 eth4 ::/0 :: !n -1 1 87 lo ::1/128 :: Un 0 1 24 lo 124::1/128 :: Un 0 1 34 lo fe80::226:b9ff:fe1b:9553/128 :: Un 0 1 7 lo ff00::/8 :: U 256 0 0 eth4 ::/0 :: !n -1 1 87 lo
Web Server
# Listen [124::1]:80 <VirtualHost [124::1]:80> ServerName ipv6only.yourdomain.yourtopleveldomain # ...sure more config lines </VirtualHost>
# Listen [2001:0db8:100::2]:80 # Listen 1.2.3.4:80 <VirtualHost [2001:0db8:100::2]:80 1.2.3.4:80> ServerName ipv6andipv4.yourdomain.yourtopleveldomain # ...sure more config lines </VirtualHost>
Listen akan membuat masalah
Kalau belum ada IPv6-nya akan keluar error
[Mon May 07 10:04:08 2012] [crit] (EAI 9)Address family for hostname not supported: alloc_listener: failed to set up sockaddr for 124::1
Kalau sudah ada IPv6-nya akan keluar error
(98)Address already in use: make_sock: could not bind to address [124::1]:80
Calculator IPv6
- http://www.ipv6calculator.net/
- http://www.subnetonline.com/pages/subnet-calculators/ipv6-subnet-calculator.php
Table of Contents
1. General
1.1. Copyright, license and others 1.2. Category 1.3. Version, History and To-Do 1.4. Translations 1.5. Technical 1.6. Preface 1.7. Used terms, glossary and shortcuts 1.8. Requirements for using this HOWTO
2. Basics
2.1. What is IPv6? 2.2. History of IPv6 in Linux 2.3. What do IPv6 addresses look like? 2.4. FAQ (Basics)
3. Address types
3.1. Addresses without a special prefix 3.2. Network part, also known as prefix 3.3. Address types (host part) 3.4. Prefix lengths for routing
4. IPv6-ready system check
4.1. IPv6-ready kernel 4.2. IPv6-ready network configuration tools 4.3. IPv6-ready test/debug programs 4.4. IPv6-ready programs 4.5. IPv6-ready client programs (selection) 4.6. IPv6-ready server programs 4.7. FAQ (IPv6-ready system check)
5. Configuring interfaces
5.1. Different network devices 5.2. Bringing interfaces up/down
6. Configuring IPv6 addresses
6.1. Displaying existing IPv6 addresses 6.2. Add an IPv6 address 6.3. Removing an IPv6 address
7. Configuring normal IPv6 routes
7.1. Displaying existing IPv6 routes 7.2. Add an IPv6 route through a gateway 7.3. Removing an IPv6 route through a gateway 7.4. Add an IPv6 route through an interface 7.5. Removing an IPv6 route through an interface 7.6. FAQ for IPv6 routes
8. Neighbor Discovery
8.1. Displaying neighbors using “ip” 8.2. Manipulating neighbors table using “ip”
9. Configuring IPv6-in-IPv4 tunnels
9.1. Types of tunnels 9.2. Displaying existing tunnels 9.3. Setup of point-to-point tunnel 9.4. Setup of 6to4 tunnels
10. Configuring IPv4-in-IPv6 tunnels
10.1. Displaying existing tunnels 10.2. Setup of point-to-point tunnel 10.3. Removing point-to-point tunnels
11. Kernel settings in /proc-filesystem
11.1. How to access the /proc-filesystem 11.2. Entries in /proc/sys/net/ipv6/ 11.3. IPv6-related entries in /proc/sys/net/ipv4/ 11.4. IPv6-related entries in /proc/net/
12. Netlink-Interface to kernel 13. Address Resolver 14. Network debugging
14.1. Server socket binding 14.2. Examples for tcpdump packet dumps
15. Support for persistent IPv6 configuration in Linux distributions
15.1. Red Hat Linux and “clones” 15.2. SuSE Linux 15.3. Debian Linux
16. Auto-configuration
16.1. Stateless auto-configuration 16.2. Stateful auto-configuration using Router Advertisement Daemon (radvd) 16.3. Dynamic Host Configuration Protocol v6 (DHCPv6)
17. Mobility
17.1. Common information
18. Firewalling
18.1. Firewalling using netfilter6 18.2. Preparation 18.3. Usage
19. Security
19.1. Node security 19.2. Access limitations 19.3. IPv6 security auditing
20. Encryption and Authentication
20.1. Modes of using encryption and authentication 20.2. Support in kernel (ESP and AH) 20.3. Automatic key exchange (IKE) 20.4. Additional informations:
21. Quality of Service (QoS) 22. Hints for IPv6-enabled daemons
22.1. Berkeley Internet Name Domain (BIND) daemon “named” 22.2. Internet super daemon (xinetd) 22.3. Webserver Apache2 (httpd2) 22.4. Router Advertisement Daemon (radvd) 22.5. Dynamic Host Configuration v6 Server (dhcp6s) 22.6. ISC Dynamic Host Configuration Server (dhcpd) 22.7. DHCP Server Dibbler 22.8. tcp_wrapper 22.9. vsftpd 22.10. proftpd 22.11. Other daemons
23. Programming
23.1. Programming using C-API 23.2. Other programming languages
24. Interoperability 25. Further information and URLs
25.1. Paper printed books, articles, online reviews (mixed) 25.2. Conferences, Meetings, Summits 25.3. Online information 25.4. IPv6 Infrastructure 25.5. Maillists 25.6. Online tools 25.7. Trainings, Seminars 25.8. 'The Online Discovery' ...
26. Revision history / Credits / The End
26.1. Revision history 26.2. Credits 26.3. The End
Referensi
- http://tldp.org/HOWTO/Linux+IPv6-HOWTO/
- http://www.v6.wide.ad.jp/ Recommended
- https://wiki.ubuntu.com/IPv6 Recommended
- http://ipv6.net/
- http://www.kame.net/
Indonesia
- http://www.apjii.or.id/risetIPv6.html
- http://blog.karo.or.id/tag/cara-setting-ipv6-di-ubuntu/
- http://blog.karo.or.id/dll/install-ipv6-di-ubuntu