ipv6
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | ipv6 [2014/11/24 01:14] (current) – created 0.0.0.0 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== IPv6 ====== | ||
| + | ===== SixXS ===== | ||
| + | * Handle: BRR3-SIXXS | ||
| + | |||
| + | ===== Setting up the gateway ===== | ||
| + | Add the following to the network configuration: | ||
| + | {{File|/ | ||
| + | config_br0=" | ||
| + | config_br1=" | ||
| + | |||
| + | depend_sixxs() { | ||
| + | need net.br0 | ||
| + | } | ||
| + | iptunnel_sixxs=" | ||
| + | mtu_sixxs=" | ||
| + | config_sixxs=" | ||
| + | routes_sixxs=" | ||
| + | </ | ||
| + | |||
| + | Create an init script for the sixxs tunnel, start it, and have it run on boot: | ||
| + | {{Root|< | ||
| + | cd /etc/init.d | ||
| + | ln -s net.lo net.sixxs | ||
| + | / | ||
| + | rc-update add net.sixxs default | ||
| + | </ | ||
| + | |||
| + | ==== Firewall ==== | ||
| + | Iptables only works on IPv4, so we will also need an IPv6 firewall, which is handled by < | ||
| + | |||
| + | Create an empty ruleset with: | ||
| + | {{Root|< | ||
| + | ip6tables-save > ip6tables.sixxs | ||
| + | </ | ||
| + | |||
| + | Edit the file, and then run the following commands to install the rules, and ensure the firewall starts up on boot: | ||
| + | {{Root|< | ||
| + | iptables-restore ip6tables.sixxs | ||
| + | / | ||
| + | / | ||
| + | rc-update add ip6tables default | ||
| + | </ | ||
| + | |||
| + | ==== Router Advertisements ==== | ||
| + | Install the Router Advertisement Daemon, which announces the subnet prefix for local machines to use when using stateless autoconfiguration: | ||
| + | * {{Package|direct=yes|net-misc/ | ||
| + | |||
| + | Set up < | ||
| + | {{File|/ | ||
| + | interface br0 { | ||
| + | AdvSendAdvert off; | ||
| + | }; | ||
| + | |||
| + | interface br1 { | ||
| + | AdvSendAdvert on; | ||
| + | AdvLinkMTU 1280; | ||
| + | MaxRtrAdvInterval 300; | ||
| + | |||
| + | prefix 2a01: | ||
| + | AdvOnLink on; | ||
| + | AdvAutonomous on; | ||
| + | }; | ||
| + | }; | ||
| + | |||
| + | #interface eth3 { | ||
| + | - | ||
| + | - | ||
| + | - | ||
| + | # | ||
| + | - | ||
| + | - | ||
| + | - | ||
| + | - }; | ||
| + | #}; | ||
| + | </ | ||
| + | |||
| + | Then start the service, and ensure it is stared on every boot: | ||
| + | {{Root|< | ||
| + | / | ||
| + | rc-update add radvd default | ||
| + | </ | ||
ipv6.txt · Last modified: by 0.0.0.0
