PPP Remote Address and Local Address

This is a screenshot from my PPPoe connection:

ppp.jpg
I’m confused by the relationship between “Remote Address” and “Local Address

Since the Local Address is my IP address, I was tempted to think about the “Remote Address” as the address of the default gateway, but as you can see it is in a completely different network.

I know this is something related to PPPoe, But out of curiosity i want to know about how it works, or at least what to search for.

PPPoE is a point-to-point tunnel, which means that each side is assigned a /32 (a single IP address), not a subnet.
This means that these IP addresses can be completely unrelated from a subnet point of view - because there is not subnet, just a point-to-point tunnel.

As you said, the remote-ip will be your gateway.
It’s the IP of the other endpoint of the tunnel, which will usually be your ISPs Access Concentrator, which you will use as a gateway.

Thank you.

Another remark: when setting up routes (including default route) that are supposed to pass a PPP link (and PPPoE is included), it’s completely fine (perhaps even preferable) to set interface name instead of remote side’s IP address. This can’t be done for point-to-multipoint connections (i.e. typical ethernet subnet with netmask of anything smaller than 31).