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
Net::GPSD3::Return::SKY(3pm)				User Contributed Perl Documentation			      Net::GPSD3::Return::SKY(3pm)

NAME
Net::GPSD3::Return::SKY - Net::GPSD3 Return SKY Object SYNOPSIS
DESCRIPTION
Provides a Perl object interface to the SKY object returned by the GPSD daemon. An example JSON object: Protcol 3.1 versions { "class":"SKY", "tag":"MID4", "device":"/dev/ttyUSB0", "time":1253593665.430, "hdop":23.60, "reported":9, "satellites": [ {"PRN":15,"el":77,"az":123,"ss":0, "used":false}, {"PRN":18,"el":25,"az":268,"ss":0, "used":false}, {"PRN":27,"el":13,"az":150,"ss":0, "used":false}, {"PRN":29,"el":47,"az":228,"ss":0, "used":false}, {"PRN":5, "el":39,"az":58, "ss":46,"used":true }, {"PRN":21,"el":41,"az":309,"ss":33,"used":true }, {"PRN":10,"el":32,"az":61, "ss":40,"used":true }, {"PRN":8, "el":12,"az":48, "ss":40,"used":true }, {"PRN":2, "el":9, "az":124,"ss":0, "used":false} ] } Protcol 3.4 versions { "class":"SKY", "tag":"0x0120", "device":"/dev/cuaU0", "xdop":0.58, "ydop":0.96, "vdop":1.92, "tdop":1.14, "hdop":1.90, "gdop":2.93, "pdop":2.70, "satellites":[ {"PRN":17,"el":76,"az":174,"ss":34,"used":true}, {"PRN":28,"el":57,"az":38,"ss":30,"used":false}, {"PRN":27,"el":22,"az":314,"ss":18,"used":true}, {"PRN":7,"el":15,"az":127,"ss":29,"used":true}, {"PRN":15,"el":31,"az":297,"ss":27,"used":true}, {"PRN":11,"el":18,"az":54,"ss":28,"used":false}, {"PRN":24,"el":18,"az":63,"ss":29,"used":false}, {"PRN":9,"el":4,"az":313,"ss":18,"used":false}, {"PRN":8,"el":45,"az":117,"ss":33,"used":true}, {"PRN":26,"el":49,"az":245,"ss":37,"used":true}, {"PRN":4,"el":5,"az":170,"ss":17,"used":false}, {"PRN":138,"el":44,"az":157,"ss":40,"used":true} ] } METHODS PROPERTIES
class Returns the object class string Returns the JSON string parent Return the parent Net::GPSD object device tag time timestamp datetime reported Count of satellites in view used Count of satellites used in calculation satellites Returns a list of satellite data structures. my $satellites=$sky->satellites(); #[{},...] my @satellites=$sky->satellites(); #({},...) Satellites Returns a list of Net::GPSD3::Return::Satellite objects. my @satellites=$sky->Satellites; #(bless{},...) my $satellites=$sky->Satellites; #[bless{},...] BUGS
Log on RT and Send to gpsd-dev email list SUPPORT
DavisNetworks.com supports all Perl applications including this package. Try gpsd-dev email list AUTHOR
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl http://www.stopllc.com/ COPYRIGHT
This program is free software licensed under the... The BSD License The full text of the license can be found in the LICENSE file included with this module. SEE ALSO
Net::GPSD3, DateTime, Net::GPSD3::Return::Unknown perl v5.14.2 2011-11-09 Net::GPSD3::Return::SKY(3pm)