On Fri, Oct 04, 2019 at 08:47:57AM +0200, Johann Spies wrote:
How do I remove the first default route in this list?
$ sudo ip route list
default dev enp0s25 scope link
default via 192.168.1.1 dev wlo1 proto dhcp metric 600
…
sudo ip route del default dev enp0s25 scope link
Basically write "su
On 10/4/19, Johann Spies wrote:
> This problem arised recently after an upgrade (running sid)
>
> How do I remove the first default route in this list?
I'd leave both in - that way things should Just Work if either of the
interfaces goes down.
The question then becomes which interface do I want
Johann Spies wrote:
> $ sudo ip route list
> default dev enp0s25 scope link
> default via 192.168.1.1 dev wlo1 proto dhcp metric 600
> 169.254.0.0/16 dev wlo1 scope link metric 1000
Have you tried specifying the device and/or the GW address, to narrow
down which route you want to delete, i.e.:
su
This problem arised recently after an upgrade (running sid)
How do I remove the first default route in this list?
ip route del default
does not do it. When I disable enp0s25 the second line (via 192.168.1.1)
will be the only and correct default route. In that case "ip route del
default" wil re
4 matches
Mail list logo