Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 12:13:45 +1000
From:      "Merlin" <robert@quantum-radio.net.au>
To:        "freebsd-net" <freebsd-net@freebsd.org>
Subject:   Trying to get the IPv6 stf0 interface syntax right
Message-ID:  <018c01c1d922$df055a70$1a6001cb@chalmers.com.au>

next in thread | raw e-mail | index | archive | help

I'm trying to get the options in rc.conf right for the stf0 interface for
IPv6/6to4 stuff

I'm hoping that someone out there is somewhat more expert in this than I.

It all works I might say. ping6 and all that - but I'm sure it's not set up
right?
I have two servers with one connected to the internet on a permanent
modem/ppp dialup.

[ruby.chalmers.com.au] ------ [ nanguo.chalmers.com.au]------[ppp internet]
         FreeBSd-5.0                       FreeBSD-4.5

............................................................................
..............................................
( the relevant bits for ruby rc.conf)
ifconfig_ed0="inet 203.1.96.6  netmask 255.255.255.0"
ifconfig_stf0="inet6 2002:cb01:6006:1:0040:05ff:fe4e:a982 prefixlen 16
alias"

# tested options ??
#ifconfig_stf0="inet6 2002:cb01:6006:0001::1 prefixlen 16 alias"
#ifconfig_stf0="inet6 2002:cb01:6006::1 prefixlen 16 alias"
#ifconfig_stf0="inet6 2002:cb01:6006:0:240:5ff:fe4e:a982 prefixlen 16 alias"

hostname="ruby.chalmers.com.au"
named_enable="YES"
### IPv6 options: ###
ipv6_enable="YES"               # Set to YES to set up for IPv6.
ipv6_network_interfaces="auto"  # List of network interfaces (or "auto").
ipv6_gateway_enable="NO"        # Set to YES if this host will be a gateway.
#ipv6_prefix_ed0="2002:cb01:6006:0"
ipv6_static_routes="default"
ipv6_route_default="default 2002:c058:6301::"
stf_interface_ipv4addr="203.1.96.6"
#stf_interface_ipv6_ifid="0:0:0:1"
#=================================================
#stf_interface_ipv4addr=""      # Local IPv4 addr for 6to4 IPv6 over IPv4
                                # tunneling interface. Specify this entry
                                # to enable 6to4 interface.
#stf_interface_ipv4plen="0"     # Prefix length for 6to4 IPv4 addr,
                                # to limit peer addr range. Effective value
                                # is 0-31.
stf_interface_ipv6_ifid="0:0:0:1"       # IPv6 interface id for stf0.
                                                        # If you like, you
can set "AUTO" for this.
#stf_interface_ipv6_slaid="0000"        # IPv6 Site Level Aggregator for
stf0
#ipv6_faith_prefix="NO"         # Set faith prefix to enable a FAITH
                                # IPv6-to-IPv4 TCP translator.  You also
need
                                # faithd(8) setup.
=======================================================


However, the ifconfig for the first server, nangou, is this
ifconfig_stf0="inet6 2002:cb01:6005::1 prefixlen 16 alias"

and it works fine.


Thanks for any ideas anyone may have,
Regards
Robert

---
Quantum Radio: World Music with a difference.
http://quantum-radio.net/
Now Playing: Leningrad Symphony Orchestra - Prelude Khoantchina




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018c01c1d922$df055a70$1a6001cb>