muffintastic
Senior Member
Hello.
I need help making a script that can flush old routing table ips specific from the WAN side but keeping everything up-to-date in there.
I am running Sky (UK ISP) and if I make specific changes in the router like change DNS or disable UPNP etc it will change the WAN IP and it will leave the old routing IP in the routing table.
The only way around at the moment is to do it the manual way using “ip route flush <IP>” manually removing the old entries.
I have tried “ip route flush cache” but still persistent also tried “ip route flush table main” but the router hangs / freezes.
Looking for something than can detect changes, flush accordingly and automatically upon change.
I need help making a script that can flush old routing table ips specific from the WAN side but keeping everything up-to-date in there.
I am running Sky (UK ISP) and if I make specific changes in the router like change DNS or disable UPNP etc it will change the WAN IP and it will leave the old routing IP in the routing table.
The only way around at the moment is to do it the manual way using “ip route flush <IP>” manually removing the old entries.
I have tried “ip route flush cache” but still persistent also tried “ip route flush table main” but the router hangs / freezes.
Looking for something than can detect changes, flush accordingly and automatically upon change.
Last edited: