Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
linux:ipv6 [2009/02/15 17:26] a created |
linux:ipv6 [2012/10/27 13:13] (current) a [Basic configuration (Debian/ubuntu)] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== IPv6 in Linux ====== | ====== IPv6 in Linux ====== | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | ===== IPv4-IPv6 Tunnels ===== | ||
| + | **HE IPv6 Tunnel Broker http:// | ||
| + | <code |/ | ||
| + | auto he6to4 | ||
| + | iface he6to4 inet6 v4tunnel | ||
| + | address xxx: | ||
| + | netmask 64 | ||
| + | gateway xxx: | ||
| + | endpoint 216.66.84.46 | ||
| + | local A.B.C.D | ||
| + | ttl 64 # needed because of a tunneling situation | ||
| + | </ | ||
| + | |||
| + | **SIXXS Tunnel Broker http:// | ||
| + | FIXME | ||
| + | |||
| + | ===== Basic configuration (Debian/ | ||
| + | <code |/ | ||
| + | auto ethX | ||
| + | iface ethX inet6 static | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | <code |/ | ||
| + | net.ipv6.conf.default.forwarding=1 | ||
| + | </ | ||
| + | |||
| + | ===== Basic configuration (RHEL/ | ||
| + | <code |f / | ||
| + | NETWORKING=yes | ||
| + | NETWORKING_IPV6=yes | ||
| + | HOSTNAME=linux | ||
| + | </ | ||
| + | |||
| + | <code |f / | ||
| + | IPV6INIT=yes | ||
| + | IPV6ADDR=< | ||
| + | IPV6_DEFAULTGW=< | ||
| + | </ | ||
| + | |||
| + | Save and close the file. Restart networking: | ||
| + | # service network restart | ||
| + | |||
| + | ===== Router adv ===== | ||
| + | **Router side** | ||
| + | <code | / | ||
| + | interface eth0 | ||
| + | { | ||
| + | AdvSendAdvert on; | ||
| + | IgnoreIfMissing on; | ||
| + | MinRtrAdvInterval 3; | ||
| + | MaxRtrAdvInterval 30; | ||
| + | AdvDefaultPreference low; | ||
| + | AdvHomeAgentFlag off; | ||
| + | AdvManagedFlag | ||
| + | # | ||
| + | |||
| + | prefix 2001: | ||
| + | { | ||
| + | AdvOnLink on; | ||
| + | AdvAutonomous off; | ||
| + | AdvRouterAddr off; | ||
| + | }; | ||
| + | RDNSS 2001: | ||
| + | { | ||
| + | AdvRDNSSPreference 8; | ||
| + | AdvRDNSSOpen off; | ||
| + | }; | ||
| + | }; | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Router dibbler dhcpv6 ===== | ||
| + | **Router side** | ||
| + | <code | / | ||
| + | |||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | iface eth1 { | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | t1 1800-2000 | ||
| + | t2 2700-3000 | ||
| + | | ||
| + | | ||
| + | |||
| + | class { | ||
| + | pool 2001: | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||

