OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: FSeidinger on December 26, 2024, 03:54:41 PM

Title: Dashboard shows wrong gateway for PPPOE
Post by: FSeidinger on December 26, 2024, 03:54:41 PM
Hey Forum,

I'm using OPNsense with a PPPOE connection. The connection works fine so far, but the dashboard widget does not show the external IP addresses assigned to the interface but the internal ones.

So in my case the widget shows the following addresses:

WAN_DHCP6: fe80::200:ff:fe00:0
WAN_PPPOE: 195.14.226.161

Is there any way to configure that the external addresses are displayed?
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: Patrick M. Hausen on December 26, 2024, 07:19:26 PM
What makes you think these addresses are not external?
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: peterwkc on December 27, 2024, 11:03:35 AM
Interesting topic.
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: FSeidinger on December 27, 2024, 04:52:31 PM
Quote from: Patrick M. Hausen on December 26, 2024, 07:19:26 PMWhat makes you think these addresses are not external?

The WAN interface has two assigned addresses. Both are ipv6. One is a link local address with fe80::aab8:e0ff:fe02:53c3%igc0. The  second one is the address that it got from the providers static address pool starting with 2001:4dd0. The WAN interface has no assigned ipv4 addresses.

The PPPOE interface has one ipv4 address and three ipv6 addresses. The ipv4 address is the one assigned from the providers static ipv4 address pool starting with 87.79. The first two ipv6 addresses are also ipv6 link local addresses fe80::aab8:e0ff:fe02:53c3%pppoe0 and fe80::aab8:e0ff:fe02:53c4%pppoe0. The third ipv6 address is the address it got from the providers static pool starting with 2001:4dd0
The address shown in the dashboard 195.14.226.161 and fe80::200:ff:fe00:0 are the default gateways and are not assigned to any interface of my router. The ipv4 gateway points to a router in the providers network.

So to be more precisely, the dashboard shows not the ip addresses of the PPPOE interface but its the default gateways.
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: dseven on December 27, 2024, 05:23:17 PM
Quote from: FSeidinger on December 27, 2024, 04:52:31 PMSo to be more precisely, the dashboard shows not the ip addresses of the PPPOE interface but its the default gateways.

Which widget are you talking about? "Gateways" or "Interfaces"?
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: FSeidinger on December 27, 2024, 07:08:52 PM
Quote from: dseven on December 27, 2024, 05:23:17 PM
Quote from: FSeidinger on December 27, 2024, 04:52:31 PMSo to be more precisely, the dashboard shows not the ip addresses of the PPPOE interface but its the default gateways.
Which widget are you talking about? "Gateways" or "Interfaces"?

This one:

(https://i.postimg.cc/HnYYmRv6/Screenshot-2024-12-27-190510.png)

It says gateways, but I expected that is shows the external ip addresses of my router. Also it shows a package loss of 100% for the ipv6 part because  it is no real interface.
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: dseven on December 27, 2024, 08:05:14 PM
Quote from: FSeidinger on December 27, 2024, 07:08:52 PMIt says gateways, but I expected that is shows the external ip addresses of my router.

A gateway is not an interface on your router - it is another host that your router can use as a next-hop to route to a destination (like "the internet"). If you want to see the addresses of your own router(/firewall), add the "Interfaces" widget to your dashboard.
Title: Re: Dashboard shows wrong gateway for PPPOE
Post by: Patrick M. Hausen on December 27, 2024, 11:36:26 PM
Adding to @dseven - these are the ISP systems at the other end of your DSL connection, not your local interfaces. That's why the widget is named Gateways and not Interfaces.