Difference between revisions of "IPv6: teredo"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
Di Debian dan Ubuntu, sambungan IPv6 mungkin paling mudah di peroleh dengan menginstalasi miredo,
  
  apt install miredo
+
  sudo apt install miredo
 +
 
 +
Ini ini akan membuat tunnel IPv6 melalui sambungan IPv6 yang ada.
 +
Jadi anda tetap membutuhkan sambungan IPv4 untuk menjalankan miredo.
 +
Jika berhasil maka akan tampak interface teredo berikut
  
 
  ifconfig teredo
 
  ifconfig teredo
  
 +
isinya kira-kira
 +
 +
teredo: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
 +
        inet6 2001:0:53aa:64c:308f:b6bf:98b1:8cdf  prefixlen 32  scopeid 0x0<global>
 +
        inet6 fe80::ffff:ffff:ffff  prefixlen 64  scopeid 0x20<link>
 +
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
 +
        RX packets 54  bytes 5616 (5.6 KB)
 +
        RX errors 0  dropped 0  overruns 0  frame 0
 +
        TX packets 95  bytes 7884 (7.8 KB)
 +
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 +
 +
==Konfigurasi teredo==
  
 +
Konfigurasi di lakukan melalui file
  
On Debian and Ubuntu, getting IPv6 connectivity is as easy as running this command in terminal:
+
/etc/miredo.conf
  
sudo apt-get install miredo
+
Default-nya konfigurasi
  
You should instantaneously be connected to the internet via IPv6 (provided you have a working IPv4 setup).
+
InterfaceName teredo
 +
ServerAddress teredo-debian.remlab.net
  
If you want to customize your IPv6 connectivity, you can edit the miredo configuration file /etc/miredo.conf as described in the miredo.conf man page.
 
By default, the Ubuntu/Debian package is configured to use the server teredo-debian.remlab.net.
 
Prefer IPv6 (incl. Teredo/Miredo) over IPv4
 
  
Add the following lines to your /etc/gai.conf (you can replace the whole file by this):
+
==Cek==
  
## Loopback Address (RFC 4291):
+
dig AAAA namasitus
label ::1/128      0
+
dig AAAA www.kominfo.go.id
## The full IPv6 address space:
+
dig AAAA www.tni-au.mil.id
label ::/0          1
+
dig AAAA www.tniad.mil.id
## 6to4 Addresses (RFC 3056):
+
dig AAAA www.tni.mil.id
label 2002::/16    2
 
## Deprecated IPv4 mapped addresses (RFC 4291):
 
label ::/96        3
 
## IPv4 mapped addresses (RFC 5952):
 
label ::ffff:0:0/96 4
 
## Reserved by IETF (RFC 3879):
 
label fec0::/10    5
 
## Unique Local Unicast (RFC 4193):
 
label fc00::/7      6
 
## Teredo addresses (RFC 4380):
 
#label 2001:0::/32  7
 
  
precedence ::1/128      50
+
  ping6 -I teredo 2001:df2:a600::9
precedence ::/0          40
+
  ping6 -I teredo 2001:df2:2a00::903:5
precedence 2002::/16    30
+
  ping6 -I teredo 2001:df3:3800::903:8
precedence ::/96          20
+
ping6 -I teredo 2404:ba80:0:5::2
precedence ::ffff:0:0/96  10
 

Revision as of 11:33, 30 January 2019

Di Debian dan Ubuntu, sambungan IPv6 mungkin paling mudah di peroleh dengan menginstalasi miredo,

sudo apt install miredo

Ini ini akan membuat tunnel IPv6 melalui sambungan IPv6 yang ada. Jadi anda tetap membutuhkan sambungan IPv4 untuk menjalankan miredo. Jika berhasil maka akan tampak interface teredo berikut

ifconfig teredo

isinya kira-kira

teredo: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        inet6 2001:0:53aa:64c:308f:b6bf:98b1:8cdf  prefixlen 32  scopeid 0x0<global>
        inet6 fe80::ffff:ffff:ffff  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 54  bytes 5616 (5.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 95  bytes 7884 (7.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Konfigurasi teredo

Konfigurasi di lakukan melalui file

/etc/miredo.conf

Default-nya konfigurasi

InterfaceName 	teredo
ServerAddress	teredo-debian.remlab.net


Cek

dig AAAA namasitus
dig AAAA www.kominfo.go.id
dig AAAA www.tni-au.mil.id
dig AAAA www.tniad.mil.id
dig AAAA www.tni.mil.id
ping6 -I teredo 2001:df2:a600::9
ping6 -I teredo 2001:df2:2a00::903:5
ping6 -I teredo 2001:df3:3800::903:8
ping6 -I teredo 2404:ba80:0:5::2