Page MenuHomeVyOS Platform

DHCPv6-PD add prefix hint CLI option
Closed, ResolvedPublicFEATURE REQUEST

Description

Some ISPs (e.g. Comcast in Australia) only delegate a /64 by default. You have to explicitly ask for a /60 prefix (see discussion in T421).

Add CLI node to „help“ the dhcp client to request an appropriate size.

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po claimed this task.Sat, May 23, 9:38 PM
c-po triaged this task as Normal priority.
c-po created this task.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po added a comment.EditedSun, May 24, 10:06 AM

Guess the CLI needs a change here as this requirement was overseen. It could look something like this (note that PPPoE can be replaced by any other interface), need to work out the details.

+pppoe pppoe0 {
+    authentication {
+        password vyos
+        user vyos
+    }
+    dhcpv6-options {
+        prefix-delegation {
+            interface eth1 {
+                address 1
+                sla-id 0
+                sla-len 5
+            }
+            length 60
+        }
+    }
+    ipv6 {
+        address {
+            autoconf
+        }
+        enable
+    }
+    mtu 1400
+    source-interface eth0.202
+    vrf black
+}
c-po added a comment.Sun, May 24, 11:49 AM

I‘m asking myself if length should be specified as decimal number or as ::/60 prefix?

pasik added a subscriber: pasik.Sun, May 24, 2:48 PM

If this field is only the len, of prefix, there is no need to use prefix writing.

c-po changed the task status from Open to In progress.Tue, May 26, 3:11 PM
c-po changed Difficulty level from Easy (less than an hour) to Normal (likely a few hours).
c-po closed this task as Resolved.Tue, May 26, 6:59 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Tue, Jun 2, 5:49 PM