mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-18 15:46:55 +02:00
Highlight IPv6 Changes in /etc/network/interfaces example
This commit is contained in:
parent
f9c920dc87
commit
86bca34b4a
@ -345,9 +345,9 @@ iface eth1 inet static
|
|||||||
network 172.20.1.0
|
network 172.20.1.0
|
||||||
broadcast 172.20.1.255
|
broadcast 172.20.1.255
|
||||||
|
|
||||||
iface eth1 inet6 static
|
<emphasis role="bold">iface eth1 inet6 static
|
||||||
address 2002:ce7c:92b4:1::1
|
address 2002:ce7c:92b4:1::1
|
||||||
netmask 64
|
netmask 64 </emphasis>
|
||||||
|
|
||||||
auto eth2
|
auto eth2
|
||||||
iface eth2 inet static
|
iface eth2 inet static
|
||||||
@ -355,10 +355,10 @@ iface eth2 inet static
|
|||||||
netmask 255.255.255.255
|
netmask 255.255.255.255
|
||||||
up ip route add 206.124.146.177/32 dev eth2
|
up ip route add 206.124.146.177/32 dev eth2
|
||||||
|
|
||||||
iface eth2 inet6 static
|
<emphasis role="bold">iface eth2 inet6 static
|
||||||
address 2002:ce7c:92b4:2::1
|
address 2002:ce7c:92b4:2::1
|
||||||
netmask 64
|
netmask 64
|
||||||
|
</emphasis>
|
||||||
auto eth3 eth3:0 eth3:1 eth3:2
|
auto eth3 eth3:0 eth3:1 eth3:2
|
||||||
iface eth3 inet static
|
iface eth3 inet static
|
||||||
address 206.124.146.176
|
address 206.124.146.176
|
||||||
@ -381,16 +381,16 @@ iface eth3:2 inet static
|
|||||||
netmask 255.255.255.0
|
netmask 255.255.255.0
|
||||||
broadcast 206.124.146.255
|
broadcast 206.124.146.255
|
||||||
|
|
||||||
auto sit1
|
<emphasis role="bold">auto sit1
|
||||||
iface sit1 inet6 v4tunnel
|
iface sit1 inet6 v4tunnel
|
||||||
address 2002:ce7c:92b4::1
|
address 2002:ce7c:92b4::1
|
||||||
netmask 64
|
netmask 64
|
||||||
endpoint 192.88.99.1
|
endpoint 192.88.99.1
|
||||||
local 206.124.146.180
|
local 206.124.146.180
|
||||||
gateway ::192.88.99.1
|
gateway ::192.88.99.1
|
||||||
post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding</programlisting>
|
post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding</emphasis></programlisting>
|
||||||
|
|
||||||
<para> That file produces the following IPv6 network.</para>
|
<para>That file produces the following IPv6 network.</para>
|
||||||
|
|
||||||
<graphic align="center" fileref="images/Network2009b.png" />
|
<graphic align="center" fileref="images/Network2009b.png" />
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user