В Fri, 26 Dec 2014 10:47:51 -0500
James Knott
On 12/25/2014 02:12 PM, Andrei Borzenkov wrote:
В Tue, 23 Dec 2014 15:22:37 -0500 James Knott
пишет: In Yast LAN configuration, it's possible to create a VLAN interface with different IP addresses than the native LAN. However, one thing I've noticed is the VLANs have the same IPv6 link local address as the native LAN. Is it possible to change the link local address? No, link-local is by definition based on MAC address. You can manually add other addresses with link scope.
I wasn't familiar with that link scope. I don't see any mention of scope in the IP man page. However, it still appears it can't be done in Yast LAN.
IPv6 address scope is defined by format prefix (initial bits). Any address that starts with FE80 is link scoped. It should never be forwarded or routed by any gateway.
Adding another doesn't work, as a valid subnet mask is required, but link local addresses don't use them. Having the same link local address, for two interfaces, can cause problems when used as a router, as the link local address is often used as the router address.
Can you give example where it is a problem?
I was thinking about setting up routes, but after posting my message, I remembered that it's necessary to use the interface ID in addition to the link local address, so no problem.
Yes, standard explicitly permits identical link local addresses on multiple interfaces. IPv6 defines notion of "zone" to which interface is connected and disambiguates addresses by qualifying them with zone identifier. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org