In T2506 I noticed that the 'length' parameter was added to the dhcpv6-options.
However, when I add that parameter, the 'prefix' parameter is not being set in the interface configuration file.
/config/config.boot:
interfaces {
ethernet eth0 {
hw-id 52:54:00:27:59:a9
}
ethernet eth1 {
hw-id 52:54:00:a0:f4:cc
}
ethernet eth2 {
address dhcp
address dhcpv6
description "WAN Interface"
dhcpv6-options {
prefix-delegation {
interface eth1 {
address 1
sla-id 2
sla-len 8
}
length 56
}
}
hw-id 52:54:00:82:48:a0
}
loopback lo {
}
}
system {
config-management {
commit-revisions 100
}
console {
device ttyS0 {
speed 115200
}
}
host-name vyos
login {
user vyos {
authentication {
encrypted-password $6$JgwuysqvW/ZtY$XOYHQvd.tQ5AUii38VdU3IEGYndzOjeA2NTYKocFz2cmKz7.hlW3SXt3q6/VSknSC4tJnsLLHQ9rElkAP5V2D1
plaintext-password ""
}
}
}
ntp {
server 0.pool.ntp.org {
}
server 1.pool.ntp.org {
}
server 2.pool.ntp.org {
}
}
syslog {
global {
facility all {
level info
}
facility protocols {
level debug
}
}
}
}
/ Warning: Do not remove the following line.
// vyos-config-version: "broadcast-relay@1:cluster@1:config-management@1:conntrack@1:conntrack-sync@1:dhcp-relay@2:dhcp-server@5:dhcpv6-server@1:dns-forwarding@2:firewall@5:https@2:interfaces@10:ipoe-server@1:ipsec@5:l2tp@3:lldp@1:mdns@1:nat@5:ntp@1:pppoe-server@3:pptp@2:qos@1:quagga@6:salt@1:snmp@1:ssh@1:sstp@2:system@16:vrrp@2:vyos-accel-ppp@2:wanloadbalance@3:webgui@1:webproxy@2:zone-policy@1"
// Release version: 1.3-rolling-202006050117/run/dhcp6c/dhcp6c.eth2.conf:
# generated by dhcp.py
# man https://www.unix.com/man-page/debian/5/dhcp6c.conf/
interface eth2 {
request domain-name-servers;
request domain-name;
send ia-na 1; # non-temporary address
send ia-pd 2; # prefix delegation
};
id-assoc na 1 {
# Identity association NA
};
id-assoc pd 2 {
prefix-interface eth1 {
sla-id 2;
sla-len 8;
ifid 1;
};
};Any ideas on what might be causing the 'prefix' parameter of length 56 not to be put into the configuration file?
My ISP (Cox) only gives /64 by default, we have to request larger prefixes (like /56).
If I can get this configuration parameter to show up in the configuration file then I think things might work to request the /56 that Cox allows.
OpenWrt has no problems and gives me a /56 from Cox.
I've spent several hours going through the GIT logs and checking files, it looks like it should work. My guess is that there is a small typo somewhere.
Thanks for any ideas, suggestions, bugfixes, etc.