Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2013 20:32:04 +0100 (CET)
From:      Rasmus Fauske <rfauske@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/184419: carp does not detect member when using vlan
Message-ID:  <201312011932.rB1JW4ls001728@fw1.securedomainservice.net>
Resent-Message-ID: <201312011940.rB1Je07t007510@freefall.freebsd.org>

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

>Number:         184419
>Category:       kern
>Synopsis:       carp does not detect member when using vlan
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 01 19:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rasmus Fauske
>Release:        FreeBSD 10.0-BETA3 amd64
>Organization:
Rasmus Fauske
>Environment:
System: FreeBSD fw1.securedomainservice.net 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
When I configure a sub interface with carp maually on two firewalls on a vlan both stays as master.

This results in an ip conflict in the network since both are active.

config fw1:
ifconfig lan0.10 create
ifconfig lan0.10 inet 10.50.189.254 netmask 255.255.255.0 vhid 12 pass iepheu5ZiafaM8Ba advbase 1 advskew 0 up

config fw2:
ifconfig lan0.10 create
ifconfig lan0.10 inet 10.50.189.254 netmask 255.255.255.0 vhid 12 pass iepheu5ZiafaM8Ba advbase 1 advskew 10 up

ifconfig fw1:
lan0.10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=103<RXCSUM,TXCSUM,TSO4>
        ether 00:25:90:97:98:53
        inet6 fe80::225:90ff:fe97:9853%lan0.10 prefixlen 64 scopeid 0x8 
        inet 10.50.189.254 netmask 0xffffff00 broadcast 10.50.189.255 vhid 12 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 10 parent interface: lan0
        carp: MASTER vhid 12 advbase 1 advskew 0

ifconfig fw2:
lan0.10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=103<RXCSUM,TXCSUM,TSO4>
        ether 00:25:90:97:98:9f
        inet6 fe80::225:90ff:fe97:989f%lan0.10 prefixlen 64 scopeid 0x8 
        inet 10.50.189.254 netmask 0xffffff00 broadcast 10.50.189.255 vhid 12 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        vlan: 10 parent interface: lan0
        carp: MASTER vhid 12 advbase 1 advskew 10

>How-To-Repeat:

 Configure carp on vlan interface as noted in the description

>Fix:


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



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