=ping: sendto: Can't assign requested address= in fib spaces

2016-09-13 Thread zjef
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::
Using domain server:
Name: 2001:4860:4860::
Address: 2001:4860:4860::#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   TimeTime Time 
Current
 Dload  Upload   Total   SpentLeft  Speed
100 730380 730380 0  68094  0 --:--:--  0:00:01 --:--:--
68259


In FreeBSD 11 the networking worked smoothly in fib spaces.

Is it known problem?

Thanks

Jim

___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: =ping: sendto: Can't assign requested address= in fib spaces

2016-09-13 Thread zjef
Here is the nestat -rn output:



setfib -2 netstat -rn
Routing tables (fib: 2)

Internet:
DestinationGatewayFlags Netif Expire
default10.128.0.1 UGStun2
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#2UH
 lo0
:::0.0.0.0/96 ::1   UGRS  
 lo0
2001:678:f0:1020::/64 link#6U 
tun2
2001:a61:51:f501::/64 link#1U 
dwc0
fd6c:9bdf:37b4:5ef8::/64  link#4U 
tun0
fd6c:9bdf:97b6:7ef7::/64  link#5U 
tun1
fe80::/10 ::1   UGRS  
 lo0
fe80::%dwc0/64link#1U 
dwc0
fe80::%lo0/64 link#2U 
 lo0
fe80::%tun0/64link#4U 
tun0
fe80::%tun1/64link#5U 
tun1
fe80::%tun2/64link#6U 
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::
>> Using domain server:
>> Name: 2001:4860:4860::
>> Address: 2001:4860:4860::#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   TimeTime Time
>> Current
>>  Dload  Upload   Total   SpentLeft
>> Speed
>> 100 730380 730380 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-unsubscr...@freebsd.org"
>


___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: =ping: sendto: Can't assign requested address= in fib spaces

2016-09-14 Thread zjef
Hello Alan,

thank you for guidelines.

Here are some outputs from box:

uname -a
FreeBSD bp 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r305382: Tue Sep  6
03:03:40 CEST 2016
root@fb12-bpim1:/freebsd/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/MYKERNEL
 arm


ifconfig -a
dwc0: flags=8843 metric 0 mtu 1500
options=80008
ether 02:47:03:c1:b1:95
inet 192.168.188.254 netmask 0xff00 broadcast 192.168.188.255
inet6 fe80::47:3ff:fec1:b195%dwc0 prefixlen 64 scopeid 0x1
inet6 2001:a61:2:2701:47:3ff:fec1:b195 prefixlen 64 autoconf
media: Ethernet autoselect (1000baseT )
status: active
nd6 options=23
lo0: flags=8049 metric 0 mtu 16384
options=63
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
inet 127.0.0.2 netmask 0x
groups: lo
nd6 options=21
pflog0: flags=141 metric 0 mtu 33184
groups: pflog
tun0: flags=8051 metric 0 mtu 1500
options=8
inet6 fe80::5cfd:b867:e963:74c7%tun0 prefixlen 64 scopeid 0x4
inet6 fd6c:9bdf:37b4:5ef8::1 prefixlen 64
inet 10.9.0.1 --> 10.9.0.2  netmask 0x
groups: tun
nd6 options=21
Opened by PID 88745
tun1: flags=8051 metric 0 mtu 1500
options=8
inet6 fe80::5cfd:b867:e963:74c7%tun1 prefixlen 64 scopeid 0x5
inet6 fd6c:9bdf:97b6:7ef7::1 prefixlen 64
inet 10.8.0.1 --> 10.8.0.2  netmask 0x
groups: tun
nd6 options=21
Opened by PID 19613
tun2: flags=8051 metric 0 mtu 1500
options=8
inet6 fe80::5cfd:b867:e963:74c7%tun2 prefixlen 64 scopeid 0x6
inet6 2001:678:f0:1040:3df1:1db0:377:e28f prefixlen 64
inet 10.128.0.7 --> 10.128.0.1  netmask 0x
groups: tun
nd6 options=21
Opened by PID 4911


$ sudo pfctl -si
Status: Disabled for 0 days 00:00:43  Debug: Urgent

State Table  Total Rate
  current entries3
...


# netstat -rn 
  [7/411]
Routing tables

Internet:
DestinationGatewayFlags Netif Expire
default192.168.188.1  UGSdwc0
10.8.0.0/2410.8.0.2   UGStun1
10.8.0.1   link#5 UHS lo0
10.8.0.2   link#5 UH tun1
10.9.0.0/2410.9.0.2   UGStun0
10.9.0.1   link#4 UHS lo0
10.9.0.2   link#4 UH tun0
10.128.0.0/16  10.128.0.24UGS lo0
10.128.0.1 link#6 UH tun2
10.128.0.7 link#6 UHS lo0
127.0.0.1  link#2 UH  lo0
127.0.0.2  link#2 UH  lo0
192.168.177.0/24   192.168.188.2  UGSdwc0
192.168.188.0/24   link#1 U  dwc0
192.168.188.254link#1 UHS lo0

Internet6:
Destination   Gateway   Flags
Netif Expire
::/96 ::1   UGRS  
 lo0
default   fe80::c225:6ff:febb:4afc%dwc0 UG
dwc0
::1   link#2UH
 lo0
:::0.0.0.0/96 ::1   UGRS  
 lo0
2001:678:f0:1040::/64 link#6U 
tun2
2001:678:f0:1040:3df1:1db0:377:e28f link#6  UHS   
 lo0
2001:a61:2:2701::/64  link#1U 
dwc0
2001:a61:2:2701:47:3ff:fec1:b195  link#1UHS   
 lo0
fd6c:9bdf:37b4:5ef8::/64  link#4U 
tun0
fd6c:9bdf:37b4:5ef8::1link#4UHS   
 lo0
fd6c:9bdf:97b6:7ef7::/64  link#5U 
tun1
fd6c:9bdf:97b6:7ef7::1link#5UHS   
 lo0
fe80::/10 ::1   UGRS  
 lo0
fe80::%dwc0/64link#1U 
dwc0
fe80::47:3ff:fec1:b195%dwc0   link#1UHS   
 lo0
fe80::%lo0/64 link#2U 
 lo0
fe80::1%lo0   link#2UHS   
 lo0
fe80::%tun0/64link#4U 
tun0
fe80::5cfd:b867:e963:74c7%tun0link#4UHS   
 lo0
fe80::5cfd:b867:e963:74c7%tun1link#5UHS   
 lo0
fe80::%tun2/64link#6U 
tun2
fe80::5cfd:b867:e963:74c7%tun2link#6UHS   
 lo0
ff02::/16   

Re: =ping: sendto: Can't assign requested address= in fib spaces

2016-09-17 Thread zjef
hi,
yep, it is not not a fib problem. It is related to openvpn (on banana
pi?), similar to one mentioned here

https://newpush.com/2010/01/openvpn-write-udpv4-cant-assign-requested-address-code49/

or here

https://yeri.be/openvpn-cant-assign-requested-address

Thanks.


___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: =ping: sendto: Can't assign requested address= in fib spaces

2016-09-18 Thread zjef
also fresh post here

https://forums.pcbsd.org/thread-20944-post-114994.html#pid114994

> hi,
> yep, it is not not a fib problem. It is related to openvpn (on banana
> pi?), similar to one mentioned here
>
> https://newpush.com/2010/01/openvpn-write-udpv4-cant-assign-requested-address-code49/
>
> or here
>
> https://yeri.be/openvpn-cant-assign-requested-address
>
> Thanks.
>
>
> ___
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
>


___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"