12.01.2018 02:21, Carlos E. R. пишет:
On 2018-01-11 20:01, James Knott wrote:
On 01/11/2018 01:29 PM, Carlos E. R. wrote:
On 2018-01-11 18:55, James Knott wrote:
On 01/11/2018 12:42 PM, Carlos E. R. wrote:
Addresses are normally assigned with SLAAC or DHCPv6. If it has a link > local address, either of those should work. That's the only address it has, or at least the only one it says it has. Automatic IPv6 address giving doesn't work, at least till Telefónica gives us IPv6 external addresses somehow. Any router capable of supporting IPv6 can provide addresses. Well, it doesn't.
It doesn't have a DHCPv6 server? Can't be configured for SLAAC?
It only works if it gets an IP on the external port from the provider, and it doesn't.
This is the configuration: <http://susepaste.org/56779419>
You can try enable ULA or add static prefix just to see whether other hosts will pick it up for IPv6 auto-configuration.
If I change that, I may not notice the day the ISP starts providing IPv6.
IPv6 host can have multiple valid addresses with different prefixes. The real problem is that as soon as router starts advertising valid IPv6 prefix it also may start advertising itself as default gateway and this may cause problems. I do not see on this screenshot if it is possible to disable default route advertisement or where is it configured.
I switched one machine here to automatic configuration - it is apparently impossible in YaST to have IPv4 manual configuration and IPv6 automatic configuration. Well, it got and IPv4 address, but not an IPv6:
Isengard:~ # ifconfig eth0 Link encap:Ethernet HWaddr 4C:CC:6A:61:50:A1 inet addr:192.168.1.134 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::4ecc:6aff:fe61:50a1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:49550 errors:0 dropped:0 overruns:0 frame:0 TX packets:153739 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5044374 (4.8 Mb) TX bytes:213100692 (203.2 Mb)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:13923 errors:0 dropped:0 overruns:0 frame:0 TX packets:13923 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:204824646 (195.3 Mb) TX bytes:204824646 (195.3 Mb)
There is nothing here to say whether it's a manual or some sort of automatic configuration. The fe80 link local shows IPv6 is supported, as does the ::1 loopback address.
It is an openSUSE Leap 42.2 machine, configured with YaST to use automatic configuration, so it is using wicked, using whatever method SUSE uses, I don't know which. And the above is what it gets.
So either the router is not giving IPv6 addresses (what for, if it can not route them to Internet), or Leap Linux is not getting it.
More likely router has nothing to advertise.
There is nothing magic here. In this regard, IPv6 is no different than IPv4, other than SLAAC can be used in addition to DHCP or manual configuration. If your router supports providing an IPv6 address via SLAAC or DHCPv6, that printer should have an IPv6 address. If you use either method, then other devices should also get IPv6 addresses.
One thing to consider. Windows has something called HomeGroup networking, which requires IPv6 and uses the link local addresses. I assume the printer can work with it. If so, how is the configuration done?
I've never used that printer with Windows, so I don't know. If I had to use it in Windows I would use IPv4, the same as I use in Linux.
The printer configuration page offers IPv4 configuration, but not IPv6. For IPv6 it simply displays the LL address. See:
<http://susepaste.org/75790671> <http://susepaste.org/39127759>
It is pointless to try configure the router, the printer will only use that fixed IPv6 configuration.
IPv6 hosts are supposed to implement SLAAC, so unless documentation for your printer tells different, I do not see why "it is pointless to configure router". That printer does not support manually defined IPv6 address does not mean it won't do SLAAC when available.