Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Network-Scripts Error

    Posted on

    I am having some issues with my scripts not wanting to add the default gateway.

    I have multiple websites running on my server they are all configured correctly as they have worked perfectly in the past. However what is happening lately is that we are changing our service provider so I need to update the default gateway in the scripts as we move the sites to our new provider.

    They run fine once they have been moved however some of them refuse to add the old gateway!
    I get the below error
    Error adding default gateway 10.36.208.244 for eth0:3

    I have 9 interfaces configured like this.

    My eth0 files look like the following

    DEVICE=eth0:3
    IPADDR=10.36.208.187
    NETMASK=255.255.255.0
    ONBOOT=yes
    TYPE=Ethernet
    BOOTPROTO=none
    IPV6INIT=no
    USERCTL=no
    GATEWAY=10.36.208.244

    It worked fine in the past. But for the last couple of days it has been randomly complaining about this which causes the sites to be offline!

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat