Difference between revisions of "IPv6 Address : Alamat tanpa special prefix"

From OnnoWiki
Jump to navigation Jump to search
Line 37: Line 37:
 
These addresses are defined with a special prefix of length 96 (a.b.c.d is the IPv4 address):
 
These addresses are defined with a special prefix of length 96 (a.b.c.d is the IPv4 address):
  
0:0:0:0:0:ffff:a.b.c.d/96
+
0:0:0:0:0:ffff:a.b.c.d/96
  
 
or in compressed format
 
or in compressed format
  
::ffff:a.b.c.d/96
+
::ffff:a.b.c.d/96
  
 
For example, the IPv4 address 1.2.3.4 looks like this:
 
For example, the IPv4 address 1.2.3.4 looks like this:
  
::ffff:1.2.3.4
+
::ffff:1.2.3.4
  
 
3.1.3.2. IPv4-compatible IPv6 address
 
3.1.3.2. IPv4-compatible IPv6 address
Line 51: Line 51:
 
Used for automatic tunneling (RFC 2893 / Transition Mechanisms for IPv6 Hosts and Routers), which is being replaced by 6to4 tunneling.
 
Used for automatic tunneling (RFC 2893 / Transition Mechanisms for IPv6 Hosts and Routers), which is being replaced by 6to4 tunneling.
  
0:0:0:0:0:0:a.b.c.d/96
+
0:0:0:0:0:0:a.b.c.d/96
  
 
or in compressed format
 
or in compressed format
  
::a.b.c.d/96
+
::a.b.c.d/96
  
  

Revision as of 10:39, 20 May 2013

Sumber: http://tldp.org/HOWTO/Linux+IPv6-HOWTO/x476.html

localhost

Alamat ini adalah alamat khusus yang digunakan untuk interface loopback, sam adengan IPv4 yaitu "127.0.0.1". Dengan IPv6, localhost adalah:

0000:0000:0000:0000:0000:0000:0000:0001 

atau di kompres:

::1

paket dengan alamat ini sebagai source atau destination tidak boleh keluar dari host pengirim.

Address yang tidak spesified

INi adalah address seperti "any" atau "0.0.0.0" di IPv4. Di IPv6 ini adalah

0000:0000:0000:0000:0000:0000:0000:0000 

atau:

::

Alamat ini biasanya digunakan / dilihat di socket binding (ke IPv6 addrress apa saja) atau di tabel routing.

Catatan: Address yang tidak spesified (unspesified address) tidak bisa digunakan sebagai alamat tujuan.


3.1.3. IPv6 address with embedded IPv4 address

There are two addresses which contain an IPv4 address. 3.1.3.1. IPv4-mapped IPv6 address

IPv4-only IPv6-compatible addresses are sometimes used/shown for sockets created by an IPv6-enabled daemon, but only binding to an IPv4 address.

These addresses are defined with a special prefix of length 96 (a.b.c.d is the IPv4 address):

0:0:0:0:0:ffff:a.b.c.d/96

or in compressed format

::ffff:a.b.c.d/96

For example, the IPv4 address 1.2.3.4 looks like this:

::ffff:1.2.3.4

3.1.3.2. IPv4-compatible IPv6 address

Used for automatic tunneling (RFC 2893 / Transition Mechanisms for IPv6 Hosts and Routers), which is being replaced by 6to4 tunneling.

0:0:0:0:0:0:a.b.c.d/96

or in compressed format

::a.b.c.d/96



Referensi