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...)
 
Line 1: Line 1:
 
7.6. FAQ for IPv6 routes
 
7.6. FAQ for IPv6 routes
7.6.1. Support of an IPv6 default route
+
 
 +
==Dukungan untuk route default IPv6==
  
 
One idea of IPv6 was a hierachical routing, therefore only less routing entries are needed in routers.
 
One idea of IPv6 was a hierachical routing, therefore only less routing entries are needed in routers.
  
 
There are some issues in current Linux kernels:
 
There are some issues in current Linux kernels:
 +
 
7.6.1.1. Clients (not routing any packet!)
 
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 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:
  
# ip -6 route show | grep ^default
+
# ip -6 route show | grep ^default
default via fe80::212:34ff:fe12:3450 dev eth0 proto kernel metric 1024 expires
+
default via fe80::212:34ff:fe12:3450 dev eth0 proto kernel metric 1024 expires 29sec mtu 1500 advmss 1440
¬ 29sec mtu 1500 advmss 1440
 
  
 
7.6.1.2. Routers in case of packet forwarding
 
7.6.1.2. Routers in case of packet forwarding

Revision as of 08:13, 23 May 2013

7.6. FAQ for IPv6 routes

Dukungan untuk route default IPv6

One idea of IPv6 was a hierachical routing, therefore only less routing entries are needed in routers.

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:

# 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

7.6.1.2. Routers in case of packet forwarding

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”.

Note: take care about default routing without address filtering on edge routers. Otherwise unwanted multicast or site-local traffic can leave the edge.