PDA

View Full Version : SLES 12 SP3 how to add default gateway?



oz42
22-Feb-2018, 15:53
I have added my default gateway during the system setup, and Yast shows it. But the system does not have a default route. What is wrong here?

Olaf

ab
23-Feb-2018, 16:53
99% of the time that happens because the bound network addresses do not
match with that gateway. A default gateway must be one accessible by one
of the configured IP addresses, taking into consideration the subnet mask
of that configured network device. As a result, if you have a configured
IP address of 192.168.1.1, and a subnet mask of 255.255.255.0 (/24), and
you try to set a default route of 192.168.2.2 (when you maybe meant to
type 192.168.1.2), you will end up with no default route because it cannot
be reached.


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.