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

From OnnoWiki
Jump to navigation Jump to search
Line 28: Line 28:
  
  
3.1.3. IPv6 address with embedded IPv4 address
+
==IPv6 address dengan IPv4 address yang di embed==
  
There are two addresses which contain an IPv4 address.
+
Ada dua address yang berisi IPv4 address
3.1.3.1. IPv4-mapped IPv6 address
+
 
 +
 
 +
===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.
 
IPv4-only IPv6-compatible addresses are sometimes used/shown for sockets created by an IPv6-enabled daemon, but only binding to an IPv4 address.
Line 39: Line 41:
 
  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
+
dalam format di kompres:
  
 
  ::ffff:a.b.c.d/96
 
  ::ffff:a.b.c.d/96
  
For example, the IPv4 address 1.2.3.4 looks like this:
+
Contoh, untuk address IPv4 1.2.3.4 akan tampak sebagai:
  
 
  ::ffff:1.2.3.4
 
  ::ffff:1.2.3.4
  
3.1.3.2. IPv4-compatible IPv6 address
+
===IPv4-compatible IPv6 address===
  
 
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.
Line 53: Line 55:
 
  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
+
adalah format di kompres :
  
 
  ::a.b.c.d/96
 
  ::a.b.c.d/96

Revision as of 10:43, 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.


IPv6 address dengan IPv4 address yang di embed

Ada dua address yang berisi IPv4 address


=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

dalam format di kompres:

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

Contoh, untuk address IPv4 1.2.3.4 akan tampak sebagai:

::ffff:1.2.3.4

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

adalah format di kompres :

::a.b.c.d/96



Referensi