You are not logged in.
I've just brought my computer to work and plugged it into my network, and manually configured it. But I screwed up and typed in the wrong default route. Not it won't let me change it. I tried deleting the old IP info and re-adding the entire entry, as well as just overwriting the route. I save each time. But it won't get out of my local subnet, and when I run "ip route" it shows the original wrong route as the default route.
I' tried manually deleting the bad route ("sudo ip route del <IP ADDRESS>) but I get:
RTNETLINK answers: No such process.
There is one somewhat unusual circumstance: we use big subnets at work that are 8 normal subnets. I correctly entered the subnet mask (255.255.248.0) which it converted to "21" (which seems correct). I'm wondering if this is related because my address is xxx.xxx.52.247, and the route should be xxx.xxx.48.1, but it is insisting on the thing I typoed, which happens to be xxx.xxx.52.1.
I also tried using systemctl to restart networking.
The thing that finally worked was (doh!) unplugging the network cable, waiting a few seconds (until I got an onscreen notification), and plugging it back in. It came back with the newer route info and everything works.
I still am wondering why the ip route del command doesn't work, and why changing things in the network connections panel also doesn't work (without manual intervention). These still seem like bugs?
Offline