Difference between revisions of "IPv6 Kernel: Isi /proc/sys/net/ipv6/"

From OnnoWiki
Jump to navigation Jump to search
Line 31: Line 31:
 
Type: BOOLEAN
 
Type: BOOLEAN
  
Functional default: enabled if local forwarding is disabled. disabled if local forwarding is enabled.
+
Fungsi default: aktif jika forwarding lokal disable. Disable kalau forwarding lokal di enable.
  
Accept Router Advertisements, and autoconfigure this interface with received data.
+
Menerima Router Advertisement, dan autoconfigure interface ini dengan data yang di terima.
  
 
====accept_redirects====
 
====accept_redirects====

Revision as of 09:28, 30 June 2013

Isi dari /proc/sys/net/ipv6/

conf/default/*

Ubah default setting spesifik untuk interface.

conf/all/*

Ubah semua setting yang khusus interface.

Pengecualian: “conf/all/forwarding” mempunyai arti yang berbeda.

conf/all/forwarding

Type: BOOLEAN

Ini mengaktifkan IPv6 forwarding secara umum antar semua interface.

Di IPv6 kita tidak dapat mengatur forwarding per device, pengaturan forwarding harus dilakukan mengunakan IPv6-netfilter (di atur menggunakan ip6tables) ruleset dan menentukan device input dan output (lihat tentang Firewalling/Netfilter6 untuk informasi lebih lanjut). Ini berbeda dengan IPv4, dimana kita dapat mengontrol forwarding per device (keputusan di ambil di interface saat paket masuk).

Ada juga parameter untuk menset semua interface Host/Router 'forwarding' ke sebuah nilai tertentu. Hal ini di kenal sebagai global forwarding. Jika nilai ini 0, maka tidak akan ada IPv6 forwarding, paket tidak akan meninggalkan interface lainnya, baik itu fisik maupun logik, seperti, tunnel.

conf/interface/*

Ubah konfigurasi khusus per interface.

Perilaku secara fungsional dari beberapa konfigurasi tergantung apakah forwarding lokal di aktifkan atau tidak.

accept_ra

Type: BOOLEAN

Fungsi default: aktif jika forwarding lokal disable. Disable kalau forwarding lokal di enable.

Menerima Router Advertisement, dan autoconfigure interface ini dengan data yang di terima.

accept_redirects

   Type: BOOLEAN

Functional default: enabled if local forwarding is disabled. disabled if local forwarding is enabled.

Accept Redirects sent by an IPv6 router.

autoconf

   Type: BOOLEAN

Functional default: enabled if accept_ra_pinfo is enabled. disabled if accept_ra_pinfo is disabled.

Autoconfigure addresses using prefix information from router advertisements.

dad_transmits

   Type: INTEGER

Default: 1

The amount of Duplicate Address Detection probes to send.

forwarding

   Type: BOOLEAN

Default: FALSE if global forwarding is disabled (default), otherwise TRUE

Configure interface-specific Host/Router behaviour.

Note: It is recommended to have the same setting on all interfaces; mixed router/host scenarios are rather uncommon.

   Value FALSE: By default, Host behaviour is assumed. This means:
   IsRouter flag is not set in Neighbour Advertisements.
   Router Solicitations are being sent when necessary.
   If accept_ra is TRUE (default), accept Router Advertisements (and do autoconfiguration).
   If accept_redirects is TRUE (default), accept Redirects.
   Value TRUE: If local forwarding is enabled, Router behaviour is assumed. This means exactly the reverse from the above:
   IsRouter flag is set in Neighbour Advertisements.
   Router Solicitations are not sent.
   Router Advertisements are ignored.
   Redirects are ignored.

hop_limit

   Type: INTEGER
   Default: 64

Default Hop Limit to set.

mtu

   Type: INTEGER
   Default: 1280 (IPv6 required minimum)

Default Maximum Transfer Unit

router_solicitation_delay

   Type: INTEGER
   Default: 1

Number of seconds to wait after interface is brought up before sending Router Solicitations.

router_solicitation_interval

   Type: INTEGER
   Default: 4

Number of seconds to wait between Router Solicitations.

router_solicitations

   Type: INTEGER
   Default: 3

Number of Router Solicitations to send until assuming no routers are present.

neigh/default/*

Change default settings for neighbor detection and some special global interval and threshold values:

gc_thresh1

   Type: INTEGER
   Default: 128

More to be filled.

11.2.4.2. gc_thresh2

   Type: INTEGER
   Default: 512

More to be filled.

11.2.4.3. gc_thresh3

   Type: INTEGER
   Default: 1024

Tuning parameter for neighbour table size.

Increase this value if you have a lot of interfaces and problem with routes start to act mysteriously and fail. Or if a running Zebra (routing daemon) reports:

ZEBRA: netlink-listen error: No buffer space available, type=RTM_NEWROUTE(24), ¬ seq=426, pid=0

gc_interval

   Type: INTEGER
   Default: 30

More to be filled.

neigh/interface/*

Change special settings per interface for neighbor detection.

anycast_delay

   Type: INTEGER
   Default: 100

More to be filled.

gc_stale_time

   Type: INTEGER
   Default: 60

More to be filled.

proxy_qlen

   Type: INTEGER
   Default: 64

More to be filled.

unres_qlen

   Type: INTEGER
   Default: 3

More to be filled.

app_solicit

   Type: INTEGER
   Default: 0

More to be filled.

locktime

   Type: INTEGER
   Default: 0

More to be filled.

retrans_time

   Type: INTEGER
   Default: 100

More to be filled.

base_reachable_time

   Type: INTEGER
   Default: 30

More to be filled.

mcast_solicit

   Type: INTEGER
   Default: 3

More to be filled.

ucast_solicit

   Type: INTEGER
   Default: 3

More to be filled

delay_first_probe_time

   Type: INTEGER
   Default: 5

More to be filled.

proxy_delay

   Type: INTEGER
   Default: 80

More to be filled.

route/*

Change global settings for routing.

flush

Removed in newer kernel releases - more to be filled.

gc_interval

   Type: INTEGER
   Default: 30

More to be filled.

gc_thresh

   Type: INTEGER
   Default: 1024

More to be filled.

mtu_expires

   Type: INTEGER
   Default: 600

More to be filled.

gc_elasticity

   Type: INTEGER
   Default: 0

More to be filled.

gc_min_interval

   Type: INTEGER
   Default: 5

More to be filled.

gc_timeout

   Type: INTEGER
   Default: 60

More to be filled.

min_adv_mss

   Type: INTEGER
   Default: 12

More to be filled.

max_size

   Type: INTEGER
   Default: 4096

More to be filled.