Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux:ipv6 [2009/03/31 18:07]
a + Building an IPv6 router with GNU/LinuxBuilding an IPv6 router with GNU/Linux
linux:ipv6 [2012/10/27 13:12]
a [IPv4-IPv6 Tunnels]
Line 1: Line 1:
 ====== IPv6 in Linux ====== ====== IPv6 in Linux ======
    * [[http://lucastomicki.net/ipv6.router.php|Building an IPv6 router with GNU/Linux]]    * [[http://lucastomicki.net/ipv6.router.php|Building an IPv6 router with GNU/Linux]]
 +   * [[http://www.gentoo.org/doc/en/ipv6.xml|Gentoo IPv6 Router Guide]] - good notes on dhcp/dns
  
 +===== IPv4-IPv6 Tunnels =====
 +**HE IPv6 Tunnel Broker http://tunnelbroker.net/**
 +<code |/etc/network/interfaces>
 +auto he6to4
 +iface he6to4 inet6 v4tunnel
 +  address xxx:yyy:uuu:zzz::2
 +  netmask 64
 +  gateway xxx:yyy:uuu:zzz::1
 +  endpoint 216.66.84.46
 +  local A.B.C.D      # needed if you have multiple external Interfaces
 +  ttl 64             # needed because of a tunneling situation
 +</code>
 +
 +**SIXXS Tunnel Broker http://www.sixxs.net**
 +FIXME
 +
 +===== Basic configuration (Debian/ubuntu) =====
 +<code |f /etc/network/interfaces>
 +auto ethX
 +iface ethX inet6 static
 +   address xxxx:yyyy:uuuu:::1
 +   netmask 64
 +</code>
 +
 +<code |f /etc/sysctl.conf>
 +net.ipv6.conf.default.forwarding=1
 +</code>
 +
 +===== Basic configuration (RHEL/Fedora/CentOS) =====
 +<code |f /etc/sysconfig/network>
 +NETWORKING=yes
 +NETWORKING_IPV6=yes
 +HOSTNAME=linux
 +</code>
 +
 +<code |f /etc/sysconfig/network-scripts/ifcfg-eth0>
 +IPV6INIT=yes
 +IPV6ADDR=<IPv6-IP-Address>
 +IPV6_DEFAULTGW=<IPv6-IP-Gateway-Address>
 +</code>
 +
 +Save and close the file. Restart networking:
 +   # service network restart
 +
 +===== Router adv =====
 +**Router side**
 +<code | /etc/radvd.conf>
 +interface eth0
 +{
 +        AdvSendAdvert on;
 +        IgnoreIfMissing on;
 +        MinRtrAdvInterval 3;
 +        MaxRtrAdvInterval 30;
 +        AdvDefaultPreference low;
 +        AdvHomeAgentFlag off;
 +        AdvManagedFlag  on;
 +#       AdvOtherConfigFlag on;
 +
 +        prefix 2001:15c0:1000:1036::/64
 +        {
 +                AdvOnLink on;
 +                AdvAutonomous off;
 +                AdvRouterAddr off;
 +        };
 +        RDNSS 2001:15c0:1000:1036::1 2001:15c0:ffff:f::12
 +        {
 +                AdvRDNSSPreference 8;
 +                AdvRDNSSOpen off;
 +        };
 +};
 +
 +
 +</code>
 +
 +===== Router dibbler dhcpv6 =====
 +**Router side**
 +<code | /etc/dibbler/server.conf>
 +
 + log-level 1
 + log-mode short
 + preference 0
 +
 + iface eth1 {
 + option dns-server 2001:15c0:ffff:f::12,2001:15c0:1000:1036::1
 + option domain net.lan
 + option time-zone  CET
 + option lifetime 500
 + t1 1800-2000
 + t2 2700-3000
 + prefered-lifetime 3600
 + valid-lifetime 7200
 +
 + class {
 +   pool 2001:15c0:1000:1036::1/64
 + }
 +
 +}
 +</code>
linux/ipv6.txt ยท Last modified: 2012/10/27 13:13 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready