Difference between revisions of "IPv6 Kernel: IPv6 entri di /proc/net/"

From OnnoWiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Entri ini tidak bisa di baca mnggunakan “sysctl”, oleh karenanya gunakan “cat”.
 
Entri ini tidak bisa di baca mnggunakan “sysctl”, oleh karenanya gunakan “cat”.
  
11.4.1. if_inet6
+
==if_inet6==
  
    Type: One line per addresss containing multiple values
+
Type: Satu line per address berisi beberapa nilai
  
Here all configured IPv6 addresses are shown in a special format. The example displays for loopback interface only. The meaning is shown below (see “net/ipv6/addrconf.c” for more).
+
Disini semua address IPv6 yang di konfigurasi di simpan dalam format khusus. Contoh disini adalah interface loopback (lo). Artinya dapat dilihat di bawah. Untuk keterangan lebih lanjut bisa membaca di “net/ipv6/addrconf.c”
  
 
  # cat /proc/net/if_inet6
 
  # cat /proc/net/if_inet6
Line 15: Line 15:
 
  1                                2  3  4  5  6
 
  1                                2  3  4  5  6
  
* IPv6 address displayed in 32 hexadecimal chars without colons as separator
+
* IPv6 address di tampilkan dalam 32 hexadecimal karakter tanpa colon sebagai pembatas.
* Netlink device number (interface index) in hexadecimal (see “ip addr” , too)
+
* Nomor Netlink (interface index) dalam hexadecimal (lihat “ip addr” , juga)
* Prefix length in hexadecimal
+
* Panjang Prefix dalam hexadecimal
* Scope value (see kernel source “ include/net/ipv6.h” and “net/ipv6/addrconf.c” for more)
+
* Nilai Scope (lihat kernel source “ include/net/ipv6.h” dan “net/ipv6/addrconf.c” untuk lebih detail)
* Interface flags (see “include/linux/rtnetlink.h” and “net/ipv6/addrconf.c” for more)
+
* Interface flag (lihat “include/linux/rtnetlink.h” dan “net/ipv6/addrconf.c” untuk lebih detail)
* Device name
+
* Nama Device
  
11.4.2. ipv6_route
+
==ipv6_route==
  
    Type: One line per route containing multiple values
+
Type: Satu line per route berisi banyak nilai
  
Here all configured IPv6 routes are shown in a special format. The example displays for loopback interface only. The meaning is shown below (see “net/ipv6/route.c” for more).
+
Disini semua IPv6 route yang dikonfigurasi dapat dilihat dapat format khusus. Contoh tampilan untuk loopback interface saja. Arti di perlihatkan di bawah (lihat “net/ipv6/route.c” untuk lebih detail).
  
 
  # cat /proc/net/ipv6_route
 
  # cat /proc/net/ipv6_route
Line 41: Line 41:
  
  
* IPv6 destination network displayed in 32 hexadecimal chars without colons as separator
+
* IPv6 destination network di tampilkan dalam 32 hexadecimal karakter tanpa pembatas colon.
* IPv6 destination prefix length in hexadecimal
+
* panjang prefix IPv6 destination dalam hexadecimal
* IPv6 source network displayed in 32 hexadecimal chars without colons as separator
+
* IPv6 source network di tampilkan dalam 32 hexadecimal karakter tanpa pembatas cplon.
* IPv6 source prefix length in hexadecimal
+
* panjang prefix IPv6 source dalam hexadecimal
* IPv6 next hop displayed in 32 hexadecimal chars without colons as separator
+
* IPv6 next hop di tampilkan dalam 32 hexadecimal karakter tanpa pembatas colon.
* Metric in hexadecimal
+
* Metric dalam hexadecimal
 
* Reference counter
 
* Reference counter
 
* Use counter
 
* Use counter
* Flags
+
* Flag
* Device name
+
* Nama Device
  
11.4.3. sockstat6
+
==sockstat6==
  
    Type: One line per protocol with description and value
+
Type: Satu kalimat per protocol dengan keterangan dan nilai
  
Statistics about used IPv6 sockets. Example:
+
Statistik tentang penggunaan soket IPv6. Contoh:
  
 
  # cat /proc/net/sockstat6
 
  # cat /proc/net/sockstat6
Line 66: Line 66:
 
  FRAG6: inuse 0 memory 0
 
  FRAG6: inuse 0 memory 0
  
11.4.4. tcp6
+
==tcp6==
  
 
To be filled.
 
To be filled.
  
11.4.5. udp6
+
==udp6==
  
 
To be filled.
 
To be filled.
  
11.4.6. igmp6
+
==igmp6==
  
 
To be filled.
 
To be filled.
  
11.4.7. raw6
+
==raw6==
  
 
To be filled.
 
To be filled.
  
11.4.8. ip6_flowlabel
+
==ip6_flowlabel==
  
 
To be filled.
 
To be filled.
  
11.4.9. rt6_stats
+
==rt6_stats==
  
 
To be filled.
 
To be filled.
  
11.4.10. snmp6
+
==snmp6==
  
    Type: One line per SNMP description and value
+
Type: Satu kalimat per keterangan SNMP dan nilainya
  
SNMP statistics, can be retrieved via SNMP server and related MIB table by network management software.
+
SNMP statistik, dapat di ambil melalui SNMP server dan tabel MIB terkait menggunakan software network manajemen.
  
11.4.11. ip6_tables_names
+
==ip6_tables_names==
  
 
Available netfilter6 tables
 
Available netfilter6 tables

Latest revision as of 07:22, 4 July 2013

Di /proc/net ada beberapa entri yang sifatnya read-only. Entri ini tidak bisa di baca mnggunakan “sysctl”, oleh karenanya gunakan “cat”.

if_inet6

Type: Satu line per address berisi beberapa nilai

Disini semua address IPv6 yang di konfigurasi di simpan dalam format khusus. Contoh disini adalah interface loopback (lo). Artinya dapat dilihat di bawah. Untuk keterangan lebih lanjut bisa membaca di “net/ipv6/addrconf.c”

# cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80 lo
+------------------------------+ ++ ++ ++ ++ ++
|                                |  |  |  |  |
1                                2  3  4  5  6
  • IPv6 address di tampilkan dalam 32 hexadecimal karakter tanpa colon sebagai pembatas.
  • Nomor Netlink (interface index) dalam hexadecimal (lihat “ip addr” , juga)
  • Panjang Prefix dalam hexadecimal
  • Nilai Scope (lihat kernel source “ include/net/ipv6.h” dan “net/ipv6/addrconf.c” untuk lebih detail)
  • Interface flag (lihat “include/linux/rtnetlink.h” dan “net/ipv6/addrconf.c” untuk lebih detail)
  • Nama Device

ipv6_route

Type: Satu line per route berisi banyak nilai

Disini semua IPv6 route yang dikonfigurasi dapat dilihat dapat format khusus. Contoh tampilan untuk loopback interface saja. Arti di perlihatkan di bawah (lihat “net/ipv6/route.c” untuk lebih detail).

# cat /proc/net/ipv6_route
00000000000000000000000000000000 00 00000000000000000000000000000000 00
+------------------------------+ ++ +------------------------------+ ++
|                                |  |                                |
1                                2  3                                4
¬ 00000000000000000000000000000000 ffffffff 00000001 00000001 00200200 lo
¬ +------------------------------+ +------+ +------+ +------+ +------+ ++
¬ |                                |        |        |        |        |
¬ 5                                6        7        8        9        10


  • IPv6 destination network di tampilkan dalam 32 hexadecimal karakter tanpa pembatas colon.
  • panjang prefix IPv6 destination dalam hexadecimal
  • IPv6 source network di tampilkan dalam 32 hexadecimal karakter tanpa pembatas cplon.
  • panjang prefix IPv6 source dalam hexadecimal
  • IPv6 next hop di tampilkan dalam 32 hexadecimal karakter tanpa pembatas colon.
  • Metric dalam hexadecimal
  • Reference counter
  • Use counter
  • Flag
  • Nama Device

sockstat6

Type: Satu kalimat per protocol dengan keterangan dan nilai

Statistik tentang penggunaan soket IPv6. Contoh:

# cat /proc/net/sockstat6
TCP6: inuse 11
UDP6: inuse 3
UDPLITE6: inuse 0
RAW6: inuse 0
FRAG6: inuse 0 memory 0

tcp6

To be filled.

udp6

To be filled.

igmp6

To be filled.

raw6

To be filled.

ip6_flowlabel

To be filled.

rt6_stats

To be filled.

snmp6

Type: Satu kalimat per keterangan SNMP dan nilainya

SNMP statistik, dapat di ambil melalui SNMP server dan tabel MIB terkait menggunakan software network manajemen.

ip6_tables_names

Available netfilter6 tables