Multiple ipv6 Adresses

Status
Not open for further replies.

thedeadzone

Dabbler
Joined
Feb 13, 2014
Messages
20
Hey,

for some reason my logs are filled with
Code:
freenas ntpd[2475]: bind() fd 36, family AF_INET6, port 123, scope 0, addr fd00::207:e9ff:fea0:13db, mcast=0 flags=0x11 fails: Can't assign requested address


This is probably realted to the fact that my nic is assigned multiple ipv6 interfaces. Which is not done by myself.
The interface is configured to use ipv6 autoconfigure
netstat -nr show the following:
Code:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.178.1      UGS         0      330    em0
127.0.0.1          link#10            UH          0    26860    lo0
192.168.178.0/24   link#7             U           0 13501388    em0
192.168.178.11     link#7             UHS         0      215    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0 =>
default                           fe80::2665:11ff:fe18:1b90%em0 UG          em0
::1                               link#10                       UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
2a02:908:2e20:2ac0::/64           link#7                        U           em0
2a02:908:2e20:2ac0:207:e9ff:fea0:13db link#7                        UHS         lo0
4001:c89d:c0a8:b2b1::/64          link#7                        U           em0
4001:c89d:c0a8:b2b1:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:123a:c0a8:b2b1::/64          link#7                        U           em0
4006:123a:c0a8:b2b1:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:320d:c0a8:b2ab::/64          link#7                        U           em0
4006:320d:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:5cd1:c0a8:b2ab::/64          link#7                        U           em0
4006:5cd1:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:77c8:c0a8:b2ab::/64          link#7                        U           em0
4006:77c8:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:793c:c0a8:b2ab::/64          link#7                        U           em0
4006:793c:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:7ade:c0a8:b2ab::/64          link#7                        U           em0
4006:7ade:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:935d:c0a8:b2b1::/64          link#7                        U           em0
4006:935d:c0a8:b2b1:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:ad14:c0a8:b2ab::/64          link#7                        U           em0
4006:ad14:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:dccd:c0a8:b2ab::/64          link#7                        U           em0
4006:dccd:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
4006:de18:c0a8:b2ab::/64          link#7                        U           em0
4006:de18:c0a8:b2ab:207:e9ff:fea0:13db link#7                        UHS         lo0
fd00::/64                         link#7                        U           em0
fd00::207:e9ff:fea0:13db          link#7                        UHS         lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%em0/64                     link#7                        U           em0
fe80::207:e9ff:fea0:13db%em0      link#7                        UHS         lo0
fe80::%lo0/64                     link#10                       U           lo0
fe80::1%lo0                       link#10                       UHS         lo0
ff01::%em0/32                     fe80::207:e9ff:fea0:13db%em0  U           em0
ff01::%lo0/32                     ::1                           U           lo0
ff02::/16                         ::1                           UGRS        lo0
ff02::%em0/32                     fe80::207:e9ff:fea0:13db%em0  U           em0
ff02::%lo0/32                     ::1                           U           lo0


Someone know why this is happening ?
 

thedeadzone

Dabbler
Joined
Feb 13, 2014
Messages
20
Sorry for the long delay, was busy doing other stuff.

Aparently NTP is not able to reach any ntp servers at all.
Code:
[root@freenas ~]# ntpdate -d                                                   
6 Mar 00:59:39 ntpdate[24904]: ntpdate 4.2.4p5-a (1)                          
6 Mar 00:59:39 ntpdate[24904]: no servers can be used, exiting                
[root@freenas ~]# ntpq -p                                                      
     remote           refid      st t when poll reach   delay   offset  jitter 
============================================================================== 
*shyber.tntu.edu 31.28.161.68     2 u  335  512  277   47.657  -23.061   2.618 
+yurizoku.tk     64.246.132.14    2 u  662  512  126  116.715  -16.836   0.484 
+82.193.117.90.c .GPS.            1 u  194  512  377   49.884  -49.021   5.368 
[root@freenas ~]# cat /etc/ntp.conf                                            
server 2.pool.ntp.org iburst prefer maxpoll 9 minpoll 6                        
server 1.freebsd.pool.ntp.org iburst maxpoll 9 minpoll 6                       
server 2.freebsd.pool.ntp.org iburst maxpoll 9 minpoll 6                       
restrict -4 default nomodify nopeer noquery notrap                             
restrict -6 default nomodify nopeer noquery notrap                             
restrict 127.0.0.1                                                             
restrict -6 ::1                                                                
restrict 127.127.1.0             


ping6 for 2.pool.ntp.org
and 2.freebsd.pool.ntp.org works fine

Code:
[root@freenas ~]# ping6 2.freebsd.pool.ntp.org                                 
PING6(56=40+8+8 bytes) 2a02:908:2e20:2ac0:207:e9ff:fea0:13db --> 2a02:168:420b:d
::12                                                                           
16 bytes from 2a02:168:420b:d::12, icmp_seq=0 hlim=51 time=29.392 ms           
16 bytes from 2a02:168:420b:d::12, icmp_seq=1 hlim=51 time=22.444 ms           
16 bytes from 2a02:168:420b:d::12, icmp_seq=2 hlim=51 time=27.791 ms           
16 bytes from 2a02:168:420b:d::12, icmp_seq=3 hlim=51 time=22.413 ms           
^C                                                                             
--- 2.freebsd.pool.ntp.org ping6 statistics ---                                
4 packets transmitted, 4 packets received, 0.0% packet loss                    
round-trip min/avg/max/std-dev = 22.413/25.510/29.392/3.133 ms 



1.freebsd.pool.ntp.org gives me an error
Code:
[root@freenas ~]# ping6 1.freebsd.pool.ntp.org                                 
ping6: hostname nor servname provided, or not known  



Yesterday I got about 50 Adresses assigned to the interface which doesnt seem right.


Hope this helps in some way.
 
D

dlavigne

Guest
Hmm, I knew IPv6 didn't work well on 9.x, but that just sounds icky... Will be interesting to see if 9.10 (when it becomes available) fixes it.
 
Status
Not open for further replies.
Top