Reply
New Member
Posts: 5
Registered: a week ago

ER-X SFP as FTTH GPON ONU/ONT replacement fail.

Hello, everybody.

I've tried everything. Two latest ER-X SFP firmwares. 5(!) D-Link DPN-100 firmwares.

Bridging wan to lan0 in SFP module. Manually running dhclient -v on eth5.3 and eth5.

And it still defunct. There is no DHCP, routing or Internet on eth5/eth5.3 though I can see incoming traffic on the web interface GUI and everything works fine in module OS while ER-X SFP is seted as switch.

 

The config is just basic wizard defaults. What's the problem here? ER-X SFP is incompatible with D-Link DPN-100?

 

Why I am doing this at all? Because default ONU sucks.

 

Any ideas how to get this done? Get mediaconverter and just plug everything in eth0? Try to configure VLAN on ER-X manually?

 

Here it goes the network scheme:

scheme.png

 

ER-X SFP web gui output:

router.png

 

SFP module ifconfig output in switch mode:

 

exc       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:9F
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1937 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6364 (6.2 KiB)  TX bytes:139614 (136.3 KiB)

lan0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:9F
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1658 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1588 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:153645 (150.0 KiB)  TX bytes:985026 (961.9 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11599 (11.3 KiB)  TX bytes:11599 (11.3 KiB)

wan       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:9E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1822 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1553 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:128695 (125.6 KiB)  TX bytes:124972 (122.0 KiB)

wan.3     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:9E
          inet addr: GOT   Bcast: IT  Mask: FROM ISP BY DHCP	
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1822 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1553 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:95899 (93.6 KiB)  TX bytes:112636 (109.9 KiB)

 

SuperUser
Posts: 16,315
Registered: ‎02-03-2013
Kudos: 8927
Solutions: 595
Contributions: 2

Re: ER-X SFP as FTTH GPON ONU/ONT replacement fail.

This is probably not possible to do without understanding the ISP's network layout so I would ask them.

 

If the ISP is providing you something already routed, then you don't need to route, just setup as a switch.

 

If you want to route a second time, or it needs to be routed, then I don't think the wizzard allows eth5 to be WAN.  You would have to set this up manually with the CLI.   I have done this, but there is a number of things that need to be changed.   You can start with a wizzard config, but then need to carefully edit every last reference for eth0 and change to eth5 and there's plenty of places to change in the cli config.  

ubiquiti certified trainer :: ubwa | uewa
New Member
Posts: 5
Registered: a week ago

Re: ER-X SFP as FTTH GPON ONU/ONT replacement fail.

So I've tried some manual config and found interesting thing.

dmesg | grep SFP

ethtool eth5

First driver says that SFP module is 1000 full duplex and connected on boot.

 

But second one just reports that eth5 interface was somehow autonegotiated to 100 half duplex.

 

If I manually change to 1000 full duplex via config ui it just stop receieves traffic even after reboot because interface must be autionegotiated. So is there some way to autonegotiate eth5 to 1000baseT/Full?

Highlighted
Member
Posts: 131
Registered: ‎07-26-2017
Kudos: 32
Solutions: 2

Re: ER-X SFP as FTTH GPON ONU/ONT replacement fail.

Who provided the D-Link DPN-100? Did you purchase it thirdparty or was it ISP provided?

 

If the screenshot is right then it is running at 103°C which is way more than the 60°​C max working temperature on the data sheet.

 

http://www.dlink.ru/mn/products/1383/1871_b.html

 

You should be able to telnet into the device on 192.168.1.1. Set an appropriate IP on eth5 and give it a go from the ER-X

New Member
Posts: 5
Registered: a week ago

Re: ER-X SFP as FTTH GPON ONU/ONT replacement fail.

[ Edited ]

>Did you purchase it thirdparty or was it ISP provided?
Thirdparty.
>running at 103°C
Temperature sensor is a random lie. I can hold it with my bare hands it's ~50-60 deg like cup of hot tea. Enough for thing that shot lasers.
>Set an appropriate IP on eth5 and give it a go from the ER-X.
Yeah I thought so too when purchased it.
>telnet into the device on 192.168.1.1
Yes I can even ping something from OpenWRT installed there. The ISP IP and traffic is on wan.3 interface.

New Member
Posts: 5
Registered: a week ago

Re: ER-X SFP as FTTH GPON ONU/ONT replacement fail.

[ Edited ]

So I just ignored ethtool negotiation to halfduplex and tried packet capture on eth5. The only packet it receieves is this:

 

 

STP 802.1w, Rapid STP, Flags [Proposal, Agreement], bridge-id 8000.xx:xx:xx:xx:xx:9f.8002, length 47


Then I've also tried put eth5 to switch0 then get dhcp on switch0.3 vlan. Nothing.

 

 

It appears that module itself just do not know whether it's plugged to router or to switch and ER-SFP-X treated as switch by default.

 

All I need is wan.3 from module as eth5.3 or eth5 on ER-X SFP.

 

So If anyone knows how to tell SFP module os to treat device it plugged in as wan router or tell ER-X SFP to get traffic not from module lan0 interface but wan.3 please share the infromation. After basic setup as router module still thinks it's a switch and sends RSTP there. 

New Member
Posts: 5
Registered: a week ago

Re: ER-X SFP as FTTH GPON ONU/ONT replacement fail.

[ Edited ]

 

ACS_SERVER_URL:
ACS_USER_NAME:
ACS_PWD:
USER_NAME:
USER_ID:
DEFAULT_SN:
ONU_VERSION:9
ONU_CHIP:8
TR069_SPEC_VERSION:1
TR069_CPE_OUI:A2000
TR069_PRODUCT_CLASS:I-010G-V
TR069_CPE_MANUFACTURE:ONU
TR069_HARDWARE_VERSION:V1.7
TR069_SOFTWARE_VERSION:V1.8
DEFAULT_SN:123456789012
WAN_IF_VLAN:46

Next I've done even more research and found this line in tr069_def_cfg_file in module firmware root folder.

 

 

I made switch0 aware of vlan 46 then put eth5 to switch0 and created switch0.46 and switch0.3 vlans. And tried some more combinations with vlans 3 and 46 on both eth5 and switch0. Still nothing happens.

 

Is there some kind of reptilian illuminati conspiracy behind this ONU-SFP modules setup?

 

Reply