Modify

Opened 8 years ago

Closed 7 years ago

#4219 closed defect (worksforme)

Bridged interfaces get the same IPv6 link-local addresses

Reported by: andrew@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Kamikaze trunk
Keywords: Cc:

Description

This is with 8.09rc1

With two WRT54G's running 8.09rc1 we have bridged interfaces on both both boxes, but they've both been allocated the same link-local address. This effectively breaks IPv6.

Box 1:

br-wireless: <BROADCAST,MULTICAST,UP>

inet6 fe80::200:ff:fe00:0/64 scope link
inet6 2404:xxx:b1ff:1000::104:1/64 scope global

Box 2:
br-wireless: <BROADCAST,MULTICAST,UP>

inet6 fe80::200:ff:fe00:0/64 scope link
inet6 2404:xxx:b1ff:1000::102:1/64 scope global

I've had a little bit of a dig but I can't see where the link-local address is being setup, the MAC address for the bridges are the first physical interface on each box assigned to the bridge, which is unique across the two devices.

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by andrew@…

This appears to be okay on trunk, with a 2.6 kernel:

21: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
    inet6 2404:xxx:b1ff:200::102:0/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::212:17ff:feb5:c9c6/64 scope link 
       valid_lft forever preferred_lft forever
22: br-wireless: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
    inet6 2404:xxx:b1ff:1000::102:1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::212:17ff:feb5:c9c8/64 scope link 
       valid_lft forever preferred_lft forever

comment:2 Changed 8 years ago by andrew@…

I example from a few minutes ago is with r15651.

comment:3 Changed 7 years ago by linus.luessing@…

Hmm, yes looks pretty weird, that the IPv6 addresse's host part just gets filled up with zeros instead of the mac-address (plus the link local bits in between) for the link local and the global address. For me this seems to work fine on current trunk with a Dlink DIR-300 (r17799), did you try it again? And as far as I know, the OpenWRT network scripts do not take care of the link local addresses as well as automatically assigned ones, that's the kernel's job and the behaviour for that automatic stuff is usually being configured through sysctl.

Cheers, Linus

comment:4 Changed 7 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed
  • Version set to Kamikaze trunk

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.