Re: Gateway question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/09/2016 11:51 AM, Birta Levente wrote:
If I add "#route add default gw 192.168.1.1 dev enp3s0" all is good, but cannot add that in route-iface file or with "ip route" ....


Are you using the "network" or the "NetworkManager" service to configure your network? I haven't verified that the route-<interface> files are supported by NetworkManager.

If you are using the older "network" service, then you might be getting the syntax of the route-<interface> file wrong. If you included the contents of your ifcfg-<interface> and route-<interface> files, we could check.

Generally, I'm quite certain that the document I provided describes how to accomplish specifically what you're trying to accomplish.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux