Difference between revisions of "IPv6 Penjelasan Versi Lama"

From OnnoWiki
Jump to navigation Jump to search
Line 165: Line 165:
 
11. Kernel settings in /proc-filesystem
 
11. Kernel settings in /proc-filesystem
  
    11.1. How to access the /proc-filesystem
+
* [[IPv6 Kernel: Bagaimana mengakses /proc-filesystem]]
    11.2. Entries in /proc/sys/net/ipv6/
+
* [[IPv6 Kernel: Isi /proc/sys/net/ipv6/]]
    11.3. IPv6-related entries in /proc/sys/net/ipv4/
+
* [[IPv6 Kernel: IPv6 entri di proc/sys/net/ipv4/]]
    11.4. IPv6-related entries in /proc/net/
+
* [[IPv6 Kernel: IPv6 entri di /proc/net/]]
  
 
12. Netlink-Interface to kernel
 
12. Netlink-Interface to kernel
 +
 
13. Address Resolver
 
13. Address Resolver
 +
 
14. Network debugging
 
14. Network debugging
  
    14.1. Server socket binding
+
* [[IPv6 Debugging: Server socket binding]]
    14.2. Examples for tcpdump packet dumps
+
* [[IPv6 Debugging: Contoh untuk tcpdump paket dump]]
  
 
15. Support for persistent IPv6 configuration in Linux distributions
 
15. Support for persistent IPv6 configuration in Linux distributions

Revision as of 11:38, 22 May 2013

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


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

3. Address types

4. IPv6-ready system check

5. Configuring interfaces

6. Configuring IPv6 addresses

7. Configuring normal IPv6 routes

8. Neighbor Discovery

9. Configuring IPv6-in-IPv4 tunnels

10. Configuring IPv4-in-IPv6 tunnels

11. Kernel settings in /proc-filesystem

12. Netlink-Interface to kernel

13. Address Resolver

14. Network debugging

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

Indonesia

Pranala Menarik