As I see it, the correct solution to this problem is to do as follows:
1: We allow adding more remoteip addresses to a bearer after it has been
enabled.
Something like:
tipc bearer media udp add remoteip 192.168.122.60
(We could also allow tipc bearer enable to take multiple remoteip addresses,
but that
would be an optimization, and does not eliminate the need for the 'add'
operator.
Something like this:
tipc bearer enable media udp name eth0 remoteip 192.168.122.60
192.168.122.61)
2: We accumulate these addresses in a linked list in struct tipc_bearer.
3: We let tipc_bearer_bc_xmit() first check if this list is non-empty, and if
so, it performs
the broadcast as a 'replicast' across those addresses. Otherwise it uses the
broadcast
address as it does now.
This makes is possible to fully set up a cluster with many nodes across IP even
when
broadcast is not available.
Does anybody feel a vocation to implement this? I am busy with other stuff
right now,
so it will take a while before I can do it myself.
Regards
///jon
> -----Original Message-----
> From: Jon Maloy [mailto:[email protected]]
> Sent: Monday, 28 December, 2015 17:43
> To: jason; [email protected]
> Subject: Re: [tipc-discussion] About MAX_BEARER and unicast ip bearer
>
> Erik has left Ericsson and does not work with TIPC any more. For the rest of
> us, I guess we are all on Christmas/New Hear Holiday, so you will have to wait
> until January before you receive a qualified answer.As for increasing
> MAX_BEARER, I dont see any problem with doing that for getting around
> your problem, but it is of course not a tenable long term solution. I will
> look
> into this when I am back at work.
> Regards///jon
>
>
>
> De : jason <[email protected]>
> À : "[email protected]" <tipc-
> [email protected]>
> Envoyé le : mercredi 23 décembre 2015 1h29 Objet : Re: [tipc-discussion]
> About MAX_BEARER and unicast ip bearer
>
> I found that in Erik's iproute2 tree, the tipc command DO support udp port
> configuration, but need a little modification:
> https://github.com/Hugne/iproute2/pull/1 ,please take a look at my pull
> request above.
>
> So I have only one question left in these thread. Can I simply enlarge
> MAX_BEARER to make more possible unicast udp bearers and links?
>
> On Wednesday, December 23, 2015, jason <[email protected]> wrote:
>
> > Hi All,
> > Currently, the MAX_BEARER is set to 3. If I use ip bearer that means
> > only
> > 3 potential peers can be configured(when multicast is not allowed).
> > Furthermore, in order to config three ip bearers, I need to uses three
> > different local ip address, which sometimes is not more applicable
> > than using different udp ports. But port number is fixed to 6118. So
> > is there any plan to enlarge MAX_BEARER and support configurable port
> > number for ip bearer, or any other ways to solve my problem? To say
> > set MAX_BEARER to 8 may be enough for me.
> >
> >
> > --
> > Yours,
> > Jason
> >
>
>
> --
> Yours,
> Jason
> ------------------------------------------------------------------------------
> _______________________________________________
> tipc-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> tipc-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion