Comments (5)
It seems some routes are duplicated with different metrics. This could happen when the ifindex
of an interface changes.
To test this hypothesis, in /usr/lib/udm-iptv/udhcpc.hook
, could you add the following:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
# Use busybox if iproute2 is not installed
if ! command -v ip > /dev/null 2>&1; then
alias ip="busybox ip"
fi
+export IF_METRIC=200
That should resolve the issue if my hypothesis is true.
from udm-iptv.
I tried the suggested change, and although the metric started again at 200, it just keeps adding duplicate routes.
10.10.0.33 via 10.10.56.1 dev iptv metric 200
10.10.0.33 via 10.10.56.1 dev iptv metric 201
10.10.0.33 via 10.10.56.1 dev iptv metric 202
185.24.175.0/24 via 10.10.56.1 dev iptv metric 200
185.41.48.0/24 via 10.10.56.1 dev iptv metric 200
185.41.48.0/24 via 10.10.56.1 dev iptv metric 201
from udm-iptv.
Almost 24 hours later, and this is stil the case. but because we start at 200 everytime the above stays the same 6 rows.
I try not to touch the router to see if something happens.
from udm-iptv.
I guess your ISP sends the routes in different order when renewing the lease, causing a different metric in turn.
See
Line 80 in 5632542
from udm-iptv.
As far as i can see the routes only doulble. so no more than 2 routes to the same address exists.
When look in the .hook file:
for i in $router; do
if ! ip -4 route show | grep ^default | grep $i; then
routes
This should only execute route when the route is not found.
On my machine ip -4 route show | grep ^default returns nothing.
Although the routes are already there.
from udm-iptv.
Related Issues (20)
- Persistent folder moved HOT 1
- IPTV dont work after Update to 2.4.7 - There must be at least 1 Vif as upstream.
- IGMP proxy issue ( default)
- Multiple decoders issue HOT 17
- Unable to install scrip on the UXG pro HOT 1
- Problem installing the udm-iptv package on UDM-pro (404 Not Found)
- Problem installing the udm-iptv package on UDM-Pro HOT 6
- Install on UDR 3.1.11 fails HOT 5
- KPN IPTV Error 563
- XploreTV (A1-Austria) is not working HOT 1
- KPN IPTV Error 563 HOT 2
- 404 not found with install package HOT 1
- Wan port is incorrect HOT 2
- Modules can't load in UDM SE 3.2.5 HOT 4
- After update to OS v3.2.7 KPN-IPTV not working anymore HOT 7
- KPN iptv not working after UDM-SE update to 3.2.9
- IMPROXY generates errors on UGX-Lite HOT 15
- BT IPTV Stops working after ~5 minutes (UXG Lite) HOT 9
- After upgrade to 3.2.9 i cant install udm-iptv HOT 1
- Labeling of WAN ports in setup dialog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from udm-iptv.