Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot delete Default route

I'm using both wifi and wired connection simultaneously. currently my default destination is to wired connection. I need to delete that route. so I can use my WiFi as my default.

Please Help on this

Destination Gateway
Genmask Flags Metric Ref
Use Iface default gateway
0.0.0.0 UG 100 0 0 enp3s0 default
homerouter.cpe 0.0.0.0 UG
600 0 0 wlp2s0 172.19.44.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 172.19.53.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 172.19.55.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp2s0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 192.168.196.0 0.0.0.0 255.255.255.0 U 100 0 0 enp3s0

I have used following commands It will not work.

route delete -net default netmask 0.0.0.0 gw gateway dev enp3s0 sudo route del -net default gw gateway netmask 0.0.0.0 dev ip route del default route del -net default netmask 0.0.0.0 gw gateway enp3s0 route del default gw gateway enp3s0

Cannot delete Default route

I'm using both wifi and wired connection simultaneously. currently my default destination is to wired connection. I need to delete that route. so I can use my WiFi as my default.

Please Help on this

Destination Gateway
Genmask Flags Metric Ref
Use Iface default gateway
0.0.0.0 UG 100 0 0 enp3s0 default
homerouter.cpe 0.0.0.0 UG
600 0 0 wlp2s0 172.19.44.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 172.19.53.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 172.19.55.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp2s0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 192.168.196.0 0.0.0.0 255.255.255.0 U 100 0 0 enp3s0

I have used following commands It will not work.

route delete -net default netmask 0.0.0.0 gw gateway dev enp3s0 sudo route del -net default gw gateway netmask 0.0.0.0 dev ip route del default route del -net default netmask 0.0.0.0 gw gateway enp3s0 route del default gw gateway enp3s0

Cannot delete Default route

I'm using both wifi and wired connection simultaneously. currently my default destination is to wired connection. I need to delete that route. so I can use my WiFi as my default.

Please Help on this

> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface default         gateway 
> 0.0.0.0 UG 100 0 0 enp3s0 default homerouter.cpe 0.0.0.0 UG 600 0 0 wlp2s0 > 172.19.44.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 > 172.19.53.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 > 172.19.55.0 gateway 255.255.255.0 UG 100 0 0 enp3s0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp2s0 > 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 > 192.168.196.0 0.0.0.0 255.255.255.0 U 100 0 0 enp3s0

enp3s0

I have used following commands It will not work.

route delete -net default netmask 0.0.0.0 gw gateway dev enp3s0 sudo route del -net default gw gateway netmask 0.0.0.0 dev ip route del default route del -net default netmask 0.0.0.0 gw gateway enp3s0 route del default gw gateway enp3s0

Cannot delete Default route

I'm using both wifi and wired connection simultaneously. currently my default destination is to wired connection. I need to delete that route. so I can use my WiFi as my default.

Please Help on this

> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface default         gateway     
> Iface
default         gateway         0.0.0.0         UG    100    0        0 enp3s0 enp3s0
default         homerouter.cpe  0.0.0.0         UG    600    0        0 wlp2s0
> 172.19.44.0     gateway         255.255.255.0   UG    100    0        0 enp3s0
> 172.19.53.0     gateway         255.255.255.0   UG    100    0        0 enp3s0
> 172.19.55.0     gateway         255.255.255.0   UG    100    0        0 enp3s0
> 192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0
> 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
> 192.168.196.0   0.0.0.0         255.255.255.0   U     100    0        0 enp3s0

I have used following commands It will not work.

route delete -net default netmask 0.0.0.0 gw gateway dev enp3s0 sudo route del -net default gw gateway netmask 0.0.0.0 dev ip route del default route del -net default netmask 0.0.0.0 gw gateway enp3s0 route del default gw gateway enp3s0

Cannot delete Default route

I'm using both wifi and wired connection simultaneously. currently my default destination is to wired connection. I need to delete that route. so I can use my WiFi as my default.

Please Help on this

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    100    0        0 enp3s0
default         homerouter.cpe  0.0.0.0         UG    600    0        0 wlp2s0
172.19.44.0     gateway         255.255.255.0   UG    100    0        0 enp3s0
172.19.53.0     gateway         255.255.255.0   UG    100    0        0 enp3s0
172.19.55.0     gateway         255.255.255.0   UG    100    0        0 enp3s0
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
192.168.196.0   0.0.0.0         255.255.255.0   U     100    0        0 enp3s0

I have used following commands It will not work.

route delete -net default netmask 0.0.0.0 gw gateway dev enp3s0 sudo route del -net default gw gateway netmask 0.0.0.0 dev ip route del default route del -net default netmask 0.0.0.0 gw gateway enp3s0 route del default gw gateway enp3s0