On Solaris OS, We use the following command to config the multicast address for NIC in order to process the multicast packets:
# route add 228.228.228.228 10.101.10.2
Where " 228.228.228.228 " is the multicast for specified NIC ip 10.101.10.2 .
Also use the netstat -nr, the above set could been displayed as the following:
In our program, we use the function:
setsockopt(sockfd,IPPROTO_IP,IP_ADD_MEMBERSHIP,&mreq,sizeof(mreq)) to
join the multicast group and receive the packets.
At the begining, all runs ok. But after about two days later, the multicast address 228.228.228.228 was lost, which cause our program run unnormmally.
What confuse us is that the above phenomena do not exist on the other UNIX/Linux OS. anyone can fix it,thanks.
Hi please help,
theoretically I',m interested in starting a streaming service using multicast IP service. I'd like to know how do I get an IP address that I can send my data too? (please don't just point me too Internet Assigned Numbers Authority as ive been there and it just seem to state... (1 Reply)
Anyone ever see the NIC get a mac of 00-00-00-00-00-00?
Changing it in driver advanced tab didn't stick. Used macshift and gave it a random one. Best guess I had is it lost its eprom. It was an issues on my dads pc I stopped by after work so I wasn't able to boot a proper OS to further diagnose.
... (0 Replies)
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
On Linux, I have configured two different IP address for two network device eth0 ,eth1 , in my program, I want to multicast differently on these two network, I know it must add route for single network and I try to config another route for second network,but it can not work correctly, how to config... (0 Replies)
Hi, there
On HP-UX, I want to multicast packets on two different IP network repectively.
The two NIC are configured with two different IP. The routes are added with one default and one net for each IP . The multisender programs bind their own local IP, multireceiver programs add the... (0 Replies)
i have a trouble with network card. My Sun System(Sun Solaris 5.6) has 2 network cards. One works with IP address and the other works with NSAP address. But i don't know how to config the network card with NSAP address. Could any body tell me how to config this???
Thank you very much (0 Replies)
First time so excuse my ignorance please.
I may not be accurately describing the issue.
I have inherited a small lab mostly SUN V120s.
We lost power and are trying to recover.
Nope no backups...
The primary issue I have is 1 box is an Oracle Server.
It has 2 36Gb harddrives.
I am able to... (3 Replies)
How can I assign multicast ip address to my Sun server. I need this configuration to set up weblogic in cluster mode. This setup needs a multicast IP address where the managed servers can broadcast their heartbeats.
Thanks (0 Replies)
RDMA_JOIN_MULTICAST(3) Librdmacm Programmer's Manual RDMA_JOIN_MULTICAST(3)NAME
rdma_join_multicast - Joins a multicast group.
SYNOPSIS
#include <rdma/rdma_cma.h>
int rdma_join_multicast (struct rdma_cm_id *id, struct sockaddr *addr, void *context);
ARGUMENTS
id Communication identifier associated with the request.
addr Multicast address identifying the group to join.
context User-defined context associated with the join request.
DESCRIPTION
Joins a multicast group and attaches an associated QP to the group.
RETURN VALUE
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
NOTES
Before joining a multicast group, the rdma_cm_id must be bound to an RDMA device by calling rdma_bind_addr or rdma_resolve_addr. Use of
rdma_resolve_addr requires the local routing tables to resolve the multicast address to an RDMA device, unless a specific source address is
provided. The user must call rdma_leave_multicast to leave the multicast group and release any multicast resources. After the join opera-
tion completes, if a QP is associated with the rdma_cm_id, it is automatically attached to the multicast group when the multicast event is
retrieved by the user. Otherwise, the user is responsible for calling ibv_attach_mcast to bind the QP to the multicast group. The join
context is returned to the user through the private_data field in the rdma_cm_event.
SEE ALSO rdma_leave_multicast(3), rdma_bind_addr(3), rdma_resolve_addr(3), rdma_create_qp(3), rdma_get_cm_event(3)librdmacm 2008-01-02 RDMA_JOIN_MULTICAST(3)