From owner-freebsd-net@freebsd.org Thu Jun 28 20:10:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4377B1025D6B for ; Thu, 28 Jun 2018 20:10:46 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E12118BA74 for ; Thu, 28 Jun 2018 20:10:45 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3051721EF9 for ; Thu, 28 Jun 2018 16:10:39 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Thu, 28 Jun 2018 16:10:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=SSEQqMQ0yYilkQgUVvAFnlvcLjWgl HqaPEIFKIK0tFw=; b=pIq320HQQIioPaHBEdO90OvKkOUFHQGO0OTS0JAw/wjPR GYI7WGiAderzbKwDuzNpnIp8qb1OzLmOMaw9oT5lx6O4LrNY2SY2RnUlJhfS9rim JPwfVnn72XRC+jpk3imCfkc8RMjFwmzgZG/7vOD02E8IcvuFAcRn04cr5fWLLEYa QeSA2SdpCG05SmPCLqTO5eTGE5AKyOYpIBokK5xmfTRkY2wGn/upWjOMgdYB8b+y EC/0yJKyBo2FwoW6Epcnn9VI/Rqdq3VLv4KXlX/pjDpkHViQpq0ObRcDw4m/R52w +nVJijId0wcukeSC06mM2Tcz6nIxnpYvWTrwm65ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=SSEQqM Q0yYilkQgUVvAFnlvcLjWglHqaPEIFKIK0tFw=; b=aPkfsBcgb7hTJfYWL3DZ+S oFArg+YBrOD2p+ClUFGZuTLcJx6e3Kzz6NQg/QJc2mZBgWyl7mRsx0XHPCdzf5b9 Kw4PWA+4UJOinihvVKeA//yCZumnZ8O4NTS3xQedxfHi4IB0GuGpVMotkISmx1uy nhVLDltaunjC8jBng6krB2I76laeHtJKfwBPCfWYtoLv+cMtLmzxxKiW25fBiZWd 8YBcpJvsWai9btN5+54a7PgR87jfEEbG35FiyUNOoLKxKw6mY/kFnr28bqcBKqwG VS7Wl/ON2NH+K0MJiYGyL/zfK7LEZojvZ5FgWX+YTnUTTA56CG8KYZVCHHf1AFQw == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id C55AB4339; Thu, 28 Jun 2018 16:10:38 -0400 (EDT) Message-Id: <1530216638.3576018.1423925808.069CD13B@webmail.messagingengine.com> From: Dave Cottlehuber To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-0d8ea36c Date: Thu, 28 Jun 2018 22:10:38 +0200 References: <201805311407.w4VE7SpX076936@pdx.rh.CN85.dnsmgr.net> Subject: Re: 'no route to host" for cloned lo1 iface 12.0-CURRENT r334376+56a973815425(master) amd64 In-Reply-To: <201805311407.w4VE7SpX076936@pdx.rh.CN85.dnsmgr.net> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 20:10:46 -0000 > > > > # invalid IP > > > > > > > > TLDR 10.241.0.0/16 is technically not a valid host IP but it has > > > obviously worked in the past. Just following this up, kmacy@'s recent commits resolved this - thanks! Finally, I came up with this, as a way of keeping the "symmetry" of the 0.0 and still if I read the RFC correctly, have a valid host IP: # jail networks cloned_interfaces="${cloned_interfaces} lo1" ifconfig_lo1="inet 10.241.0.0/15" --- should be a host mask x.1.0.0 ifconfig_lo1_aliases="inet 10.241.0.1-15/32" # ifconfig lo1 lo1: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 tentative inet 10.241.0.0 netmask 0xfffe0000 inet 10.241.0.1 netmask 0xffffffff inet 10.241.0.2 netmask 0xffffffff inet 10.241.0.3 netmask 0xffffffff inet 10.241.0.4 netmask 0xffffffff inet 10.241.0.5 netmask 0xffffffff inet 10.241.0.6 netmask 0xffffffff ... thanks everybody for the patches and the insight. FWIW the alternative (original breaking config) also works again: # jail networks cloned_interfaces="${cloned_interfaces} lo1" ifconfig_lo1_aliases="inet 10.241.0.1-15/15" A+ Dave