Certain static routes not getting automatically applied at boot-time

Solution Verified - Updated -

Issue

  • We have static routes configured in a route-<interface> file in /etc/sysconfig/network-scripts, using the ADDRESS#=, NETMASK#=, GATEWAY#= format, and when restarting the network service, some of the routes get applied while some others don't. In the following example, the last route for the 172.24.6.0/24 network does NOT get added automatically:

    GATEWAY0=10.60.100.1
    NETMASK0=255.255.255.0
    ADDRESS0=172.24.4.0
    GATEWAY1=10.60.100.1
    NETMASK1=255.255.255.0
    ADDRESS1=172.24.5.0
    GATEWAY2=10.60.100.1
    NETMASK2=255.255.255.0
    GATEWAY3=10.60.100.1
    NETMASK3=255.255.255.0
    ADDRESS3=172.24.6.0
    

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content