-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WAN over PPPOE - default Route is not set #850
Comments
|
Andreas, the problem with your reports is that they miss vital information. Please read the following and report back: https://github.com/opnsense/core/blob/master/CONTRIBUTING.md It's simply not possible to help with no information about your setup, logs, etc. |
|
I'll still need version info and additionally a dump of the following file(s), but careful with embedded credentials... |
|
i will sent you an email |
|
any news with the infos from my email? |
|
Experimental patch at b349470, it looks like a missing Multi-WAN awareness issue. |
|
This is on the 17.1 development track for now (opnsense-devel package under 16.7) |
|
I haven't heard of further problems from @andreasvel and it's currently queued up for inclusion in 16.7.1. Thanks! |
|
Its there again.. 👎 |
|
The bug is back now too in OPNsense 16.7.13-amd64 route add -net default -interface pppoe0 everythings works but any change in config (such as in Web Proxy removes the IPv4 default route manually added previously. |
|
It looks like "the" bug never went away completely, looking like a narrow race condition, which makes this hard to trace with the amount of additional info provided. 17.1 is almost out, featuring a new FreeBSD version. If anything we need to see how it performs there and think about what can be done? |
|
I had this today. I couldn't figure out why it could not ping, traceroute, or connect to anything on the Internet. If i forced the use of WAN interface it would work fine. Finally i found the routes screen. The default route is set to go the physical WAN port, rather than the PPPoE virtual port: I couldn't find anything in the UI to repair, reset, change, or fix it. So i had to yank the live USB stick and revert to pfSense. |
How about release/renew the PPP lease from the Interfaces: Overview page? Or saving/reapplying the WAN configuration? Or console option 11 or reboot... ;) |
Strictly speaking i did reboot; but without the Live USB stick in. I'll try again tonight. I had to get the Internet back up before people started complaining too much. |
|
@JackTrapper, can you walk me through your setup sequence? You use the wizard to configure PPPoE? |
|
(in the context of this older bug, we have found some caching files that were never cleared, so that might have something to do this this no default gateway behaviour previously reported for when this was referencing 16.7) |
|
So i plugged in the USB stick and booted it up again. OPNSense 17.1.4Welcome to OPNSense! Starting wizard.
General information.
Time Server Information.
Configure WAN Interface
Configure LAN Interface
Set Admin Web GUI Password
Reload Configuration
Finished initial configuration!
How are the routesSo now it is setup. Lets check the routes System -> Routes -> Status
So it's using the wrong interface as the default route. Lets try pinging. Interfaces -> Diagnostics -> Ping
Fails. Lets force use of the WAN (i.e. pppoe0) interface:
So if i force the use of the interface, the packets will go. It just doesn't realize the default route. Disconnect and reconnect PPPoELets try forcing a disconnect and reconnect of the PPPoE interface Interfaces -> Overview -> WAN Interface (wan, pppoe0)
And check the routes again
Still the wrong route. What about pinging again Interface -> Diagnostics -> Ping
Nope, still cannot ping using the default gateway. Disable and re-enable the WAN interfaceLets disable the interface: Interfaces -> [WAN]
And re-enable it:
And check the routes again: System -> Routes -> Status
Still the wrong route. And ping still fails: Interfaces -> Diagnostics -> Ping
And again if i force the use of PPPoE interface directly, it works:
Now to go back downstairs, pull the USB stick, let pfSense boot up, and put my nicely formatted, long, verbose, findings into Github markdown. Should be posted in about an hour.
|
|
Lots of progress here in the backgrounds, eventually cleaning up the IP renewal facilities for 17.7. 17.7-RC1 is out soon, please retest then. |
|
So i finally tried 17.7 and it still happens: Even though the PPPoE interface is up, the default interface is out the physical WAN port - with traffic going nowhere. System -> Routes -> Status
Even though my PPPoE interface is up System -> Gateways -> Status
If you compare that to pfSense:
So i guess where at a point where we're stuck. |
|
So what's needed to help get this fixed? By definition i'm starting a fresh install - Live USB stick. Somebody on the planet must understand why the operating system refuses to use the correct default route. Is there a logfile that opnSense needs to log to? |



Hi,
im using PPPOE for my WAN - if its the default gateway the IPv4 default is not set.
The Default IPv6 is set corect
The text was updated successfully, but these errors were encountered: