diff --git a/docs/6to4.xml b/docs/6to4.xml index 000a915d6..2e8425ef8 100644 --- a/docs/6to4.xml +++ b/docs/6to4.xml @@ -65,7 +65,7 @@ Shorewall6 4.2.4 or later.
- Configuring IPv6 + Configuring IPv6 using my script I have created an init script to make the job of @@ -274,6 +274,126 @@ ursa:~ #
+
+ Configuring IPv6 the Debian Way + + I rebuilt the firewall using Debian and decided to configure IPv6 + using /etc/network/interfaces. + + When I installed Debian Lenny, the network interfaces were + reunmbered as follows: + + eth1 is the interface to my local network (both wired and + wireless). eth2 goes to my DMZ which holds a single server. Here is a + diagram of the IPv4 network: + + + Interface Renaming + + + + + Old + Configuration + + New + Configuration + + + + eth0 (Avvanta Interface) + + eth3 + + + + eth3 (Comcast Interface) + + eth0 + + + + eth2 (Local Interface) + + eth1 + + + + eth4 (DMZ Interface) + + eth2 + + + +
+ + Here is the /etc/shorewall/interfaces file: + + auto lo +iface lo inet loopback + +auto eth0 +iface eth0 inet dhcp + hwaddress ether 00:11:85:89:da:9b + +auto eth1 +iface eth1 inet static + address 172.20.1.254 + netmask 255.255.255.0 + network 172.20.1.0 + broadcast 172.20.1.255 + +iface eth1 inet6 static + address 2002:ce7c:92b4:1::1 + netmask 64 + +auto eth2 +iface eth2 inet static + address 206.124.146.176 + netmask 255.255.255.255 + up ip route add 206.124.146.177/32 dev eth2 + +iface eth2 inet6 static + address 2002:ce7c:92b4:2::1 + netmask 64 + +auto eth3 eth3:0 eth3:1 eth3:2 +iface eth3 inet static + address 206.124.146.176 + netmask 255.255.255.0 + network 206.124.146.0 + broadcast 206.124.146.255 + +iface eth3:0 inet static + address 206.124.146.178 + netmask 255.255.255.0 + broadcast 206.124.146.255 + +iface eth3:1 inet static + address 206.124.146.179 + netmask 255.255.255.0 + broadcast 206.124.146.255 + +iface eth3:2 inet static + address 206.124.146.180 + netmask 255.255.255.0 + broadcast 206.124.146.255 + +iface sit1 inet6 v4tunnel + address 2002:ce7c:92b4::1 + netmask 64 + endpoint 192.88.99.1 + local 206.124.146.180 + gateway ::192.88.99.1 + post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding + + This produces the following IPv6 network. + + + + +
+
Configuring Shorewall diff --git a/docs/images/Network2009a.dia b/docs/images/Network2009a.dia new file mode 100644 index 000000000..9ebbd5269 Binary files /dev/null and b/docs/images/Network2009a.dia differ diff --git a/docs/images/Network2009a.png b/docs/images/Network2009a.png new file mode 100644 index 000000000..8b4230156 Binary files /dev/null and b/docs/images/Network2009a.png differ diff --git a/docs/images/Network2009b.dia b/docs/images/Network2009b.dia new file mode 100644 index 000000000..784468658 Binary files /dev/null and b/docs/images/Network2009b.dia differ diff --git a/docs/images/Network2009b.png b/docs/images/Network2009b.png new file mode 100644 index 000000000..5e728fa93 Binary files /dev/null and b/docs/images/Network2009b.png differ