IPv6: IPv6-in-IPv4 Tunnel: Display tunnel yang ada

From OnnoWiki
Revision as of 05:23, 20 September 2018 by Onnowpurbo (talk | contribs) (Created page with "Kita dapat melihat tunnel yang ada ==Menggunakan "ip"== Penggunaan: # /sbin/ip -6 tunnel show [<device>] Contoh: # /sbin/ip -6 tunnel show Hasilnya kira-kira: si...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Kita dapat melihat tunnel yang ada

Menggunakan "ip"

Penggunaan:

# /sbin/ip -6 tunnel show [<device>] 

Contoh:

# /sbin/ip -6 tunnel show 

Hasilnya kira-kira:

sit0: ipv6/ip remote any local any ttl 64 nopmtudisc 
sit1: ipv6/ip remote 195.226.187.50 local any ttl 64 

Menggunakan "route"

Penggunaan

# /sbin/route -A inet6 

Contoh (output di filter untuk memperlihatkan hanya tunnel melalui virtual interface sit0)

# /sbin/route -A inet6 | grep "\Wsit0\W*$" 
::/96      ::               U   256  2  0  sit0 
2002::/16  ::               UA  256  0  0  sit0 
2000::/3   ::193.113.58.75  UG    1  0  0  sit0 
fe80::/10  ::               UA  256  0  0  sit0 
ff00::/8   ::               UA  256  0  0  sit0