RTL960x
RTL960x copied to clipboard
Add Orange Romania Livebox6 Success Story on Telekom Infrastructure
-bash-3.00$ pip3 install sysbus
-bash-3.00$ sysbus -config -password MYSECRET
-bash-3.00$ sysbus sysbus.NeMo.Intf.data:getMIBs | jq .status.gpon.veip0
{
"RegistrationID": "",
"VeipPptpUni": true,
"MaxBitRateSupported": 10000,
"SignalRxPower": -23467,
"SignalTxPower": 2351,
"Temperature": 69,
"Voltage": 32734,
"Bias": 6564,
"SerialNumber": "SMBS00XXXXXX",
"HardwareVersion": "SGLivebox6101",
"EquipmentId": "SagemcomFast5670ORO",
"VendorId": "SMBS",
"VendorProductCode": 0,
"PonId": "",
"ONTSoftwareVersion0": "SAHEORO010209",
"ONTSoftwareVersion1": "SAHEORO010209",
"ONTSoftwareVersionActive": 0,
"LowerOpticalThreshold": -127500,
"UpperOpticalThreshold": -127500,
"LowerTransmitPowerThreshold": -63500,
"UpperTransmitPowerThreshold": -63500,
"Mode": "Normal",
"CustomVendorID": "",
"CustomEquipmentID": "",
"VLANs": "35,37",
"RogueOnu": false,
"RogueOnuCount": 0,
"RogueOnuLastOccurence": "0001-01-01T00:00:00Z",
"OnuState": "O5_Operation",
"OnuId": 6
}
This results in the following successful configuration on the stick:
flash set GPON_OLT_MODE 1
flash set GPON_SN SMBS00XXXXXX
flash set PON_VENDOR_ID SMBS
flash set LAN_SDS_MODE 1
flash set OMCI_FAKE_OK 1
flash set OMCI_OLT_MODE 1
flash set GPON_ONU_MODEL 'SagemcomFast5670ORO'
flash set OMCI_SW_VER1 SAHEORO010209
flash set OMCI_SW_VER2 SAHEORO010209
flash set HW_CWMP_MANUFACTURER 'Sagemcom'
flash set HW_CWMP_PRODUCTCLASS 'Livebox6'
flash set HW_HWVER 'SGLivebox6101'
flash set OUI d0,6d,c9
flash set POSIX_TZ_STRING "Europe/Bucharest"
Next step, on the router, set the VLAN to 35 and the MAC Address to:
-bash-3.00$ sysbus sysbus.NeMo.Intf.data:getMIBs | jq .status.netdev.veip0.LLAddress
"D0:6D:C9:XX:XX:XX"
Now configure the DHCP Clients:
- DHCPv4 Client Unique ID (Option61) based on MAC Address: 01D06DC9XXXXXX
- DHCPv4 Client Name (Option12): livebox6 (6c697665626f7836)
- DHCPv6 DUID based on MAC Address: 00:03:00:01:d0:6d:c9:XX:XX:XX
One thing that is still not implemented is the DSCP Priority table, as seen below. While most routers (incl. UDM Pro) allow to set the CoS for a VLAN, this configuration is something that I cannot currently decode except for the higher priority ARP Egress traffic:
sysbus sysbus.NeMo.Intf.data:getMIBs | jq .status.bcmvlan.gvlan_data
{
"DscpToPbitsTable": "0000000000000000002000000050000000000000000000500000000000000000",
"QoS": {
"default_rx": {
"Enable": true,
"Tags": 2,
"SetVlanId": 4095,
"SetPbits": -1,
"SetDscp": -1,
"SetEthertype": 0,
"DscpToPbits": -1,
"PushTag": false,
"PopTag": true,
"Direction": false,
"FilterVlanId": 4095,
"FilterSkbPriority": -1,
"FilterSkbMarkFlowid": -1,
"FilterEthertype": 0,
"FilterVlanDevMacAddr": 1
},
"arp_tx": {
"Enable": true,
"Tags": 1,
"SetVlanId": 4095,
"SetPbits": 5,
"SetDscp": -1,
"SetEthertype": 0,
"DscpToPbits": -1,
"PushTag": true,
"PopTag": false,
"Direction": true,
"FilterVlanId": 4095,
"FilterSkbPriority": -1,
"FilterSkbMarkFlowid": -1,
"FilterEthertype": 2054,
"FilterVlanDevMacAddr": -1
},
"default_tx": {
"Enable": true,
"Tags": 1,
"SetVlanId": 4095,
"SetPbits": -1,
"SetDscp": -1,
"SetEthertype": 33024,
"DscpToPbits": 0,
"PushTag": true,
"PopTag": false,
"Direction": true,
"FilterVlanId": 4095,
"FilterSkbPriority": -1,
"FilterSkbMarkFlowid": -1,
"FilterEthertype": 0,
"FilterVlanDevMacAddr": -1
}
}
}
What needs to be noted: there is a DSLite Tunnel Endpoint in the IPv6 DHCP response. This might indicate a future migration to DSLite from the ISP. Currently dual-stack environment allows both IPv4 and IPv6 on VLAN35. VLAN37 is used for IPTV, if that is available to the customer.