Hello, I am bypassing my ATT ONT and want to be able to get the same prefix my ATT ONT gets directly to my router. Apparently, the ONT uses DUID-EN to get a prefix, not DUID-LL. How do I modify my WAN6 interface config so I can use DUID-EN and have the enterprise id field? Is there a way? Or if not, is there a way to convert DUID-EN to DUID-LL?
https://openwrt.org/docs/guide-user/network/ipv6/configuration
search clientid, probably look into netifd scripts how to pass exact old identifier.
Got it working, thank you. DUID-EN is type 2, DUID-LL is type 3. Type is 2 bytes at the beginning of the duid, so 00:02 for DUID-EN. Then the enterprise id is 4 bytes and you convert to hex, so 3561 for ATT becomes 00:00:0D:E9. So now you have 00:02:00:00:0D:E9. And then you append the value that this cyberchef generates from your ONT serial for the full duid. Remove the colons and you have the duid for your wan6 interface. Put it in the client id field.
Cyberchef: https://gchq.github.io/CyberChef/#recipe=Remove_whitespace(true,true,true,true,true,true)To_Upper_case('All')Conditional_Jump('^$',false,'empty',10)Conditional_Jump('^D[A-Za-z0-9]{13}$',false,'humax',10)Conditional_Jump('^N[A-Za-z0-9]{13}$',false,'nokia',10)Conditional_Jump('^R[A-Za-z0-9]{13}$',false,'bgw210',10)Jump('error',10)Label('nokia')Pad_lines('Start',7,'207852-')Jump('encode',10)Label('humax')Pad_lines('Start',7,'0C08B4-')Jump('encode',10)Label('bgw210')Pad_lines('Start',7,'001E46-')Label('encode')To_Hex('Colon',0)To_Upper_case('All')Return()Label('error')Pad_lines('Start',12,'UNKNOWN%20SN:%20')Return()Label('empty')Pad_lines('Start',37,'Enter%20serial%20number%20into%20input%20field.')
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.