Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-970

Linux images lose default gateway when rebooted if static public IP address is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.2
    • 2.5
    • vcld (backend)
    • None

    Description

      On Linux images, a default route is added when setting a static public IP address using the route command. This route does not persist if the computer is rebooted.

      To resolve this for Red Hat-based distributions, a file should be added for the public interface when a static IP is set:
      /etc/sysconfig/network-scripts/route-<interface>

      The contents should be:

      default via [gateway IP] dev [interface]

      I don't think this is currently a problem for Ubuntu.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: