From owner-freebsd-net@freebsd.org Wed May 30 13:59:15 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 6EBA3EFF0BA for ; Wed, 30 May 2018 13:59:15 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B10438494B for ; Wed, 30 May 2018 13:59:14 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id n3-v6so4476096lfe.12 for ; Wed, 30 May 2018 06:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+rxeVO095/aGIxUJA3hzbbtIzfd88DyEeeZCmqdlXN0=; b=cAOYrCcx3PZThsX6f67E1G+kZx9uycTrKb6aoRSFacmq8dwT+JV4NUpQ1FGa5E6Hon CAVH6IwUpUuPZQJ0ULkt2u6SH1KXNKxwkBUZLLH8zapLzA65WG4FxYSiovDfHewXWX/g sX/gHLSt22qOOtZfTi9lIarGowshhaZj304uAnZ7+ZpKpO9HUoJeuhzNJ4XuOkM8Se6R h//DQkgZnB6hJDzb6W/CHBhiaLd4eSuw8KkRTHeME4V9yftSCTkvfaXcWLBHBW5ohZxa 2ERakduTtnCooKcsQZK5l9rSYmYoNtqRvIfb6W/EiPfQQ6qXQ+NpwOQx4tbYPFa3YigN sXIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+rxeVO095/aGIxUJA3hzbbtIzfd88DyEeeZCmqdlXN0=; b=f6BK53EUVzgcwnkvDTnSL/AwdNge2CFtohBtnefvvhcRPprVg4f17AOWf0Le1o7Hbt zip5DvWP3rmni3QWX6pJeBmmd7P22SZIX7VC7KiHT1tgESP2uo3c/MPvx11z4YKA/tB5 5zXR4b8RN5oIt+bAdt7/pL1FFUBXku9PKraHB/OG0YAPD4cnD1sf3FYNDvwnUlLIeEKf jkfY6xXk7R1hlirR5FQIsG2YjHWwUSr/muEQj94PlgBW3ieMJusnwDHuz7u0YnJ8k4Yg 90dfBDAr5lsBA63SEnl3c54NYfsf61WwfJUasZS36vT0viwQns7ulTGr50Jtpe0NxS4Z FFhQ== X-Gm-Message-State: ALKqPwe5Zy/CjTEOFRxszivQggq3sTMDbbGVBCpMPyKQ9gxyvMCfoZFu OwIhtlS+6DxrL2gdC8zZqURO7LJG+qGtkxKB2is= X-Google-Smtp-Source: ADUXVKJhyjtS53n3t2WBzHidqCnBIAhe9b7WK7k+74hl2G7Rhxmsm0TcDbIN/Vb46jhetvgcxZnMQFih8unOgRoc4Es= X-Received: by 2002:a19:c7c8:: with SMTP id x191-v6mr1755934lff.122.1527688753280; Wed, 30 May 2018 06:59:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:834c:0:0:0:0:0 with HTTP; Wed, 30 May 2018 06:59:12 -0700 (PDT) In-Reply-To: <1527687648.3634231.1390446568.54A9FDBF@webmail.messagingengine.com> References: <1527687648.3634231.1390446568.54A9FDBF@webmail.messagingengine.com> From: Andreas Nilsson Date: Wed, 30 May 2018 15:59:12 +0200 Message-ID: Subject: Re: 'no route to host" for cloned lo1 iface 12.0-CURRENT r334376+56a973815425(master) amd64 To: Dave Cottlehuber Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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: Wed, 30 May 2018 13:59:15 -0000 On Wed, May 30, 2018 at 3:40 PM, Dave Cottlehuber wrote= : > I have 10.241.0.0-15/16 bound to lo1 for jails, and I just realised it > doesn't work anymore. Boxes at $DAYJOB use the same config and work just > fine on 11.1R/amd64, otherwise I'd be fired.... this used to work ~ 1 mon= th > ago, both on my desktop, and my laptop, and now doesn't. > > =E2=80=8BHave I mis-configured something blindingly obvious here before I= embark > on a lengthy bisect? > > # grep -v \# /etc/rc.conf , elided > hostname=3Dakai > kld_list=3D"${kld_list} if_iwm if_axge if_ure if_ue" > ifconfig_ue0=3DDHCP > ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" > wlans_iwm0=3D"wlan0" > ifconfig_wlan0=3D"WPA DHCP" > ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" > create_args_wlan0=3D"country AT regdomain ETSI" > cloned_interfaces=3D"${cloned_interfaces} lo1" > ifconfig_lo1_aliases=3D"inet 10.241.0.0-15/16" > ip6addrctl_policy=3D"ipv4_prefer" > > # netstat -4rn > Internet: > Destination Gateway Flags Netif Expire > default 172.16.2.1 UGS ue0 > 10.241.0.0 link#4 UH lo1 > 10.241.0.1 link#4 UH lo1 > 10.241.0.2 link#4 UH lo1 > 10.241.0.3 link#4 UH lo1 > 10.241.0.4 link#4 UH lo1 > 10.241.0.5 link#4 UH lo1 > 10.241.0.6 link#4 UH lo1 > 10.241.0.7 link#4 UH lo1 > 10.241.0.8 link#4 UH lo1 > 10.241.0.9 link#4 UH lo1 > 10.241.0.10 link#4 UH lo1 > 10.241.0.11 link#4 UH lo1 > 10.241.0.12 link#4 UH lo1 > 10.241.0.13 link#4 UH lo1 > 10.241.0.14 link#4 UH lo1 > 10.241.0.15 link#4 UH lo1 > 127.0.0.1 link#1 UH lo0 > 172.16.2.0/24 link#2 U ue0 > 172.16.2.92 link#3 UHS lo0 > 172.16.2.93 link#2 UHS lo0 > > # ifconfig > lo0: flags=3D8049 metric 0 mtu 16384 > options=3D680003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=3D21 > groups: lo > ue0: flags=3D8843 metric 0 mtu 15= 00 > options=3D8000b > ether 74:da:38:d8:fe:a7 > inet6 fe80::76da:38ff:fed8:fea7%ue0 prefixlen 64 scopeid 0x2 > inet 172.16.2.93 netmask 0xffffff00 broadcast 172.16.2.255 > nd6 options=3D23 > media: Ethernet autoselect (1000baseT ) > status: active > wlan0: flags=3D8943 metri= c > 0 mtu 1500 > ether 00:28:f8:d0:91:52 > inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x3 > inet 172.16.2.92 netmask 0xffffff00 broadcast 172.16.2.255 > nd6 options=3D23 > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g > status: associated > ssid skunkwerks channel 6 (2437 MHz 11g) bssid 80:2a:a8:5a:bd:3f > regdomain ETSI country AT authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 10 scanvalid 60 > protmode CTS wme roaming MANUAL > groups: wlan > lo1: flags=3D8049 metric 0 mtu 16384 > options=3D680003 > inet 10.241.0.0 netmask 0xffff0000 > 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 > inet 10.241.0.7 netmask 0xffffffff > inet 10.241.0.8 netmask 0xffffffff > inet 10.241.0.9 netmask 0xffffffff > inet 10.241.0.10 netmask 0xffffffff > inet 10.241.0.11 netmask 0xffffffff > inet 10.241.0.12 netmask 0xffffffff > inet 10.241.0.13 netmask 0xffffffff > inet 10.241.0.14 netmask 0xffffffff > inet 10.241.0.15 netmask 0xffffffff > nd6 options=3D29 > groups: lo > bridge0: flags=3D8843 metric 0 mt= u > 1500 > description: vm-public > ether 02:63:d4:40:fe:00 > nd6 options=3D1 > groups: bridge > id 00:00:00:00:00:00 priority 0 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 > member: wlan0 flags=3D143 > ifmaxaddr 0 port 3 priority 128 path cost 370370 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > Hello, could you specify what exactly isn't working? How does the bridge fit into this setup? Best regards Andreas