Changes

Jump to: navigation, search

Router:Linux

648 bytes added, 13:42, 22 January 2013
IPv6 configuration
 
You can check connectivity with a cron job, and add a stanza to /etc/network/interfaces to connect at boot.
 
== IPv6 ==
 
* Assign your /64 to the ''inside'' interface of your router - eth1 in this example.
 
<pre>
ifconfig eth1 inet6 add 2001:8b0:blah/64
</pre>
 
* Enable ipv6 forwarding by adding to /etc/sysctl.conf:
 
<pre>
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.forwarding=1
</pre>
 
* If you don't want to reboot, also push these values into /proc/sys/etc.:
 
<pre>
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
</pre>
 
In theory, "default" should apply to all interfaces created later, while "all" should apply to all interfaces that exist now. This doesn't always seem to be the case.
 
== PPP ==
4
edits

Navigation menu