Silly question trying to find my PON ip

currently trying to understand the network my ISP provided me, I need to connect to the PON, which is past the wifi ap, which doesn't show any gateway info. I know my way around L2 ipv4/6 etc but have never worked with fiber nor complex pppoe concepts.

The modem is an EMG5523-T50B (V5.50(ABPM.2)b3_S0). I can access the web interface but get denied for ssh/telnet.

Past it is a GPON HG8010H (on the wifi ap's WAN ethernet port) which I hope can be my only interface with the ISP. it has a fiber and ethernet ports, which is connected to the router wan.

Now, I yet do not have my openwrt device, nor a usb to ethernet, so i'm trying to map things via wifi and failing miserably. For one, I cannot figure out the ip of pon as the wifi ap/modem doesn't show me the gateway it is using and I am failing to use the new network tools on the only linux laptop i have here.

here's tracepath to the default dns server for the isp:

 $ tracepath 154.66.104.151 -n
 1?: [LOCALHOST]                      pmtu 1500
 1:  192.168.1.1                                          16.208ms 
 1:  192.168.1.1                                          15.617ms 
 2:  102.215.63.254                                       19.846ms 
 3:  no reply
...

to 1.1.1.1

 $ sudo tracepath -4n -p 53 1.1.1.1
 1?: [LOCALHOST]                      pmtu 1500
 1:  192.168.1.1                                           3.151ms 
 1:  192.168.1.1                                           1.907ms 
 2:  102.215.63.254                                        4.196ms 
 3:  102.130.195.214                                       4.123ms 
 4:  102.130.195.233                                       4.365ms asymm  3 
 5:  154.66.104.77                                        23.884ms asymm  4 
 6:  no reply
 7:  no reply

My external, visible IP is 102.216.52.25

So i was assuming 102.215.63.254 would be the PON, but doesn't seem to be it. it doesn't match any fingerprinting i expected from the online info on it (i.e. port 80 open) instead I get port 25 open from the inside and lots of open ports from the outside and I also get random high ports open (which suggest external host, or maybe some upnp?), but very low latency (which is dead give away it is the PON)

Nmap scan report for 102.130.195.214
Host is up (0.0045s latency).
Not shown: 997 closed tcp ports (conn-refused)
PORT     STATE    SERVICE
25/tcp   filtered smtp
1066/tcp filtered fpo-fns (show at random)
1105/tcp filtered ftranhc (show at random)

from outside the lan:

Nmap scan report for 102.130.195.214
Host is up (0.11s latency).
PORT     STATE    SERVICE
25/tcp   filtered smtp
53/tcp   open     domain
139/tcp  filtered netbios-ssn
445/tcp  filtered microsoft-ds
1900/tcp filtered upnp
2869/tcp filtered icslap
9968/tcp filtered unknown (show at random)

here is all the info I get from the modem

WAN Information (Ethernet WAN)

        Name
        Internet
        Encapsulation
        IPoE
        IP Address
        102.216.52.25

        IP Subnet Mask
        255.255.252.0
        IPv6 Address
        N/A
        MAC Address
        88:AC:C0:90:80:C3
        Primary DNS server
        154.66.104.151
        Secondary DNS server
        154.66.104.150
        Primary DNSv6 server
        N/A
        Secondary DNSv6 server
        N/A

        Name
        VOD
        Encapsulation
        IPoE
        IP Address
        10.152.89.97

        IP Subnet Mask
        255.255.0.0
        IPv6 Address
        N/A
        MAC Address
        88:AC:C0:90:80:C4
        Primary DNS server
        154.66.104.151
        Secondary DNS server
        154.66.104.150
        Primary DNSv6 server
        N/A
        Secondary DNSv6 server
        N/A

        Name
        Voice
        Encapsulation
        IPoE
        IP Address
        N/A

        IP Subnet Mask
        N/A
        IPv6 Address
        N/A
        MAC Address
        88:AC:C0:90:80:C5
        Primary DNS server
        N/A
        Secondary DNS server
        N/A
        Primary DNSv6 server
        N/A
        Secondary DNSv6 server
        N/A

        Name
        FON
        Encapsulation
        IPoE
        IP Address
        N/A

        IP Subnet Mask
        N/A
        IPv6 Address
        N/A
        MAC Address
        88:AC:C0:90:80:C6
        Primary DNS server
        N/A
        Secondary DNS server
        N/A
        Primary DNSv6 server
        N/A
        Secondary DNSv6 server
        N/A

LAN Information

    IP Address
    192.168.1.1
    Subnet Mask
    255.255.255.0
    DHCP
    Server

Security

    Firewall
    Medium
  • To be clear, how is your post related to OpenWrt?
  • To be clear, what are you asking of the OpenWrt community?
  • Why would it have an IP [for your accessibility]?
  • Why are you seeking the IP of the ISP's equipment?

Of course not, the 102.216.52.254/16 IP is your ISP's next upstream Layer 3 device (i.e. a router).

i picked the "network and wireless" category.

This is planning the work for when I attach openWRT as the PPPOE host on the gpon.

We see.

That's cool - but you mentioned nothing about what you need for PPPoE. You've instead been asking about the IP of your ISP's GPON ONT box. If you still have more [OpenWrt-related] questions, let us know. Usually we ask for tidiness - that you make one thread per topic.

why the hostility?

First step to set up the interface is to inspect what is working and use the same setup but on the openwrt device. I think i can follow the usual guides after i know which fixed ip to set my future interface to, just having trouble navigating the weird ISP setup and figured the people here would have some suggestions.

I have no clue what you're referring to.

I think you're confused on what a GPON ONT is and is not. Your statement still doesn't explain why you're tying to access or determine an IP of your ISP's equipment - that you don't need to access. You likewise don't explain why you're mentioning the GPON. I assume you think you're supposed to access it to reverse engineer your Internet connection?

I can only guess.

In any case you mentioned PPPoE - I hope this helps: https://openwrt.org/docs/guide-user/network/wan/wan_interface_protocols#protocol_pppoe_ppp_over_ethernet

I also found: https://openwrt.org/docs/guide-user/network/wan/isp-configurations

Nonetheless, feel free to ask any OpenWrt related questions as they arise when you setup PPPoE on the device.

1 Like

I am not sure I understand about this IP address of the GPON/PON... I understand you have a ONT, connected on one side to the fiber and an ethernet on the other side, right?

Behind that ethernet connection you will need a router, that will initiate a PPPoE connection, and that connection will have an external (presumably public) IP address.

If you need to manage the ONT, then you need to figure out how to reach it through the ethernet port. Some require a specific sequence of actions during the initialization and/or a specific configuration on the computer connected to it.

1 Like

apologies if i was misreading the tone.

The current setup is:

<laptop> --wifi-->
  <ap modem> --ethernet-->
    <gpon> --fiber-->
       isp

Modem and gpon are provided by the isp.

I want it to be:

<openwrt ap> --ethernet-->
   <gpon> --fiber-->
      isp

Docs for the GPON says i should access it via http to enable ssh etc. But i'm failing to find that IP on the current setup.

Interesting - at my location, the ONT belongs to the ISP and is controlled by them (i.e. the demarcation). I never considered the OP may need to manage the ONT.

Good catch.

Here, I just unplug the ISP's router, and plug the OpenWrt into the ONT's Ethernet interface. Since I don't need PPPoE and just plain Ethernet, no further config is necessary.

  • And you verified that the ISP allows you to configure the ONT?
  • It seems to me, you just need the correct PPPoE settings from the ISP

I've never heard of that and it seems rather odd, since you can also steal service by doing so. My apologies for not understanding at first you need to access the ONT.

yep, this is the first time i'm fiddling with the optical terminal because it is pretty beefy, and I did get a password from the ISP, so i guess that was an invitation? :slight_smile:

Again, as i said and why this is a silly topic, i'm lacking my openwrt device at the moment and do not have a usb->ethernet adapter, so i'm stuck trying to figure this out via the modem so far, which stubbornly doesn't show me any upstream ips via the web UI that i have access to.

1 Like

Cool, but I don't think you'll find your PPPoE settings (if needed) in there.

Did you verify with your ISP the following question: "what needs to be done to Bring My Own Device (BYOD) to connect it to the ONT's Ethernet port"?

The ONT usually doesn't have an IP - at least from the customer's side. For all intents and purposes, ISPs generally configure them much like a Fiber-to-RJ-45 Ethernet adapter.

1 Like

I'ts similar around here: the ONT is sometimes a "simple ONT", that belongs to the ISP and does not require any user interaction (in theory, but can be accessed if you are lucky, for "advanced tinkering"); and sometimes, the ISP provides an "all-in-one" that includes the ONT and the router/AP.

2 Likes

If you are lucky, all you need to do is configure the PPPoE client adequately.

Can you state your ISP and country? Chances are somebody else is in the same situation, and can provide further info.

1 Like

I'm on Angola. ISP is ZAP.

They have zero support around here. Even basic support is "we are sending someone to replace everything". And technically I do not need to access it.

But my initial research on the ont shows it is pretty capable (dual A9, 256ram, 128flash) and from the UX i've seen on the docs i probably can get the info I need from it.

I think i'm just failing basic networking and passive fiber knowledge (never dealt with it)

Fiber-to-RJ-45 Ethernet adapter

how is that called? how do i learn about how it shows up on my net topology? like an SFP via ethernet that somehow shows up as a local interface on the other side?

it's manual says it should have an IP... maybe if i attach it to my modem LAN port...?

A technical name for a device that only converts one physical medium of Ethernet to another is called a "Media Converter".

It won't "show up" in your Layer 3 topology, as they are generally configured as a Layer 2 device. Your traceroute above already shows this.

Maybe, but we have no clue how/if the ISP configured that. Your ONT could be configured so that the [management] interface is on the ISP's internal management network - and not facing your [customer] Ethernet port. We wouldn't know. I'm not familiar with the phrase "modem LAN port" - are you still referring to the GPON ONT?

My ONT (and most I've experienced) have only 1 Ethernet port, so your statement confuses me.

No I do not mean the ont. You are correct, the ONT only have two ports, ethernet and fiber. But the ONT manual says it shows a webUI on 192.168.1.100

remember i'm still interfacing it via the regular ap modem. The ONT is behaving as the L2 node you described. I was wondering if it select the mode by the other side of the ethernet connecting to that mode or not.
Maybe the modem WAN port puts the device on fiber-converter mode, and moving to the LAN port will put the device in dhcp client mode after the fiber-converter mode is not used?

Or is there a way to set up a "fiber lan" and that IP is meant for the fiber port?

There's an OpenWrt config to access a 192.168.1.100 IP of a modem or device such as yours. Obviously, we have not clue how to set this on the ISP's router (they likely have it blocked).

See:

No clue what you mean, and to be honest, since you don't have an OpenWrt, it's not clear what you're asking to setup. We wouldn't know how to setup non-OpenWrt devices.

1 Like

that worked out. Thanks for all the info!

Starting the GPON ONT with a dummy device plugged into it's ethernet port, put it into L3 ipv4 mode.

After that moving the ethernet cable to the LAN port of the modem (after changing the LAN config on the modem from the default 192.168.1.1 to 192.168.100.10) allowed me to access 192.168.100.1 (default GPON address) from the wifi and i managed to access the web UI. Success.

1 Like

I think you are looking into this too deeply... If things work around there like they work around here, you do not need to configure the ONT, and you do not need any knowledge of the underlying technology. If my assumptions are correct, all you need to do is plug a router to the ethernet port, and configure a PPPoE client.

4 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.