Set gateway from terminal

I was in a bit of a hurry when I installed static IP on a machine so I set the wrong gateway. How do I change it?

I did follow this guide
nethserver-base — NethServer 7 documentation
And did even remove the eth0 and create a new but it just show ip addr and netmask

I did reboot and did find network-recovery so I did use that to set a IP and then connect a computer to same network and login to nethserver GUI and change it and now it works :slight_smile:

1 Like