Date: Thu, 28 Aug 2008 13:00:14 +0200 From: "Slawek Zak" <slawek.zak@gmail.com> To: "Artis Caune" <artis.caune@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: kern/126714: [carp] CARP interface renaming makes system no longer respond on the virtual IP address Message-ID: <787bbe1c0808280400r7933f520t97f862eb8232ac49@mail.gmail.com> In-Reply-To: <200808251010.m7PAA4Mk018658@freefall.freebsd.org> References: <200808251010.m7PAA4Mk018658@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey Artis, Thank you. It really works indeeed :) I haven't thought of such a workaround :) Regards, /S On Mon, Aug 25, 2008 at 12:10 PM, Artis Caune <artis.caune@gmail.com> wrote: > The following reply was made to PR kern/126714; it has been noted by GNATS. > > From: "Artis Caune" <artis.caune@gmail.com> > To: bug-followup@freebsd.org > Cc: slawek.zak@gmail.com > Subject: Re: kern/126714: [carp] CARP interface renaming makes system no longer respond on the virtual IP address > Date: Mon, 25 Aug 2008 13:05:55 +0300 > > Same for me, but when I rename carp interface to original name, > everything works. > > > > > When you change carp0 name to new_name, ifconfig will: > - announce that carp0 is gone (departure) > - copy new_name to if_xname > - announce that new_name has arrived > > carp check only departure events. > > When you change name of carp interface, mac address also change: > from 00:00:5e:00:01:08 to 70:31:00:00:5e:00 (for me) > > And because new mac address is no longer CARP mac address, > carp_forus() fail, M_PROMISC flag is not cleared and frame is > discarded. > > > > > If you need change names at run time and not in rc.conf, then you > should reinitialize carp interface: > # ifconfig new_name vhid 1 pass testpass 192.168.0.2/24 > or set promisc flag on em0/em1 :) > > btw, don't change name to "carp" or your box will panic. > > p.s. > if you change name to underlying em0/em1/lagg/vlan interface, you > should also reinitialize carp interface or you will see: > carp_input: packet received on non-carp interface: bce0 > > > > > -- > regards, > Artis Caune > > <----. CCNA > <----|==================== > <----' didii FreeBSD > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?787bbe1c0808280400r7933f520t97f862eb8232ac49>