Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #254 (new enhancement)

Opened 2 years ago

Last modified 21 months ago

wans status (Status/Overview page)

Reported by: etienne.champetier@… Owned by:
Priority: minor Milestone:
Component: LuCI Base Keywords: multiwan
Cc:

Description

Patch to display all WANs on the Status/Overview? page, and not just one

feel free to correct defaultroutes6, i'm not sure of this one

Best Regards
Etienne Champetier

Attachments

multiwan.diff Download (12.8 KB) - added by etienne.champetier@… 2 years ago.
multiwan7465.diff Download (12.9 KB) - added by etienne.champetier@… 21 months ago.
updated patch

Change History

Changed 2 years ago by etienne.champetier@…

Changed 21 months ago by etienne.champetier@…

updated patch

follow-up: ↓ 2   Changed 21 months ago by soma

Hi Etienne,

i tested this patch and it seems to work. But there is one thing i don't really like, maybe you can find a way to work around this:

I'm using a mesh with olsr where i receive a default route too. Now if i have a wan connection where i get a defaultroute from (with metric 0) this one will always be the preferred route, because the defroute from olsrd has a metric > 0. With your patch both connections/routes are shown in the status which i think is not optimal, i prefer the old behaviour where only the route with the lower metric is shown, because that is the one that is actually used (in the normal case, i.e. without multiwan).

Do all routes from multiwan have the same metric? Then maybe you can add something that only adds these routes to the table. Another solution could be to disable the wan status completely when multiwan is used and instead link to the multiwan-status page.

Regards, soma

in reply to: ↑ 1   Changed 21 months ago by anonymous

Replying to soma:

Hi Etienne,

i tested this patch and it seems to work. But there is one thing i don't really like, maybe you can find a way to work around this:

I'm using a mesh with olsr where i receive a default route too. Now if i have a wan connection where i get a defaultroute from (with metric 0) this one will always be the preferred route, because the defroute from olsrd has a metric > 0. With your patch both connections/routes are shown in the status which i think is not optimal, i prefer the old behaviour where only the route with the lower metric is shown, because that is the one that is actually used (in the normal case, i.e. without multiwan).

Do all routes from multiwan have the same metric? Then maybe you can add something that only adds these routes to the table. Another solution could be to disable the wan status completely when multiwan is used and instead link to the multiwan-status page.

Regards, soma

Hi soma

with multiwan (ipv4) i've 2 default route with 0 metric
i'll think of another version

Best Regards
Etienne

Add/Change #254 (wans status (Status/Overview page))

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.