From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 09:50:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9191737B401 for ; Mon, 14 Jul 2003 09:50:49 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F5DF43FB1 for ; Mon, 14 Jul 2003 09:50:46 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19c6Uq-0007RA-00 for ; Mon, 14 Jul 2003 18:48:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19c6TI-0007KG-00 for ; Mon, 14 Jul 2003 18:46:40 +0200 From: othermark Date: Mon, 14 Jul 2003 16:46:40 +0000 (UTC) Lines: 43 Message-ID: References: <20030713105532.GA856@goku.kasby> X-Complaints-To: usenet@main.gmane.org User-Agent: slrn/0.9.7.4 (FreeBSD) Sender: news Subject: Re: IPv4/IPv6 dual-stack, IPv4-only and IPv6-only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 16:50:49 -0000 Comments in-line: In article <20030713105532.GA856@goku.kasby>, Francesco Casadei wrote: > > --UlVJffcvxoiEqYs2 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > I need to setup an IPv4/IPv6 dual-stack host, This works as default. Just ifconfig your ipv6 address. > IPv4/IPv6 dual-stack host connected to the 6bone through freenet6. Works with the freenet port. What this basically does is tunnel the the ipv6 traffic between two ipv4 hosts. > act as an IPv6 gateway for the other PC, configured as an IPv6-only host and > IPv4-only host by installing twice FreeBSD and using dual-boot. > > Is this possible to achieve? Does anybody know how to do this? Furthermo= Your setup is reasonable. You don't even need to dual boot the client behind the firewall, let it run dual/stack too. However, your setup will work the best if both the firewall and the client have publicly routeable ipv4 addresses. In other words NATing ipv4 via your firewall will probably break things. Ipv6 traffic from your client to your freenet6 enabled ipv6 router should work just fine. > re, > how can an application detect system's configuration (IPv4/IPv6, IPv4-only, > IPv6-only)? By looking at the configured address. Most applications that are enabled for ipv6 are capable of running both ipv4 or ipv6 by abstracting the ipaddress type and changing to use a few different function calls (inet_ntop and inet_pton mainly). --- Mark atkin901 at NOSPAM yahoo dot com (!wired)?(coffee++):(wired);