From owner-freebsd-net Sun Mar 31 18:12:10 2002 Delivered-To: freebsd-net@freebsd.org Received: from nanguo.chalmers.com.au (nanguo.chalmers.com.au [203.1.96.5]) by hub.freebsd.org (Postfix) with ESMTP id 6199F37B41B for ; Sun, 31 Mar 2002 18:11:42 -0800 (PST) Received: from carbon (carbon.chalmers.com.au [203.1.96.26]) by nanguo.chalmers.com.au (8.11.6/8.11.6) with SMTP id g312ERs12435 for ; Mon, 1 Apr 2002 12:14:27 +1000 (EST) (envelope-from robert@quantum-radio.net.au) Message-ID: <018c01c1d922$df055a70$1a6001cb@chalmers.com.au> Reply-To: "Merlin" From: "Merlin" To: "freebsd-net" Subject: Trying to get the IPv6 stf0 interface syntax right Date: Mon, 1 Apr 2002 12:13:45 +1000 Organization: Quantum Radio MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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