Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12980 closed defect (fixed)

ubus: unusual /24 default prefix length for static IPv6 breaks routing

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

AA 12.09-rc1, r34185

I did a sysupgrade from 10.03.1, keeping my configuration files, which caused me to stumble upon this issue.

As a default, it seems that ubusd uses a /24 prefix for static IPv6 addressing. This is rather unexpected and troublesome:

  • /24 rarely ever makes sense in v6 and is extremely unlikely to be seen on home routers; it is more likely to break routes though;
  • backfire used a much more sensible /64 which did not break anything.

Workadound: append the prefix length directly to the address, either in luci or in /etc/config/network

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

This only happens if you have a 'netmask' option with 255.255.255.0 or '24' on the same interface, which causes it to use the /24 netmask.

In general, you should *always* append the netmask static IPv6 addresses.
I pushed a change to netifd git that makes it default to 128 instead, as 64 seems somewhat arbitrary.

This will be picked up in trunk/AA next time netifd is updated.

comment:2 Changed 5 years ago by anonymous

May I suggest that the default prefix length (/128) be made explicit un luci? Using a hidden default is not very straightforward.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.