Hello Everybody,

The very minimal change to make it work correctly:

--- /usr/src/etc/rc     Fri Jul 30 13:31:07 2021
+++ /etc/rc     Sun Aug  1 12:33:38 2021
@@ -449,6 +449,7 @@
 # Prevents carp from preempting until the system is booted.
 ifconfig -g carp carpdemote 128
 
+# We need to run /etc/netstart two times, first is to set autoconf
flags and static addresses
 sh /etc/netstart
 
 mount -s /usr >/dev/null 2>&1
@@ -456,6 +457,9 @@
 
 start_daemon dhcpleased unwind resolvd >/dev/null 2>&1
 
+sleep 5
+# On second run, it will reconfigure interfaces, setting proper
addresses on interfaces which depend on phys ones, like gif(4), or gre(4)
+sh /etc/netstart
 random_seed

Thank you!

--
With best regards,
    Gregory Edigarov

Reply via email to