Find the answer to your Linux question:
Results 1 to 2 of 2
I want to know that if I add an static route, in which file it will be saved automatically accept I add it manually to rc.local file....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2014
    Posts
    1

    Routing file


    I want to know that if I add an static route, in which file it will be saved automatically accept I add it manually to rc.local file.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,441
    Hi and welcome

    fyi: I moved your thread here.

    The correct file depends on the linux distribution.
    On a debian, it is /etc/network/interfaces
    On a redhat, there is a file per network device, e.g.: /etc/sysconfig/network-scripts/route-eth0
    https://access.redhat.com/documentat...ic-routes.html
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •