OpenSuSE11.0 configuration

From SixXS Wiki
Jump to: navigation, search

SixXS configuration for OpenSuSE 11.0

The generic examples in the FAQ do not cover the specific requirements for configuring a tunnel with OpenSuSE Linux. In fact the configuration suggested in the FAQ does not work at all. Maintainers have been notified several times, but they still assume that given instructions work for OpenSuSE.

The interface sit0 is a reserved name, always use the sit1 (or any number greater than 1) interface.

Depending on your settings, the SuSEFirewall2 might block IPv6 traffic. IPv6 can be enabled or disabled during installation. If you did not touch any settings, IPv6 is enabled after install.

Here a step by step guide for SuSE 11.0

Create tunnel

  1. Have the tunnel information from SixXS ready. The phrases <a phrase> refer to the email you got when your tunnel request was approved.
  2. Create a file named /etc/sysconf/network/ifcfg-sit1,
    Content of the file:
    STARTMODE='onboot'
    BOOTPROTO='static'
    TUNNEL='sit'
    TUNNEL_LOCAL_IPADDR='<Your IPv4>'
    TUNNEL_REMOTE_IPADDR='<SixXS IPv4>'
    IPADDR='<Your IPv6>/64'
    TUNNEL_TTL='64'
  3. Create a file named /etc/sysconfig/network/ifroute-sit1,
    Content of the file:
    default <SixXS IPv6>
  4. ifup-sit1
  5. Now the tunnel to SixXS should work

Subnet

TODO: The information in this section can be considered incomplete. For example there is no link between the tunnel information given by SixXS and radvd configuration.

Adding a subnet to the OpenSuSE machine requires the following steps

  1. Make sure that in the file /etc/sysconfig/sysctl the parameter IPV6_FORWARD is set to "yes"
  2. Add a fixed ipv6 address to the ethernet adapter connected to the local network
  3. Install radvd
  4. Edit /etc/radvd.conf and specify your local subnet
  5. Make sure that radvd starts on boot with insserv radvd