Results 1 to 3 of 3

Thread: Permanent static routes in openbsd?

  1. #1
    Senior Member
    Join Date
    Sep 2001
    Posts
    1,027

    Permanent static routes in openbsd?

    Under openbsd, how do you add -permanent- static routes?
    (plain "add route" vanishes on reboot...)

    TIA

    Ammo

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Posts
    1,027
    Answering my own question:
    Only way I've found / have been told (other that putting it in rc.conf directly) is to add it in hostname.if with the "!" prefix (executes a command)... Which makes some sence I guess (this is suggested in hostname.if's man page also..).

    Ammo
    Credit travels up, blame travels down -- The Boss

  3. #3
    Computer Forensics
    Join Date
    Jul 2001
    Posts
    672
    static route as in gateway or add it to the routing table ? edit /etc/mygate for the gateway......

    route would be like route add -static ....I don't recall off hand but its in the man pages.........
    Antionline in a nutshell
    \"You\'re putting the fate of the world in the hands of a bunch of idiots I wouldn\'t trust with a potato gun\"

    Trust your Technolust

Posting Permissions

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