[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can I save static routes



"gqtang" <gqtang_files@sina.com> writes:

> I am a new OpenBSD user. I want to know which file save the static
> route . The file in LINUX is /etc/sysconfig/static-routes. Which is
> it in OpenBSD? If it is /etc/gateways, how can I use it?

A good place for these is /etc/hostname.xxx, where "xxx" is the
relevant interface name for the rule(s) in question.

man hostname.if