Under openbsd, how do you add -permanent- static routes?
(plain "add route" vanishes on reboot...)
TIA
Ammo
Printable View
Under openbsd, how do you add -permanent- static routes?
(plain "add route" vanishes on reboot...)
TIA
Ammo
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
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.........