Summary: | [carp] carp stuck in INIT state | ||
---|---|---|---|
Product: | Base System | Reporter: | Ole Myhre <ole> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Only Me | CC: | msl0000023508 |
Priority: | Normal | ||
Version: | 10.0-BETA1 | ||
Hardware: | Any | ||
OS: | Any |
Description
Ole Myhre
2013-10-17 11:50:00 UTC
Ole, O> When configuring carp on an interface that has no previous configuration (such as during boot), carp is stuck in INIT until vhid and inet address are set two more times. Yep, known problem. :( I tried to fix it a year ago, but backed out fix due to some fallouts. I promise to get back to it, but won't be in time before 10.0-RELEASE. Meanwhile, the working command sequence would be: [root@fw1 ~]# ifconfig lagg0.1200 create [root@fw1 ~]# ifconfig lagg0.1200 vhid 1 10.0.0.1/24 up Notice the "up" keyword. It will make ifconfig(8) to do SIOCSIFFLAGS kick to the interface. In rc.conf you need to specify it too: ifconfig_lagg0="vhid 1 10.0.0.1/24 up" P.S. For reference, here is my bad attempt on fixing this: http://freshbsd.org/commit/freebsd/r244678 It was reverted later. -- Totus tuus, Glebius. Responsible Changed From-To: freebsd-bugs->glebius Mine For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped (In reply to Gleb Smirnoff from comment #1) Thanks for the workaround. |