=ping: sendto: Can't assign requested address= in fib spaces
Alan Somers
asomers at freebsd.org
Wed Sep 14 14:55:19 UTC 2016
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, <zjef at mail2tor.com> 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, <zjef at mail2tor.com> 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 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>
>
More information about the freebsd-net
mailing list