setting gateway for network interface (newbie question)
Hello,
In windows when setting up a network connection you enter the IP, subnet mask, etc.. I learned how to do all that in linux, but I was puzzled how to set the gateway and DNS IP.
For instance, the DHCP router on my network is 192.168.1.2, but the gateway to the internet is actually 192.168.1.1
When I connect to my network linux automatically takes 192.168.1.2 as the gateway, but it's wrong. Is there a way to set 192.168.1.1 as the gateway?
What would be the command?
Thanks in advance guys!!
|