Router:Linux: Difference between revisions
Appearance
Content deleted Content added
Incorporated text from AA-Asterisk wiki |
IPv6 configuration |
||
| Line 74: | Line 74: | ||
You can check connectivity with a cron job, and add a stanza to /etc/network/interfaces to connect at boot. |
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 == |
== PPP == |
||