Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 10:48:55 GMT
From:      Ole Myhre <ole@dataoppdrag.no>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/183047: carp stuck in INIT state
Message-ID:  <201310171048.r9HAmtKu038593@oldred.freebsd.org>
Resent-Message-ID: <201310171050.r9HAo07R058281@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183047
>Category:       kern
>Synopsis:       carp stuck in INIT state
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 10:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ole Myhre
>Release:        10.0-BETA1
>Organization:
Dataoppdrag AS
>Environment:
FreeBSD fw1.internal 10.0-BETA1 FreeBSD 10.0-BETA1 #0: Wed Oct 16 12:03:07 CEST 2013     root@fw1.internal:/usr/obj/usr/src/sys/FIREWALL  amd64
>Description:
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.
>How-To-Repeat:
[root@fw1 ~]# ifconfig lagg0.1200 create
[root@fw1 ~]# ifconfig lagg0.1200 vhid 1 10.0.0.1/24
[root@fw1 ~]# ifconfig lagg0.1200
lagg0.1200: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=303<RXCSUM,TXCSUM,TSO4,TSO6>
        ether 00:25:90:9a:a6:e0
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 vhid 1
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        vlan: 1200 parent interface: lagg0
        carp: INIT vhid 1 advbase 1 advskew 0
[root@fw1 ~]# ifconfig lagg0.1200 vhid 1 10.0.0.1/24
ifconfig: ioctl (SIOCAIFADDR): Protocol not available
[root@fw1 ~]# ifconfig lagg0.1200
lagg0.1200: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=303<RXCSUM,TXCSUM,TSO4,TSO6>
        ether 00:25:90:9a:a6:e0
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        vlan: 1200 parent interface: lagg0
[root@fw1 ~]# ifconfig lagg0.1200 vhid 1 10.0.0.1/24
[root@fw1 ~]# ifconfig lagg0.1200
lagg0.1200: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=303<RXCSUM,TXCSUM,TSO4,TSO6>
        ether 00:25:90:9a:a6:e0
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 vhid 1
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        vlan: 1200 parent interface: lagg0
        carp: MASTER vhid 1 advbase 1 advskew 0
[root@fw1 ~]#

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310171048.r9HAmtKu038593>