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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.