08-01-2002
According to the man page you can use
# snoop multicast
multicast
True if the packet is a multicast packet.
Equivalent to "ether[0] & 1 = 1".
Definition:
multicast
(1) In communications networks, to transmit a message to multiple recipents at the same time. Multicast is a one-to-many transmission similar to broadcasting, except that multicasting means sending to specific groups, whereas broadcasting implies sending to everybody. When sending large volumes of data, multicast saves considerable bandwidth, because the bulk of the data is transmitted once from its source through major backbones and is multiplied, or distributed out, at switching points closer to the end users.
According to the definition, using snoop multicast didn't work for me since it also gave me broadcast messages (Solaris). Piping to egrep seemed to work.
# snoop |egrep multicast
10 More Discussions You Might Find Interesting
1. HP-UX
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
2. Linux
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
3. Solaris
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
4. AIX
Hi,
I am using smitty to create and configure a print queue. I am giving a print of a text file to the print queue created. I am using this in network.
How to capture network packets of the print from AIX to the printer and printer to AIX.
I tried Wireshark to capture network packets.
I am... (16 Replies)
Discussion started by: meeraramanathan
16 Replies
5. Infrastructure Monitoring
Hi,
I want to capture snmp packets in AIX.
When i give print from AIX6.1, Printer will give its response thru' snmp.
I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp..
1. iptrace command:
/usr/sbin/iptrace -a -i en0... (1 Reply)
Discussion started by: meeraramanathan
1 Replies
6. Solaris
Is there anywhere we can get details about what we should expect to see and not to see in some packets captured with "snoop" during troubleshooting a problem? I know we can capture packes for a failed transaction and compare them with packets for a successful trasaction.Is that the only way to... (4 Replies)
Discussion started by: Pouchie1
4 Replies
7. Shell Programming and Scripting
Hi Everyone :),
Need your advice as I'm new to UNIX scripting.. I'm trying to write a script to capture snoop output for 5 minutes for every hour for 24 hours. To stop snoop, I need to press Control-C to break it. This is what I got so far, but now I'm stuck! :confused:
The script:
# cat... (2 Replies)
Discussion started by: faraaris
2 Replies
8. IP Networking
Hi,
I want to capture a certain type of packets (selected according to the protocol) coming to my PC and then transmit them to another PC. I had the idea to use tcpdump to filter input packets and extract those chosen. Well my questions are:
1- after filtering input packets, those that have not... (1 Reply)
Discussion started by: ziedf
1 Replies
9. Programming
I have made an packet capture application running on intel machine, it is capturing packets with src address- 17.0.0.0 destination ip- 66.0.0.0, source port- 0, destination port- 0, and protocol- 0 what does these packets mean ?
The code written to interpreter captured bytes is given below.... (5 Replies)
Discussion started by: arunpushkar
5 Replies
10. IP Networking
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
LEARN ABOUT HPUX
setipv4sourcefilter
setipv4sourcefilter(3N) setipv4sourcefilter(3N)
NAME
setipv4sourcefilter() - set IPv4 multicast source filter state
SYNOPSIS
DESCRIPTION
This function sets the multicast source filter state for an IPv4 multicast group on a given socket. This function can be used to join a
multicast group by specifying a filter mode of (with or without a source list), or by specifying a filter mode of with a non-empty source
list. If the multicast group is already joined, this function replaces the existing filter mode and source list with the ones provided.
This function can be used to leave a multicast group by specifying a filter mode of and an empty source list.
Parameters
s Specifies the descriptor identifying the socket. The socket address family must be and the socket type must be
interface Holds the IPv4 address of a local interface, or If set to the system chooses a multicast group by matching the multicast address
only; or when joining a group, the system chooses the interface that datagrams for the group would be sent from, based on the
routing configuration.
group Holds the IPv4 multicast address of the group.
fmode Identifies the filter mode. The value of this field must be either or which are defined in
numsrc Holds the number of source addresses in the slist array.
slist Points to an array of IPv4 addresses of sources to include or exclude depending on the filter mode.
RETURN VALUES
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values:
The argument s is not a valid descriptor.
This function is not supported by the socket type.
Insufficient memory is available for internal
system data structures.
numsrc exceeds the maximum number of sources allowed, as determined by the ndd tunable parameters and
The specified IP address is not a local interface address; or
trying to leave an unjoined group.
group is not an IPv4 multicast address; or slist contains an invalid source address; or the specified filter mode is
not valid.
AUTHOR
was developed by HP and the IETF.
SEE ALSO
ndd(1M), socket(2), getipv4sourcefilter(3N), getsourcefilter(3N), setsourcefilter(3N), ip(7P), ip6(7P).
STANDARDS CONFORMANCE
RFC 3678
setipv4sourcefilter(3N)