Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 09:49:38 +0200
From:      "Constant, Benjamin" <bconstant@be.tiauto.com>
To:        'Chris McGee' <chris@gliq.com>
Cc:        freebsd-pf@freebsd.org
Subject:   RE: Carp master problem
Message-ID:  <B6D948D84090A54ABCD88AA391DAAC8C018963EF@tiasbel00ex00.be.eu.tiauto.com>

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

Simple questions but do you see multicast traffic on em0? Are there firewall
rules on em0 that can prevent such traffic?

Regards,

Benjamin Constant
TI Automotive 

> -----Original Message-----
> From: owner-freebsd-pf@freebsd.org 
> [mailto:owner-freebsd-pf@freebsd.org] On Behalf Of Chris McGee
> Sent: jeudi 30 juin 2005 6:38
> To: freebsd-pf@freebsd.org
> Subject: Carp master problem
> 
> I have to machines in a test environment, the carp0 interface 
> on the machines will not become master.  The config is as follows:
> 
> test1# ifconfig
> em0: 
> flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>          options=b<RXCSUM,TXCSUM,VLAN_MTU>
>          inet 192.168.1.252 netmask 0xffffff00 broadcast 192.168.1.255
>          inet6 fe80::230:48ff:fe82:a77c%em0 prefixlen 64 scopeid 0x1
>          ether 00:30:48:82:a7:7c
>          media: Ethernet autoselect (100baseTX <full-duplex>)
>          status: active
> em1: 
> flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>          options=b<RXCSUM,TXCSUM,VLAN_MTU>
>          inet 10.10.10.2 netmask 0xfffffff8 broadcast 10.10.10.7
>          inet6 fe80::230:48ff:fe82:a77d%em1 prefixlen 64 scopeid 0x2
>          ether 00:30:48:82:a7:7d
>          media: Ethernet autoselect (100baseTX <full-duplex>)
>          status: active
> carp0: flags=41<UP,RUNNING> mtu 1500
>          inet 192.168.1.10 netmask 0xffffff00
>          carp: BACKUP vhid 1 advbase 1 advskew 0
> carp1: flags=41<UP,RUNNING> mtu 1500
>          inet 10.10.10.1 netmask 0xfffffff8
>          carp: MASTER vhid 2 advbase 1 advskew 0
> 
> em0: 
> flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>          options=b<RXCSUM,TXCSUM,VLAN_MTU>
>          inet 192.168.1.253 netmask 0xffffff00 broadcast 192.168.1.255
>          inet6 fe80::230:48ff:fe80:21bc%em0 prefixlen 64 scopeid 0x1
>          ether 00:30:48:80:21:bc
>          media: Ethernet autoselect (100baseTX <full-duplex>)
>          status: active
> em1: 
> flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>          options=b<RXCSUM,TXCSUM,VLAN_MTU>
>          inet 10.10.10.3 netmask 0xfffffff8 broadcast 10.10.10.7
>          inet6 fe80::230:48ff:fe80:21bd%em1 prefixlen 64 scopeid 0x2
>          ether 00:30:48:80:21:bd
>          media: Ethernet autoselect (100baseTX <full-duplex>)
>          status: active
> carp0: flags=41<UP,RUNNING> mtu 1500
>          inet 192.168.1.10 netmask 0xffffff00
>          carp: BACKUP vhid 1 advbase 1 advskew 100
> carp1: flags=41<UP,RUNNING> mtu 1500
>          inet 10.10.10.1 netmask 0xfffffff8
>          carp: BACKUP vhid 2 advbase 1 advskew 100
> 
> both test1 and test2 have these sysctl variables:
> net.inet.carp.allow: 1
> net.inet.carp.preempt: 1
> net.inet.carp.log: 1
> net.inet.carp.arpbalance: 0
> 
> If I down the carp1 interface on either box the other box 
> becomes master.  If I down the carp0 interface on either box, 
> the other stays backup.  Both carp0 interfaces stay backup 
> all the time and therefore I can't access 192.168.1.10.
> 
> Thanks,
> Chris
> 
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
> 

The information contained in this transmission may contain privileged and
confidential information.  It is intended only for the use of the
person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or
duplication of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and
destroy all copies of the original message. This communication is from TI
Automotive.



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