Difference between revisions of "IPv6 Route: FAQ IPv6 Route"

From OnnoWiki
Jump to navigation Jump to search
(New page: 7.6. FAQ for IPv6 routes 7.6.1. Support of an IPv6 default route One idea of IPv6 was a hierachical routing, therefore only less routing entries are needed in routers. There are some iss...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
7.6. FAQ for IPv6 routes
+
==Dukungan untuk route default IPv6==
7.6.1. Support of an IPv6 default route
 
  
One idea of IPv6 was a hierachical routing, therefore only less routing entries are needed in routers.
+
Salah satu idea dari IPv6 adalah routing hierarkis, oleh karenanya akan lebih sedikit routing entri di butuhkan di router.
 +
Ada beberapa isu di kernel linux saat ini
  
There are some issues in current Linux kernels:
 
7.6.1.1. Clients (not routing any packet!)
 
  
Client can setup a default route like prefix “::/0”, they also learn such route on autoconfiguration e.g. using radvd on the link like following example shows:
+
===Client (tidak merouting paket)===
  
# ip -6 route show | grep ^default
+
Client dapat mensetup default route menggunakan prefix seperti “::/0”. Client juga dapat belajar route tersebut menggunakan autoconfiguration seperti menggunakan radvd di link seperti contoh berikut
default via fe80::212:34ff:fe12:3450 dev eth0 proto kernel metric 1024 expires
 
¬ 29sec mtu 1500 advmss 1440
 
  
7.6.1.2. Routers in case of packet forwarding
+
# ip -6 route show | grep ^default
 +
default via fe80::212:34ff:fe12:3450 dev eth0 proto kernel metric 1024 expires 29sec mtu 1500 advmss 1440
  
Older Linux kernel (at least <= 2.4.17) don't support default routes. You can set them up, but the route lookup fails when a packet should be forwarded (normal intention of a router). If you're still using such older kernel, “default routing” can be setup using the currently used global address prefix “2000::/3”.
+
===Router dalam packet forwarding===
  
Note: take care about default routing without address filtering on edge routers. Otherwise unwanted multicast or site-local traffic can leave the edge.
+
Di kernel Linux yang lama (<=2.4.17) tidak mendukung default route. Kita dapay menset default route, tapi pencarian route juga gagal saat paket harus di forward ke default. Untuk kernel lama, "routing default" dapat di set menggunakan global address prefix seperti “2000::/3”.
 +
 
 +
Catatan: berhati-hari dengan default routing tanpa address filtering di edge router. Karena mungkin multicast atau traffic local dapat saja meninggalkan edge router.

Latest revision as of 08:40, 23 May 2013

Dukungan untuk route default IPv6

Salah satu idea dari IPv6 adalah routing hierarkis, oleh karenanya akan lebih sedikit routing entri di butuhkan di router. Ada beberapa isu di kernel linux saat ini


Client (tidak merouting paket)

Client dapat mensetup default route menggunakan prefix seperti “::/0”. Client juga dapat belajar route tersebut menggunakan autoconfiguration seperti menggunakan radvd di link seperti contoh berikut

# ip -6 route show | grep ^default
default via fe80::212:34ff:fe12:3450 dev eth0 proto kernel metric 1024 expires 29sec mtu 1500 advmss 1440

Router dalam packet forwarding

Di kernel Linux yang lama (<=2.4.17) tidak mendukung default route. Kita dapay menset default route, tapi pencarian route juga gagal saat paket harus di forward ke default. Untuk kernel lama, "routing default" dapat di set menggunakan global address prefix seperti “2000::/3”.

Catatan: berhati-hari dengan default routing tanpa address filtering di edge router. Karena mungkin multicast atau traffic local dapat saja meninggalkan edge router.