Multicast address config lost


 
Thread Tools Search this Thread
Operating Systems Solaris Multicast address config lost
# 1  
Old 11-15-2009
Multicast address config lost

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:
Code:
Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
228.228.228.228             10.101.10.2          U         1       1020 e1000g0

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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Multicast IP address

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)
Discussion started by: fishman2001
1 Replies

2. Windows & DOS: Issues & Discussions

Windows 7: nic lost mac address

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)
Discussion started by: neutronscott
0 Replies

3. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

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)
Discussion started by: muraliinfy04
4 Replies

4. Solaris

multicast config

On SUN Solaris 10, if I want to multicast packets between nodes, whether it must config the multicast IP from OS, if yes, how to do it? (0 Replies)
Discussion started by: Frank2004
0 Replies

5. Linux

How to multicast on different IP network

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)
Discussion started by: Frank2004
0 Replies

6. HP-UX

How to multicast on different IP network

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)
Discussion started by: Frank2004
0 Replies

7. UNIX for Dummies Questions & Answers

How to config NSAP address???

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)
Discussion started by: hhquan
0 Replies

8. Filesystems, Disks and Memory

Lost Data Lost Admin

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)
Discussion started by: murphsr
3 Replies

9. Solaris

How to assign multicast IP address

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)
Discussion started by: krishan
0 Replies
Login or Register to Ask a Question
__gnu_parallel::__inner_product_selector< _It, _It2, _Tp >(3)Library Functions Manual__gnu_parallel::__inner_product_selector< _It, _It2, _Tp >(3)

NAME
__gnu_parallel::__inner_product_selector< _It, _It2, _Tp > - SYNOPSIS
Inherits __gnu_parallel::__generic_for_each_selector< _It >. Public Member Functions __inner_product_selector (_It __b1, _It2 __b2) template<typename _Op > _Tp operator() (_Op __mult, _It __current) Public Attributes _It __begin1_iterator _It2 __begin2_iterator _It _M_finish_iterator Detailed Description template<typename _It, typename _It2, typename _Tp>struct __gnu_parallel::__inner_product_selector< _It, _It2, _Tp > std::inner_product() selector. Definition at line 222 of file for_each_selectors.h. Constructor &; Destructor Documentation template<typename _It , typename _It2 , typename _Tp > __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__inner_product_selector (_It__b1, _It2__b2) [inline], [explicit] Constructor. Parameters: __b1 Begin iterator of first sequence. __b2 Begin iterator of second sequence. Definition at line 234 of file for_each_selectors.h. Member Function Documentation template<typename _It , typename _It2 , typename _Tp > template<typename _Op > _Tp __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::operator() (_Op__mult, _It__current) [inline] Functor execution. Parameters: __mult Multiplication functor. __current iterator referencing object. Returns: Inner product elemental __result. Definition at line 243 of file for_each_selectors.h. References __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin1_iterator, and __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin2_iterator. Member Data Documentation template<typename _It , typename _It2 , typename _Tp > _It __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin1_iterator Begin iterator of first sequence. Definition at line 225 of file for_each_selectors.h. Referenced by __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::operator()(). template<typename _It , typename _It2 , typename _Tp > _It2 __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::__begin2_iterator Begin iterator of second sequence. Definition at line 228 of file for_each_selectors.h. Referenced by __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >::operator()(). template<typename _It > _It __gnu_parallel::__generic_for_each_selector< _It >::_M_finish_iterator [inherited] _Iterator on last element processed; needed for some algorithms (e. g. std::transform()). Definition at line 47 of file for_each_selectors.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Jun 10 2014 __gnu_parallel::__inner_product_selector< _It, _It2, _Tp >(3)