[CentOS] Kernel route table is empty

Tue Nov 24 07:21:22 UTC 2015
Frank Cox <theatre at melvilletheatre.com>

On Tue, 24 Nov 2015 15:13:33 +0800
Siva Prasad Nath wrote:

> I can add using ifconfig and route.
> Then I can see kernel route entry table.
> I reboot system. Then route table is empty.
> 
> How to make kernel route entry table permanent.

Create a file in /etc/sysconfig/network-scripts named route-(ifname)

See section 2.4.4 of the RHEL 7 networking guide here for complete details:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Using_the_Command_Line_Interface.html#sec-Static-Routes_and_the_Default_Gateway

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com