On 2006/09/20 15:14, charles Collin wrote: > I can do that with a: > route add 10.82/15 172.18.254.1 > The only problem is when i reboot the OpenBSD box, this route disappears! > > I can't figure out how to make new routes persistent, though i've been > googleing quite a lot. > > Is there any file in /etc that gets read by the system at boot time that > configures additional routes like /etc/mygateway ?
You can add !route add 10.82/15 172.18.254.1 to the relevant /etc/hostname.if file, and the route will be added when the network interface comes up.
