RTL960x
RTL960x copied to clipboard
vlan mapping all wrong
First of all the gpon stick is carlitosxxpro RTL9601C1 , OLT on the ISP side reports itself as ALCL (Alcatel lucent) and I got it working except I was never able to figure a few things, that im looking for feedback if anyone else has seen.
ISP is supposed to provide internet on VLAN 2, IPTV on vlan N and VOIP on vlan Y (neither matter much because I am not subscribed to tv or phone)
Howver, in reality and after quite some pain I ended sniffing on the fiber to find out that the internet connection comes through vlan 2496, and no matter what, Im never getting the magic mapping right (the outer vlan mapped to the inner vlan as far as I understand) if there is any change in the mappings in the ISP side I'll be screwed again.
I am supposed to recieve the correct tagging information from the OLT and at least one person I have talked to that had a SFP stick that did this without problem, facing at least the same brand of OLT.
I have tried the vlan tagging in default, and manual transparent mode, nothing seems to help, carlitosxxpro support did not help either.
Im a supposed to get OMCI ME 42 and 43 in other SFP sticks called VLAN_TREATMENT_TABLE , VLAN_RULE_TABLE but can't find it in the stick nor in the crap device my ISP gave me..
With carlitosv2, the same thing happens to me, technical support did not get results. But let's focus the case on the vlans, in my case it is vlan6+pppoe ( inet ), vlan3+dhcp (voip), I have only managed to get use of vlan3, in vlan6 it was impossible. I am stuck without a solution.
With carlitosv2, the same thing happens to me, technical support did not get results. But let's focus the case on the vlans, in my case it is vlan6+pppoe ( inet ), vlan3+dhcp (voip), I have only managed to get use of vlan3, in vlan6 it was impossible. I am stuck without a solution.
in Your case what's the output of #diag l2-table get entry address valid
First of all the gpon stick is carlitosxxpro RTL9601C1 , OLT on the ISP side reports itself as ALCL (Alcatel lucent) and I got it working except I was never able to figure a few things, that im looking for feedback if anyone else has seen.
ISP is supposed to provide internet on VLAN 2, IPTV on vlan N and VOIP on vlan Y (neither matter much because I am not subscribed to tv or phone)
Howver, in reality and after quite some pain I ended sniffing on the fiber to find out that the internet connection comes through vlan 2496, and no matter what, Im never getting the magic mapping right (the outer vlan mapped to the inner vlan as far as I understand) if there is any change in the mappings in the ISP side I'll be screwed again.
I am supposed to recieve the correct tagging information from the OLT and at least one person I have talked to that had a SFP stick that did this without problem, facing at least the same brand of OLT.
I have tried the vlan tagging in default, and manual transparent mode, nothing seems to help, carlitosxxpro support did not help either.
That's vlan stacking (Q-inQ), if your sfp support auto vlan and remote access mode, you can check it yourself without having to manually search or ask your ISP.
As picture above: change vlan mode to remote access mode, and then, change back to vlan auto, keep pressing refresh button, you will see vlan Q-inQ. Finally, you return to vlan remote access mode, on your router will use the vlan found above.
The problem I have your suggestion @vuducdong I was never able to find that part of the UI, it doesn't appear to be included in any visible or hidden page. I can't count on the ISP, they flat out deny providing any information or help on anything related to this.
The SFP supports auto vlan ..that's the setting I currently have.. manual & transparent didn't do anything.. Never tried remote access mode..
@vuducdong
that RTL9601B (Hisense LTE3415-SCA+) has stable firmware SDK, for RTL9601C1 firmware like V2801F, TWCGPON657 have broken VLAN Settings
, it didn't show VLAN like that:
however, my V2801F map VLAN as is:
@crrodriguez I believe carlitosxxpro have similar firmware with V2801F.
My Fiber Vendor using n-Port Mapping, where my Internet come at port LAN 2 of Universal Huawei ONU
V2801F manage to map VLAN 1:1
see my l2-table get entry address valid
diag here
However... I didn't get Internet when using TWCGPON657 firmware, I believe problem is same like yours
Currently I waiting DFP-34X-2C2 to arrive, this new ODI Stick using RTL9601C1
@Anime4000 50 bucks is a very reasonable price compared to this stick that cost me arm and leg to import from spain..so please share your experiences with it.
from the omci logs I have stored I have a few operations returning error, almost certainly related to this problem
0x0c27 CircuitPack
Set(0x0101,AdminState=0x00,BridgedorIPInd=0x00,CardCfg=0x00,PowerShed=0x00000000)
0x0c27 CircuitPack SetRsp(0x0101,Result=0x5)
0x0c28 EthUni Set(k,0x0101,AutoDectectCfg=0x03,AdminState=0x00,MaxFrameSize=0x07d0,ARC=0x00)
0x0c28 EthUni SetRsp(0x0101,Result=0x5)
Above provisioning EthUni 0x0101 fails.. and most likely all the following operations on it do not complete sucessfully, but omci_fake_ok is set to 1; note that the stick advertises
0x0000 EthUni AVC(0x0401)
0x0000 EthUni AVC(0x0401)
0x0000 EthUni AVC(0x0401)
0x0000 EthUni AVC(0x0401)
so the OLT wants to configure a different explicit port?
0x0c29 GalEthProf Create(0x0001,MaxGemPayloadSize=0x0030)
0x0c29 GalEthProf CreateRsp(0x0001,Result=0x0)
0x0c2a MacBriServProf
Create(0x0101,SpanTreeInd=0x00,LearningInd=0x00,AtmBriInd=0x00,Priority=0x8000,MaxAge=0x1400,HelloTime=0x0200,ForwardDelay=0x0f00,DiscardUnknow=0x00,MacLearningDepth=0x00,DynamicFilteringAgeingTime=0x00000000)
0x0c2a MacBriServProf CreateRsp(0x0101,Result=0x0)
0x0c2b MacBriPortCfgData
Create(0x0101,BridgeIdPtr=0x0101,PortNum=0x01,TPType=0x01,TPPointer=0x0101,PortPriority=0x0000,PortPathCost=0x0001,PortSpanTreeInd=0x00,EncapMethod=0x00,LanFCSInd=0x00,NumOfAllowedMac=0x00)
0x0c2b MacBriPortCfgData CreateRsp(0x0101,Result=0x0)
0x0c2c ExtVlanTagOperCfgData
Create(0x0101,AssociationType=0x02,AssociatedMePoint=0x0101)
0x0c2c ExtVlanTagOperCfgData CreateRsp(0x0101,Result=0x0)
0x0c2d ExtVlanTagOperCfgData
Set(0x0101,InputTPID=0x8100,OutputTPID=0x8100,DsMode=0x00,DscpToPbitMapping=0x0000002492494924926db6db924924b6db6ddb6db6ffffff)
0x0c2d ExtVlanTagOperCfgData SetRsp(0x0101,Result=0x0)
0x0c2e McastOperProf
Create(0x0101,IGMPVersion=0x02,IGMPFun=0x00,ImmediateLeave=0x01,UsIGMPTci=0x0000,UsIGMPTagControl=0x00,UsIGMPRate=0x00000010,Robustness=0x02,QuerierIpAddress=0x00000000,QueryInterval=0x00000040,QueryMaxResponseTime=0x00000064,DownstreamIgmpMulticastTci=0x000000)
0x0c2e McastOperProf CreateRsp(0x0101,Result=0x0)
0x0c2f McastOperProf
Set(0x0101,UsIGMPRate=0x00000010,QueryInterval=0x00000040,UnauthorizedJoinRequestBehaviour=0x01)
0x0c2f McastOperProf SetRsp(0x0101,Result=0x0)
0x0c30 McastSubConfInfo
Create(0x0101,MeType=0x00,McastOperProfPtr=0x0101,MaxSimGroups=0x0000,MaxMcastBandwidth=0x00000000,BandwidthEnforcement=0x01)
0x0c30 McastSubConfInfo CreateRsp(0x0101,Result=0x0)
0x0c31 ExtVlanTagOperCfgData
Set(0x0101,ReceivedFrameVlanTaggingOperTable=0xf8000000e8005000c00f0000000f8002)
0x0c31 ExtVlanTagOperCfgData SetRsp(0x0101,Result=0x0)
0x0c32 ExtVlanTagOperCfgData
Set(0x0101,ReceivedFrameVlanTaggingOperTable=0xe8005000e8000000c00f0000000f8003)
0x0c32 ExtVlanTagOperCfgData SetRsp(0x0101,Result=0x0)
0x0c33 ExtVlanTagOperCfgData
Set(0x0101,ReceivedFrameVlanTaggingOperTable=0xf8000000f0005000c00f0000000f0002)
0x0c33 ExtVlanTagOperCfgData SetRsp(0x0101,Result=0x0)
@crrodriguez have you tried this? turn into Transparent Mode
flash set VLAN_CFG_TYPE 1
flash set VLAN_MANU_MODE 0
if your ISP using Q-in-Q, you may need untag VLAN twice...
I got this
2-table get entry address valid
LUT address: 0x000c (1K LUT)
L2 Unicast table:
MACAddress Spa Fid Age Vid State Ext Hash
00:00:00:01:00:02 3 0 1 0 Static 0 SVL
CtagIf Auth DaBlock SaBlock Arp
Dis Dis Dis Dis Dis
LUT address: 0x012c (1K LUT)
L2 Unicast table:
MACAddress Spa Fid Age Vid State Ext Hash
00:0E:C6:5C:3C:E3 0 0 7 0 Auto 0 SVL
CtagIf Auth DaBlock SaBlock Arp
Dis Dis Dis Dis Dis
LUT address: 0x016c (1K LUT)
L2 Unicast table:
MACAddress Spa Fid Age Vid State Ext Hash
00:E0:4C:86:70:01 3 0 1 0 Static 0 SVL
CtagIf Auth DaBlock SaBlock Arp
Dis Dis Dis Dis Dis
LUT address: 0x01b0 (1K LUT)
L2 Unicast table:
MACAddress Spa Fid Age Vid State Ext Hash
--More--
C8:8D:83:92:C0:F8 2 0 7 3980 Auto 0 SVL
CtagIf Auth DaBlock SaBlock Arp
En Dis Dis Dis Dis
RTK.0> l2-table get vid-unmatch port all
Port 0 Action: Forward
Port 2 Action: Forward
gpon show us-flow
============================================================
GPON ONU MAC U/S Flow Status
Flow ID | GEM Port | Type | TCont
0 | 313 | ETH | 0
64 | 33 | OMCI | 16
============================================================
pon show ds-flow
============================================================
GPON ONU MAC D/S Flow Status
Flow ID | GEM Port | Type | Multicast | AES
0 | 2047 | ETH | * |
1 | 313 | ETH | |
64 | 33 | OMCI | |
============================================================
port: 0 rate:1048568
queue: 0 apr-index: 0
queue: 1 apr-index: 0
queue: 2 apr-index: 0
queue: 3 apr-index: 0
queue: 4 apr-index: 0
queue: 5 apr-index: 0
queue: 6 apr-index: 0
queue: 7 apr-index: 0
port: 2 rate:4194296
queue: 0 apr-index: 0
queue: 1 apr-index: 0
queue: 2 apr-index: 0
queue: 3 apr-index: 0
queue: 4 apr-index: 0
queue: 5 apr-index: 0
queue: 6 apr-index: 0
queue: 7 apr-index: 0
It is not making much sense to me, whatever the mode,, internet still on vlan 2496. gpon stick has br0, eth0, eth0.2 eth0.3 and claims setting up port 1 failed to set PVID .
You maybe wondering how I got this vlan 2496 number, well..
- Connect the ISP supplied ONU to the internet
- have the gpon stick booted ready and connected to a media converter, wireshark already capturing on the ethernet side of the converter device.
- as fast as you can change the fiber from isp ONU to your SFP stick,
- If you lucky stars are with you, you will get a pppoe termination packet from the ISP concentrator as the old connection from the isp onu times out, all carring the correct vlan tag.
@crrodriguez how do you produce those debug logs? i need to debug my O3 status on DFP-34X-2C2
My provider doesn't need LoID auth, but looks like the stick is trying to do it :(
@crrodriguez how do you produce those debug logs? i need to debug my O3 status on DFP-34X-2C2
My provider doesn't need LoID auth, but looks like the stick is trying to do it :(
OMCI debug is enabled by
# flash set OMCI_DBGLVL 2
# flash set OMCI_LOGFILE_MASK 2
# reboot
on the next boot, raw OMCI talk will be stored /tmp/omcilog , a human readable version at /tmp/omcilog.par
you may read /proc/ksmg for kernel logs and other info, you can also poke files in /proc/omci .. some will appear to generate no output.. those send the result to /proc/kmsg because manufacturer didn't bother writting reasonable standard drivers that just output to the stdout. :-(
It is a royal PITA to do anything as the only documentation to really do anything is on this repository. manufacturer seems to only offer docs under NDA.
I've understood you have the CarlitoX version. Which firmware is running? Looking at the webui it seems based on ODI firmware.
In case can you share your MTD dump? Thx :)
With carlitosv2, the same thing happens to me, technical support did not get results. But let's focus the case on the vlans, in my case it is vlan6+pppoe ( inet ), vlan3+dhcp (voip), I have only managed to get use of vlan3, in vlan6 it was impossible. I am stuck without a solution.
in Your case what's the output of #diag l2-table get entry address valid
https://ibb.co/hZSpX4Z
l2-table get entry address valid
LUT address: 0x000c (1K LUT) L2 Unicast table: MACAddress Spa Fid Age Vid State Ext Hash 00:00:00:01:00:02 3 0 1 0 Static 0 SVL CtagIf Auth DaBlock SaBlock Arp Dis Dis Dis Dis Dis
LUT address: 0x0058 (1K LUT) L2 Unicast table: MACAddress Spa Fid Age Vid State Ext Hash 32:B6:4F:3E:A2:41 2 0 7 182 Auto 0 SVL CtagIf Auth DaBlock SaBlock Arp En Dis Dis Dis Dis
LUT address: 0x0204 (1K LUT) L2 Unicast table: MACAddress Spa Fid Age Vid State Ext Hash 38:3A:21:27:A2:27 3 0 1 0 Static 0 SVL CtagIf Auth DaBlock SaBlock Arp Dis Dis Dis Dis Dis
LUT address: 0x0320 (1K LUT) L2 Unicast table: MACAddress Spa Fid Age Vid State Ext Hash 42:71:83:AA:40:92 2 0 7 180 Auto 0 SVL CtagIf Auth DaBlock SaBlock Arp En Dis Dis Dis Dis
LUT address: 0x039c (1K LUT) L2 Unicast table: MACAddress Spa Fid Age Vid State Ext Hash E4:8D:8C:08:6D:67 0 0 7 0 Auto 0 SVL CtagIf Auth DaBlock SaBlock Arp Dis Dis Dis Dis Dis
l2-table get vid-unmatch port all
Port 0 Action: Forward Port 2 Action: Forward
gpon show us-flow
GPON ONU MAC U/S Flow Status Flow ID | GEM Port | Type | TCont 0 | 364 | ETH | 0 1 | 365 | ETH | 1 2 | 366 | ETH | 2 64 | 40 | OMCI | 16
gpon show ds-flow
GPON ONU MAC D/S Flow Status Flow ID | GEM Port | Type | Multicast | AES 0 | 2047 | ETH | * | 1 | 364 | ETH | | * 2 | 365 | ETH | | * 3 | 366 | ETH | | * 64 | 40 | OMCI | | *
ami shows me this, I get a 05 because I assigned the Ploam data but I don't connect with vlan6+pppoe or vlan3+dhcp, any idea where or what is needed?
There is vlan 180 and 182 in your output. see which one it is.
I have mounted two, vlan180 + 182 and two ppoe, without results..
https://ibb.co/2v2bY3j
@crrodriguez I received DFP-34X-C2C
after run same flash set
like V2801F, this stick dont have 4-port LAN Emulation, I cannot bridge my Internet, only ISP 1 tr069
VLAN able to...
my Fiber has multiple ISP, I using ISP 2: Fiber Vendor VLAN:
VLAN | Desc |
---|---|
209 |
ISP 1 tr069 |
400 |
ISP 1 VoIP |
500 |
ISP 1 Internet |
600 |
ISP 1 IPTV |
621 |
ISP 2 Internet |
821 |
ISP 2 tr069 |
822 |
ISP 2 VoIP |
823 |
ISP 2 IPTV |
as you can see, only ISP 1 tr069
vlan manage to have IP Address
DFP-34X-C2C using RTL9601D, TTL-UART pin is available
Are screenshots above correct?
In my case, when "Channel mode" is "Bridged" then "WANConfiguration"/"Protocol" is also "Bridged" and no IP is assigned.
But as soon as I set "Channel mode" to "IPoE" I see my permanent white IP.
But the DHCP Client on my Vlan30 interface is always "searching..." And there is no Internet in Mikrotik. Can we speculate why?
channel mode is BRIDGE
then tick LAN_1
Hmm, when I select bridge I have no LAN_1 mapping
no LAN_1
like this?
Sorry, didn't specify the stick. I took your advice and chose ODI stick as my main There is no Lan_1 in that link.
that very odd, my ODI stick do have it
currently I trying to port V2801F rootfs
into ODI stick
That would be great. Right now my ODI stick has Firmware Version V1.0-210702 and no Lan_1 mapping...
that very odd, my ODI stick do have it
I think I figured it out. Your stick is probably version 05 (V05 on contacts pad). In my case it is version 03 (V03). Maybe the hardware revisions are different. Although I bought it in January, it was delivered in February, and now another revision is produced.
no
LAN_1
like this?
Hi, I updated my TWCGPON657 firmware to version C00R657V2801F_V1.9.0-220404. Thank you for nice WebGUI.
Hidden link "/multi_wan_generic.asp" still working?
In my case there are always two blocks of "PPP Settings" and "WAN IP Settings".
To make them disappear I have to click the "Channel Mode" to "Bridged/IpoE" settings, but when I return to "Bridged" and set "Enable VLAN" I get an error after apply changes - Invalid IP/Subnet Mask combination!!! When you roll back the firmware to version V2801F_V1.9.0-201104, the problem persists and does not go away.
Thank you for nice WebGUI. Thanks! Making SFP Stick WebGUI follow web standard, clean look across browsers...
it seem you need reset factory...
V2801F & ODI V1.0-220304
is in full bridge mode...
Factory Reset via Telnet
-
flash set PON_MODE 3
prevent invalid key -
flash get ELAN_MAC_ADDR
,VS_AUTH_KEY
,HW_HWVER
backup -
flash reset cs
-
flash reset hs
then flash set ...
to original value...
Wrong VLAN fix
Do this
- [x] Manual
- [x] Transparent this will map VLAN as is
1:1 mapping
flash set LAN_SDS_MODE 1
If LAN_SDS_MODE
not fix VLAN mapping, try 2
or 3