Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    IPv6 Link Local интерфейсов LAN и WAN

    Scheduled Pinned Locked Moved Russian
    2 Posts 2 Posters 765 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GennP
      last edited by

      Есть роутер, PPPoE и DHCPv6-PD от провайдера.
      И заметил небольшую особенность.

      LAN:
      MAC Address - xx:xx:xx:xx:a3:c7
      IPv6 Link Local не меняется какой бы я ни ставил MAC - fe80::1:1%em0

      WAN:
      IPv6 Link Local и IPv6 Address полностью зависят от MAC на LAN интерфейсе и не меняются от настройки MAC на WAN интерфейсе - fe80::xxxx:xxxx:xxxx:a3c7%pppoe0

      Это баг или так и задумана работа?

      K 1 Reply Last reply
      Reply Quote 0
      • K
        Konstanti @GennP
        last edited by Konstanti

        @ГеннадийП said in IPv6 Link Local интерфейсов LAN и WAN:

        fe80::
        Похоже , что задумано

        /* always configure a link-local of fe80::1:1 on the track6 interfaces */
        	$realif = get_real_interface($interface);
        	$linklocal = find_interface_ipv6_ll($realif, true);
        	if (!empty($linklocal) && $linklocal != "fe80::1:1%{$realif}") {
        		mwexec("/sbin/ifconfig {$realif} inet6 {$linklocal} delete");
        	}
        	/* XXX: This might break for good on a carp installation using link-local as network ips */
        	/* XXX: Probably should remove? */
        	mwexec("/sbin/ifconfig {$realif} inet6 fe80::1:1%{$realif}");
        

        По поводу IPv6 адресов на wan,lan интерфейсах :
        ifconfig четко показывает , что есть привязка MAC адреса конкретного интерфейса к конкретному Link-local IPv6 адресу
        Например , интерфейс wan
        ether 00:08:a2:0a:ff:72
        hwaddr 00:08:a2:0a:ff:72
        inet6 fe80::208:a2ff:fe0a:ff72%igb0 prefixlen 64 scopeid 0x1

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy