Date: Mon, 20 Jun 2011 17:35:22 -0300 From: Rafael Ganascim <rganascim@gmail.com> To: freebsd-net@freebsd.org Subject: Re: Carp vhid with vlan id's alignment Message-ID: <BANLkTinZZUKxMvkJmC2pUoisLhMjmz8_Yw@mail.gmail.com> In-Reply-To: <4DFFA9C1.1060702@ipfw.ru> References: <BANLkTik2jPEN9QGS0vMfzJ6AM1UMxJ1Nsw@mail.gmail.com> <4DFFA9C1.1060702@ipfw.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
1) I had seen the source code, and the doubt was about modifying it to support 4096 vlans (12 bits) 2) I don't understand this type of implementation. May you explain? How obtain the fault-tolerance and HA with this? Or load balancing? Thanks! 2011/6/20 Alexander V. Chernikov <melifaro@ipfw.ru> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Rafael Ganascim wrote: > > Hi list, > > > > I'm planning and testing a new FreeBSD router, with vlans and carp > > interfaces. There are a lot of vlans, with high vlan IDs. We have, for > > example: > > > > dot1q vlan id: 1530 > > > > Iface igb0 > > vlan1530 > > carp1530 > > vhid 10 > > > > What do you think in change the carp code to support vhid above 255 (just > to > > align with vlanid, carp vlan name)? I think that it can ease the > > troubleshooting, standardization and documentation (in this scenario). > It's > > the last piece of the complete 'id' alignment. > 1) CARP packet format uses 8bit for VHID (see sys/netinet/ip_carp.h for > packet format) > > 2) Making carp instance for every vlan is (generally) wrong design. > Making single carp instance for group of interfaces (and > creating/deleting vlans depending carp instance state) is more > preferable in most cases. You can get state change events for carp(4) > interfaces via devd(8). > > Moreover, every carp instance sends multicast packets every 1 second + > several milliseconds in default scenario. This means a lot of multicast > traffic in case of many instances which can confuse other devices (or > another carp implementations like ucarp). > > > > > But I don't know the impact of this change in the source codes (and > related, > > like the ifconfig). > > > > What do you think? > > > > > > Regards, > > > > Rafael > > _______________________________________________ > > 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" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk3/qcEACgkQwcJ4iSZ1q2mtcACeNpQ41hiwDNz8BYfSoMTFvWX6 > 9dIAn12p6WHaPZ2UdWJz6r5YUEvbLygF > =Qdjl > -----END PGP SIGNATURE----- >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinZZUKxMvkJmC2pUoisLhMjmz8_Yw>