Static routes in rc.conf

Zare

Well-Known Member

Reaction score: 55
Messages: 386

Ok, i have defined static route in rc.conf, so i can access my work computer via a secondary VPN gateway.

But, route add fails because the network interface isn't configured yet, dhclient runs few seconds after. Any way i can tweak the rc.d runorder for that route command?
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 2,937
Messages: 11,343

Try
Code:
synchronous_dhclient="YES"
 
Top