From owner-freebsd-hackers@FreeBSD.ORG  Sun Mar 31 05:44:33 2013
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 4FE58E8;
 Sun, 31 Mar 2013 05:44:33 +0000 (UTC)
 (envelope-from aryeh.friedman@gmail.com)
Received: from mail-da0-x234.google.com (mail-da0-x234.google.com
 [IPv6:2607:f8b0:400e:c00::234])
 by mx1.freebsd.org (Postfix) with ESMTP id 2813AAA3;
 Sun, 31 Mar 2013 05:44:33 +0000 (UTC)
Received: by mail-da0-f52.google.com with SMTP id f10so677818dak.39
 for <multiple recipients>; Sat, 30 Mar 2013 22:44:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:x-received:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=hPJqtOvX0uswglVdbHM5DaLX6Lis5GnbqrS5GkcuNKk=;
 b=iBitPwHCTDqciRVzFvclJPs1ivfmMZp1OXktQ2hDr5hKdYSG3KIEMCFUFXd6q6GBW1
 9s3x7KcxpLGqCIjUX26h8tWjgB369zUM4knOMs88gHUom7N/rI1dPm1V7Zo795pLAuXg
 s5Ty6xqe4JxsV0zxeUrujJDwKGAX1f7rnTF8cV2zNKX18s9BsarWRoYHEbyyG/NK+TtT
 x31uCTa5yO80Qzog2qJhQMIIZT6WHl6O1nHTlulwqBWZnAUuUuF+x3ot/VfoXqMPnIf0
 B96fyzRBm4vu/ZVraMGhwEV4R0a3EGsiOE3hOVF278JslqMLy28v/uHI4VFb8A6uOZ8w
 BfbQ==
MIME-Version: 1.0
X-Received: by 10.66.162.229 with SMTP id yd5mr13064108pab.4.1364708672560;
 Sat, 30 Mar 2013 22:44:32 -0700 (PDT)
Received: by 10.68.52.233 with HTTP; Sat, 30 Mar 2013 22:44:32 -0700 (PDT)
In-Reply-To: <20130331053720.GD1548@glenbarber.us>
References: <CAGBxaXnwzFKRi4H-41ZVZSHYB5XxB-uC2dFoqvyW28FXfyF63g@mail.gmail.com>
 <20130331053720.GD1548@glenbarber.us>
Date: Sun, 31 Mar 2013 01:44:32 -0400
Message-ID: <CAGBxaXk8V98k3__V8NMVt4SeCh9pZgh39LKTuo-P2kXZK5N+qQ@mail.gmail.com>
Subject: Re: how to force all packets to be ipv4 not v6
From: Aryeh Friedman <aryeh.friedman@gmail.com>
To: Glen Barber <gjb@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Cc: FreeBSD Mailing List <freebsd-hackers@freebsd.org>
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
 <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Mar 2013 05:44:33 -0000

On Sun, Mar 31, 2013 at 1:37 AM, Glen Barber <gjb@freebsd.org> wrote:

> freebsd-net@ might have been a better choice, but...
>
> On Sun, Mar 31, 2013 at 01:20:17AM -0400, Aryeh Friedman wrote:
> > I have a host that for ISP reasons must have a ipv6 addr as well as the
> > ipv4 but the ISP does not offer external ipv6 routing but all the
> commanes
> > (ssh, ftp, etc.) default to ipv6 and need special options to use 4 is
> there
> > anyway to force them to always use 4?
>
> Which version of FreeBSD?
>

9.1


>
> See rc.conf(5) for 'ip6addrctl_policy'; I think this is what you're
> looking for.
>
> Glen
>
>