On 6/16/22 06:26, Røysland, Jonas Gjendem via tipc-discussion wrote:
Hey,
We are working with the TIPC in the terminal and trying to connect a client and
a server between two different linux machines. We are using the programs
hello_client.c and hello_server.c to send and recieve to check if they are
responding to each other. We are setting up the nodes and the bearer and are
following the Getting Started section.
To the problem: We are not sure how to set up the nodes in different machines
and to link them within the same cluster in order to be able to communicate and
sometimes even though we enable the bearers we don't get any of them in the
link list.
Are you using UDP or bare Ethernet? In the latter case the two
interfaces must be on the same subnet/vlan and have broadcast enabled.
Can you ping between the two ? Does Wireshark or tcpdump show anything?
Is this a common hardware problem or problem itself. Have you any idea of this
problem.
Is there also a way to create the nodes from c code, like using the tipc api
library.
No, not really. You could of course easily make one by invoking the
'tipc' tool from c.
You could even do 'modprobe' from c if you want to, as long as your
program has root access.
///jon
Sincerly,
Jonas Gjendem Røysland
_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion
_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion