My cable modem takes around 5 minutes to boot up and enable its LAN ports. This is far too slow for freebsd's dhclient, which gives up and causes a bunch of other things to fall over (like the pf outbound NAT rule) because it doesn't set an ip address on the interface using a saved lease. I set a 'timeout' of 600 in dhclient.conf, but it seems to be ignoring it or using a short hardcoded wait time in this case. (Also, the timestamps are all the same for some reason until some services are started; not sure how to get proper timing info for the startup process.)
Code:
Dec 1 09:29:47 srv kernel: Starting dhclient.
Dec 1 09:29:47 srv kernel: re1: no link .....
Dec 1 09:29:47 srv kernel: ......... giving up
Dec 1 09:29:47 srv kernel: /etc/rc.d/dhclient: WARNING: failed to start dhclient
Dec 1 09:29:47 srv kernel: Starting Network: lo0 re0 re1.
...
Dec 1 09:29:47 srv kernel: re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
Dec 1 09:29:47 srv kernel: options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
Dec 1 09:29:47 srv kernel: ether ****
Dec 1 09:29:47 srv kernel: inet6 fe80::****%re1 prefixlen 64 scopeid 0x2
Dec 1 09:29:47 srv kernel: media: Ethernet autoselect (none)
Dec 1 09:29:47 srv kernel: status: no carrier
...
Dec 1 09:29:47 srv kernel: re0: link state changed to UP
Dec 1 09:29:47 srv kernel: re1: link state changed to DOWN
Dec 1 09:29:47 srv kernel: lo0: link state changed to UP
Dec 1 09:29:47 srv kernel: re0: link state changed to DOWN
Dec 1 09:29:47 srv kernel: re0: link state changed to UP
Dec 1 09:29:47 srv kernel: re1: link state changed to UP
Dec 1 09:29:47 srv kernel: re1: link state changed to DOWN
Dec 1 09:29:47 srv kernel: re1: link state changed to UP
...
Dec 1 09:29:47 srv kernel: Starting devd.
Dec 1 09:29:47 srv kernel: Waiting 30s for the default route interface: ...
Dec 1 09:29:47 srv kernel: ........................
Dec 1 09:29:47 srv kernel: ..
...
Dec 1 09:29:47 srv kernel: Enabling pf
Dec 1 09:29:47 srv kernel: /etc/pf.conf:25: rule expands to no valid combination
Dec 1 09:29:47 srv kernel: pfctl: Syntax error in config file: pf rules not loaded
Dec 1 09:29:47 srv kernel: /etc/rc: WARNING: Unable to load /etc/pf.conf.
...
Dec 1 09:31:36 srv dhclient[1237]: New IP Address (re1): ****
Dec 1 09:31:36 srv dhclient[1241]: New Subnet Mask (re1): ****
Dec 1 09:31:36 srv dhclient[1245]: New Broadcast Address (re1): ****
Dec 1 09:31:36 srv dhclient[1249]: New Routers (re1): ****