Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:ipv6 [2009/05/25 00:35] 127.0.0.1 external edit |
linux:ipv6 [2012/10/27 13:13] (current) a [Basic configuration (Debian/ubuntu)] |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== IPv4-IPv6 Tunnels ===== | ===== IPv4-IPv6 Tunnels ===== | ||
**HE IPv6 Tunnel Broker http:// | **HE IPv6 Tunnel Broker http:// | ||
- | <code |f / | + | <code |/ |
auto he6to4 | auto he6to4 | ||
iface he6to4 inet6 v4tunnel | iface he6to4 inet6 v4tunnel | ||
Line 19: | Line 19: | ||
FIXME | FIXME | ||
- | ===== Basic configuration ===== | + | ===== Basic configuration |
- | <code |f / | + | <code |/ |
auto ethX | auto ethX | ||
iface ethX inet6 static | iface ethX inet6 static | ||
Line 27: | Line 27: | ||
</ | </ | ||
- | <code |f / | + | <code |/ |
net.ipv6.conf.default.forwarding=1 | 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 | ||
- | <code |f / | + | ===== Router adv ===== |
+ | **Router side** | ||
+ | <code | / | ||
interface eth0 | interface eth0 | ||
{ | { | ||
- | AdvSendAdvert on; | + | |
- | | + | |
- | | + | MinRtrAdvInterval 3; |
- | | + | MaxRtrAdvInterval 30; |
+ | AdvDefaultPreference low; | ||
+ | AdvHomeAgentFlag off; | ||
+ | AdvManagedFlag | ||
+ | # | ||
+ | |||
+ | | ||
+ | { | ||
+ | | ||
+ | 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: | ||
+ | } | ||
+ | |||
+ | } | ||
+ | </ |