From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 31 20:07:03 2013 Return-Path: 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 9FEF082B for ; Sun, 31 Mar 2013 20:07:03 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADECD6D for ; Sun, 31 Mar 2013 20:07:03 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hj8so1093649wib.13 for ; Sun, 31 Mar 2013 13:07:02 -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=/oka+/42nPINq4WBU8w/kB6j/08/m5f0dwi0bzqjDbk=; b=gPqPeZW6wac8kAR1aswAZNI8EawkCguAbJTVQWj1Gr6HN2nqqEJaqrJdM3nMk4nEhb tw+l9oDo663YnDfPzoPwjP8zPgb6JJVMzfJsBgLxTc+LOZ4gIxN0gT36+4ofv5oVI2Dz THPCe99a9mOez75hh3+lEGuy/PXGaO+TlYQIcv9zOJAh+P7bA7olTUV6KxiSWKBZfDS2 U9YL9KcLNFW6V7bt1j5QkIVCF3JdB1+Gx4Tyrkb6AhTctKrjh3FqKTVglIxFurA0k3CW 41yIoJ1U+/20VjqBzJeP9f/Yowea/Gtc7L9sX4vmS7MNI+Aas98gOGpgmSo/hq1DBNeu dHCQ== MIME-Version: 1.0 X-Received: by 10.194.60.195 with SMTP id j3mr12478727wjr.33.1364760422403; Sun, 31 Mar 2013 13:07:02 -0700 (PDT) Received: by 10.216.139.72 with HTTP; Sun, 31 Mar 2013 13:07:02 -0700 (PDT) In-Reply-To: <44ip479wys.fsf@lowell-desk.lan> References: <20130331095730.7c8b5e55@papi> <44ip479wys.fsf@lowell-desk.lan> Date: Sun, 31 Mar 2013 23:07:02 +0300 Message-ID: Subject: Re: how to force all packets to be ipv4 not v6 From: Kimmo Paasiala To: Lowell Gilbert Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Mario Lobo , Aryeh Friedman , 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 20:07:03 -0000 If it's just for ssh(1) and scp(1) you can use ssh_config(5) to force the use of IPv4 based on the destination hostname. -Kimmo On Sun, Mar 31, 2013 at 10:43 PM, Lowell Gilbert < freebsd-lists@be-well.ilk.org> wrote: > Mario Lobo writes: > > > On Sun, 31 Mar 2013 01:20:17 -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? > >> _______________________________________________ > >> freebsd-hackers@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > >> To unsubscribe, send any mail to > >> "freebsd-hackers-unsubscribe@freebsd.org" > > > > A kick and dirty way would be to comment the line: > > > > options INET6 # IPv6 communications protocols > > > > from your kernel config and recompile. > > That breaks the "must have a ipv6 addr" requirement. > > The way to do this without completely disabling IPv6 used to be to > configure ipv6_prefer, but that appears to have been superseded by > ip6addrctl_policy. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >