From owner-freebsd-net@freebsd.org Wed Sep 14 14:55:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38D92BDA2C3 for ; Wed, 14 Sep 2016 14:55:19 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (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 F2C6A1FC9 for ; Wed, 14 Sep 2016 14:55:18 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id 2so1581474oif.2 for ; Wed, 14 Sep 2016 07:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=LAlp6upc6XxOIegGJqT+TPGPD3+26hLpR+3fKmTcQfM=; b=XPfxE6ox0xCr3GoJG67g4fATpiWewtvmTVVGGnz9pCBHKU4gp5BD6PeEErObrQCi4x kzqd1/5mahERWNVe42aT6KJxGRYtqgCsdG3SPjax++3LCM/HjyUAbCy1oTSVp+I4qBVu VpWxnUNUi6QIix9bQy9CRR0S/LrKsSdfyxsl7NXqNZ47pfJ6/bHJgCS6T1qcTP7sJcXc 4vqojD88h5DesNO/M7b4+ArqbjwbiXqYdJ8KjtwovIOO/Wa6mBh6SHU2wNNJP7DfUTYI dveFt/K8KhopZ8gicSJlp3Jlf6Wa/rljw8Z4G/9pBzLOjc/R38rtc6Bnb7YA8GAKgT+S oXMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=LAlp6upc6XxOIegGJqT+TPGPD3+26hLpR+3fKmTcQfM=; b=Dsv1Gnj61l2/zh81dCkOiiLNqe+osgT3X9bOUfv0o9hqlxdEBr4qxSQBO/BEMaR9S6 GhIjrH0oHCrqbJiA3+Nm8lLUmO1PTohtYO9LsOP3//4k9QcKJENWh8w8cM4kkatne0VK 8TIsTmtjWJeI8MkEBULG+xCqa7W9mOJB9q4o5LL4mfxJ2n2h+eX68RFRxlikvZmZs8Mg i82QjzQNkuIVZ650zNoFMXCjkGKh2DYhz9gzLTMTaebgBxDT7UhGsNX+DfZDipD1DtI4 0vzasG5w+zzEzKWNk9g1INl/tmfbdfWtScYXARaS3GtPJafh6hSb6Mwdzql0Xog1yZWs /RoA== X-Gm-Message-State: AE9vXwNbvdb1U+MblCh7947gGJ5VWCKvXtob6D08B7n+trobgvnVcxPDc9nUznKzb0xlDQp3e/P9KTkNW6zBeg== X-Received: by 10.202.80.15 with SMTP id e15mr2704812oib.75.1473864918311; Wed, 14 Sep 2016 07:55:18 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.202.71.11 with HTTP; Wed, 14 Sep 2016 07:55:17 -0700 (PDT) In-Reply-To: References: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> From: Alan Somers Date: Wed, 14 Sep 2016 08:55:17 -0600 X-Google-Sender-Auth: LLfMJvybOfbAjaM2-0Z4sN2kaQk Message-ID: Subject: Re: =ping: sendto: Can't assign requested address= in fib spaces To: zjef@mail2tor.com Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 14 Sep 2016 14:55:19 -0000 That "Can't assign requested address" suggests that the problem might have nothing to do with fibs. Can you show us your "ifconfig" output? It would also help to know what local address ping is trying to assign. You can figure that out by doing "setfib 2 ktrace ping 8.8.8.8; kdump" and searching for "bind". Once you know that, you can try playing with ping's "-S" option to set different local addresses. -Alan On Tue, Sep 13, 2016 at 5:21 PM, wrote: > Here is the nestat -rn output: > > > > setfib -2 netstat -rn > Routing tables (fib: 2) > > Internet: > Destination Gateway Flags Netif Expire > default 10.128.0.1 UGS tun2 > 10.8.0.2 link#5 UH tun1 > 10.9.0.2 link#4 UH tun0 > 10.128.0.1 link#6 UH tun2 > 127.0.0.1 link#2 UH lo0 > 192.168.188.0/24 link#1 U dwc0 > > Internet6: > Destination Gateway Flags > Netif Expire > ::/96 ::1 UGRS > lo0 > default 2001:678:f0:1020::1 UGS > tun2 > ::1 link#2 UH > lo0 > ::ffff:0.0.0.0/96 ::1 UGRS > lo0 > 2001:678:f0:1020::/64 link#6 U > tun2 > 2001:a61:51:f501::/64 link#1 U > dwc0 > fd6c:9bdf:37b4:5ef8::/64 link#4 U > tun0 > fd6c:9bdf:97b6:7ef7::/64 link#5 U > tun1 > fe80::/10 ::1 UGRS > lo0 > fe80::%dwc0/64 link#1 U > dwc0 > fe80::%lo0/64 link#2 U > lo0 > fe80::%tun0/64 link#4 U > tun0 > fe80::%tun1/64 link#5 U > tun1 > fe80::%tun2/64 link#6 U > tun2 > ff02::/16 ::1 UGRS > lo0 > > > >> On Tue, Sep 13, 2016 at 4:41 PM, wrote: >>> Hi, >>> >>> in r305382 on my router-box I see some issue with ICMP and UDP in IPv4 >>> in >>> non-default fib spaces. PF is disabled. For example, >>> >>> UDP: >>> >>> setfib -2 host -vvv www.cisco.com 8.8.8.8 >>> Trying "www.cisco.com" >>> ;; connection timed out; no servers could be reached >>> >>> setfib -2 host -6 www.cisco.com 2001:4860:4860::8888 >>> Using domain server: >>> Name: 2001:4860:4860::8888 >>> Address: 2001:4860:4860::8888#53 >>> Aliases: >>> >>> www.cisco.com is an alias for www.cisco.com.akadns.net. >>> .... >>> >>> >>> ICMP: >>> >>> setfib -2 ping 8.8.8.8 >>> PING 8.8.8.8 (8.8.8.8): 56 data bytes >>> ping: sendto: Can't assign requested address >>> ping: sendto: Can't assign requested address >>> ... >>> >>> >>> setfib -2 ping6 www.cisco.com >>> PING6(56=40+8+8 bytes) 2001:678:f0:1020:27:cb57:2682:767a --> >>> 2a02:26f0:12:197::90 >>> 16 bytes from 2a02:26f0:12:197::90, icmp_seq=0 hlim=54 time=99.343 ms >>> ... >>> >>> >>> Also TCP in IPv4 is not affected: >>> >>> setfib -2 curl -o /tmp/index.html http://www.cisco.com >>> % Total % Received % Xferd Average Speed Time Time Time >>> Current >>> Dload Upload Total Spent Left >>> Speed >>> 100 73038 0 73038 0 0 68094 0 --:--:-- 0:00:01 --:--:-- >>> 68259 >>> >>> >>> In FreeBSD 11 the networking worked smoothly in fib spaces. >>> >>> Is it known problem? >>> >>> Thanks >>> >>> Jim >>> >> >> What is the output of "setfib 2 netstat -rn"? >> _______________________________________________ >> 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" >> > >