Thanks.  But the !command-line option in hostname.if(5) seems more elegant.

Ken


-----Original Message-----
From: Stuart VanZee [mailto:stua...@datalinesys.com]
Sent: Friday, January 20, 2012 9:58 AM
To: Hendrickson, Kenneth
Subject: RE: Add Route at Boot Time

Or you could just add the route command to your /etc/rc.local file and
have done. :)

s

-----Original Message-----
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of Hendrickson, Kenneth
Sent: Friday, January 20, 2012 9:30 AM
To: misc@OpenBSD.org
Subject: Add Route at Boot Time

+--------------+
|   Firewall   |
|              |     .33    .34    .35    .97
| vr0    dhcpd |      |      |      |      |      Wired Network
| 172.24.10.21 |------+------+------+------+----- 172.24.10/24
|              |
|              |       +-----------------+
| vr1          |       | Wireless Router |
| 172.24.20.1  |-------| 172.24.20.2     |        Wireless Network
|              |       |     192.168.2.1 |------- 192.168.2/24
|              |       |           dhcpd |
|              |       +-----------------+
| vr2          |
| 172.24.30.1  |--------------------------------- Future Use
|              |
|              |       +-----------------+
| vr3 dhclient |-------|   Cable Modem   |------- Internet Cloud
+--------------+       +-----------------+

Problem.  I need to manually do:
        route add -inet 192.168.2.0/24 172.24.20.2

How do I get this done automagically at boot time?
What man pages do I need to (re-)read?

Thanks,
Ken

Reply via email to