Seting up a multicast server

Hi,
I have a windows media server. For some reason, i'm only able to stream unicast streams from that server. I want to know if a device (router or server) can get the unicast stream from this server and multicast it over the network. It will be my subscription point.
Thank you,
MP

Unicast-to-multicast streaming is a solution similar to stream splitting, except that in final delivery segment the stream is converted to multicast to minimize the bandwidth usage impact on the network and to minimize the load on the Content Engine. With unicast-to-multicast streaming, if you have a Content Engine in the same location as your clients, the Content Engine can acquire the stream as a single unicast stream over the WAN and convert it to a multicast in the LAN.

Similar Messages

  • Multicast server/client over wan

    Ok, first of I am kinda new in programming network stuff.
    Then I am gonna try to be clear in the things that I am trying to accomplish.
    The environement.
    I have a machine A that has 2 interfaces :
    eth0 Link encap:Ethernet HWaddr 00:0F:20:96:CE:96
    inet addr:192.168.1.49 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2328871 errors:0 dropped:0 overruns:0 frame:0
    TX packets:355492 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:178361234 (170.0 Mb) TX bytes:34186479 (32.6 Mb)
    Interrupt:11
    eth2 Link encap:Ethernet HWaddr 00:04:23:45:74:EC
    inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:813915 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7538202 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:53318289 (50.8 Mb) TX bytes:1092719670 (1042.0 Mb)
    Interrupt:15 Base address:0x3000 Memory:f7ee0000-f7f00000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:56496 errors:0 dropped:0 overruns:0 frame:0
    TX packets:56496 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:7952617 (7.5 Mb) TX bytes:7952617 (7.5 Mb)
    This machine is connected thru a router
    The routers connects to a WAN with MULTICAST enabled
    then another router to which the second machine is connected
    MACHINE B
    eth0 Link encap:Ethernet HWaddr 00:0F:20:96:0F:94
    inet addr:192.168.1.58 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2322957 errors:0 dropped:0 overruns:0 frame:0
    TX packets:363116 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:177550404 (169.3 Mb) TX bytes:33507499 (31.9 Mb)
    Interrupt:30
    eth2 Link encap:Ethernet HWaddr 00:04:23:45:78:90
    inet addr:192.168.3.2 Bcast:192.168.3.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:160838 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6781 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:11450177 (10.9 Mb) TX bytes:746369 (728.8 Kb)
    Interrupt:28 Base address:0x3000 Memory:f7ee0000-f7f00000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:158 errors:0 dropped:0 overruns:0 frame:0
    TX packets:158 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:23916 (23.3 Kb) TX bytes:23916 (23.3 Kb)
    The two machine are on different networks.
    My goal is to have Machine A send multicast data thru eth2 to be sent in the wan and to be received by Machine B on eth2 too.
    Obviously the two machine are on separated networks.
    I have tried everything I could but I cannot get machine B to pickup the messages sent by A. It worked fine when on the same LAN but not over WAN.
    The multicast address that I use it 239.55.55.80 and the port 4445.
    I think I have a problem to link the interface to my app ( I used setInterface and setNetworkinterface but nithing.) Also I cannot firgure out if the things that I am doing wrong are on the server or the client.
    Here is the code for the sever and client.
    SERVER
    package com.cme.multicastijector.server;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2004</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    import java.net.*;
    import java.util.*;
    public class MulticastOutputSocket {
    private int m_multicastPort = 0;
    private MulticastSocket m_multicastSocket = null;
    private InetAddress m_interfaceAddress = null;
    private InetAddress m_multicastAddress = null;
    private InetSocketAddress m_inetSocketAddress = null;
    private int m_bufferSize = 0;
    private byte[] m_outputBuffer = null;
    private DatagramPacket m_packet = null;
    public MulticastOutputSocket(int portNumber,String interfaceAddress,String multicastAddress,int bufferSize) throws Exception{
    System.out.println("\nStarting multicast output socket");
    m_multicastPort = portNumber;
    m_interfaceAddress = InetAddress.getByName(interfaceAddress);
    m_multicastAddress = InetAddress.getByName(multicastAddress);
    m_bufferSize = bufferSize;
    m_inetSocketAddress = new InetSocketAddress(m_multicastAddress,m_multicastPort);
    m_multicastSocket = new MulticastSocket (m_multicastPort);
    // m_multicastSocket.joinGroup(m_inetSocketAddress,NetworkInterface.getByInetAddress(m_interfaceAddress));
    m_multicastSocket.setNetworkInterface(NetworkInterface.getByInetAddress(m_interfaceAddress));
    // m_multicastSocket.setLoopbackMode(false);
    // m_multicastSocket.setTimeToLive(32);
    Enumeration e = NetworkInterface.getNetworkInterfaces();
    while (e.hasMoreElements()){
    System.out.println(e.nextElement().toString());
    System.out.println("Interface Address = " + m_interfaceAddress);
    System.out.println("Multicast Address = " + m_multicastAddress);
    System.out.println("Port = " + m_multicastPort);
    System.out.println("BufferSize = " + m_bufferSize);
    System.out.println("MulticastSockect initialized.\n");
    public void sendData(String data) throws Exception{
    m_outputBuffer = new byte[m_bufferSize];
    m_outputBuffer = data.getBytes();
    //m_packet = new DatagramPacket(m_outputBuffer, m_outputBuffer.length);
    m_packet = new DatagramPacket(m_outputBuffer, m_outputBuffer.length, m_inetSocketAddress);
    m_multicastSocket.send(m_packet);
    public void closeSocket() throws Exception {
    //m_multicastSocket.leaveGroup(m_multicastAddress);
    //m_multicastSocket.leaveGroup(m_inetSocketAddress,NetworkInterface.getByInetAddress(m_interfaceAddress));
    m_multicastSocket.close();
    CLIENT
    package com.cme.multicastijector.client;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2004</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class MulticastClient {
    private Properties m_prop = null;
    private MulticastSocket m_multicastSocket = null;
    private InetAddress m_interfaceAddress = null;
    private InetAddress m_multicastAddress = null;
    private InetSocketAddress m_inetSocketAddress = null;
    private int m_multicastPort = 0;
    private int m_bufferSize = 0;
    private int m_previousSeq = 0;
    private boolean m_isFirst = true;
    private int m_actualseq = 0;
    private int m_msgLost = 0;
    private int m_messagesReceived = 0;
    private Object m_seqLock = new Object();
    private Object m_msgLock = new Object();
    public MulticastClient(Properties properties) throws Exception{
    m_prop = properties;
    init();
    new TpsCalculator();
    receiveData();
    private void init() throws Exception{
    m_multicastPort = Integer.parseInt(m_prop.getProperty("MULTICAST_PORT"));
    m_multicastAddress = InetAddress.getByName(m_prop.getProperty("MULTICAST_ADDRESS"));
    m_interfaceAddress = InetAddress.getByName(m_prop.getProperty("INTERFACE_ADDRESS"));
    m_bufferSize = Integer.parseInt(m_prop.getProperty("BUFFER_SIZE"));
    m_inetSocketAddress = new InetSocketAddress(m_multicastAddress,m_multicastPort);
    m_multicastSocket = new MulticastSocket (m_multicastPort);
    // System.out.println("DEFAULT INTERFACE : " + m_multicastSocket.getInterface() );
    // System.out.println("DEFAULT INTERFACE : " + m_multicastSocket.getNetworkInterface() );
    // m_multicastSocket.setInterface(m_interfaceAddress);
    // m_multicastSocket.setNetworkInterface(NetworkInterface.getByInetAddress(m_interfaceAddress));
    // System.out.println("DEFAULT INTERFACE : " + m_multicastSocket.getInterface() );
    // System.out.println("DEFAULT INTERFACE : " + m_multicastSocket.getNetworkInterface() );
    m_multicastSocket.joinGroup(m_inetSocketAddress,NetworkInterface.getByInetAddress(m_interfaceAddress));
    // m_multicastSocket.joinGroup(m_multicastAddress);
    System.out.println("Interface Address = " + m_interfaceAddress);
    System.out.println("Multicast Address = " + m_multicastAddress);
    System.out.println("Port = " + m_multicastPort);
    System.out.println("BufferSize = " + m_bufferSize);
    private void receiveData() throws Exception{
    try {
    String received = null;
    byte[] inputBuffer = null;
    DatagramPacket packet = null;
    while(true){
    inputBuffer = new byte[m_bufferSize];
    packet = new DatagramPacket(inputBuffer, inputBuffer.length, m_inetSocketAddress);
    m_multicastSocket.receive(packet);
    received = new String(packet.getData());
    m_messagesReceived++;
    synchronized(m_seqLock){
    m_actualseq = getSequence(received);
    checkSequence(m_actualseq);
    catch (Exception ex) {
    ex.printStackTrace();
    m_multicastSocket.close();
    private int getSequence(String data){
    return Integer.parseInt(data.substring(0,15));
    private void checkSequence(int actual){
    if(m_isFirst){
    m_isFirst = false;
    m_previousSeq = actual;
    else{
    if ( (m_previousSeq + 1) != actual) {
    synchronized(m_msgLock){
    m_msgLost += (actual - m_previousSeq)-1;
    m_previousSeq = actual;
    private class TpsCalculator extends TimerTask{
    private Timer aTimer;
    private int previousSeq = 0;
    private int tpsSeq = 0;
    private int tpsRec = 0;
    private boolean first = true;
    private int msglost = 0;
    private int previousMsgRec = 0;
    private int actualMsgRec = 0;
    public TpsCalculator(){
    aTimer = new Timer();
    aTimer.scheduleAtFixedRate(this,new Date(),1000);
    System.out.println("#####################################################");
    System.out.println("time,tps from sequences, actual tps,total msg received,msglost");
    public void run(){
    actualMsgRec = m_messagesReceived;
    tpsRec = actualMsgRec - previousMsgRec;
    previousMsgRec = actualMsgRec;
    if(first){
    synchronized(m_seqLock){
    previousSeq = m_actualseq;
    first = false;
    else{
    synchronized(m_msgLock){
    msglost = m_msgLost;
    m_msgLost = 0;
    synchronized(m_seqLock){
    tpsSeq = m_actualseq - previousSeq;
    previousSeq = m_actualseq;
    System.out.println(new Date()+","+tpsSeq + "," + tpsRec + "," + m_messagesReceived + "," + msglost);
    Thanks for your help.
    This is really important for the project I am working on.
    Thanks again

    never Mind I found the issue
    The default value for TTL is 1.
    I was going thru multiple routers so I incremented the value and it worked
    thanks

  • Screen capture as video and multicasting

    halo everyone, i am planing to do a multicast program which capture the local screen as video and transmit to all client.
    It is one way communication which is clients are always only on listening mode(It cannot be stop). Server can choose to broadcast or stop the broadcast.
    eg software: TightProjector / VNC
    Currently my multicast connection is done, all the client can get message from multicast server.
    I stuck on how to capture local screen as video and transmit to all the client.
    Any method for me to start with it?
    What should i looking for??
    thx in adv
    :D

    morgalr wrote:
    If you're looking for screen shots, you'll be looking into Robot...once you have the screenshots. ImageIO can turn the images into JPEGs, and the JMF can turn JPEGs into a MOV.

  • Screen capture as video and multicast

    halo everyone, i am planing to do a multicast program which capture the local screen as video and transmit to all client.
    It is one way communication which is clients are always only on listening mode(It cannot be stop). Server can choose to broadcast or stop the broadcast.
    eg software: TightProjector / VNC
    Currently my multicast connection is done, all the client can get message from multicast server.
    I stuck on how to capture local screen as video and transmit to all the client.
    Any method for me to start with it?
    What should i looking for??
    thx in adv
    :D

    I'm having some problem with the picture receiving.
    Below is my codes:
    Server-
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class robottestSent
         public static void main(String[] args) throws AWTException, IOException
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              Rectangle screenRectangle = new Rectangle(screenSize);
              Robot robot = new Robot();
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              BufferedImage image = robot.createScreenCapture(screenRectangle);
              ImageIO.write(image, "png", baos);
              baos.flush();
              byte[] resultImage = baos.toByteArray();
              baos.close();
              //int wahaha = testtest.intValue();
              System.out.println(resultImage);
              try
                   DatagramSocket socket = new DatagramSocket();
                   //byte buffer[] = new byte[1024];
                   InetAddress address = InetAddress.getByName("230.0.0.1");
                   DatagramPacket packet = new DatagramPacket(resultImage, resultImage.length, address, 9013);
                   socket.send(packet);
                   socket.close();
              catch(Exception exp)
                        System.err.println(exp); //New added
    }Client-
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class robottestGet
        public static void main(String[] args)
             try
                  while(true)
                        MulticastSocket socket = new MulticastSocket(9013);
                        InetAddress address = InetAddress.getByName("230.0.0.1");
                        socket.joinGroup(address);
                        byte message[] = new byte[1024];
                        DatagramPacket packet = new DatagramPacket(message, message.length);
                        System.out.println("test_1");
                        socket.receive(packet);
                        System.out.println("test_2");
                        BufferedImage newImage = ImageIO.read ( new ByteArrayInputStream ( packet.getData() ) );
                        JDialog window = new JDialog();
                        Container windowContent = window.getContentPane();
                        JLabel label = new JLabel(new ImageIcon(newImage));
                        JScrollPane pane = new JScrollPane(label);
                        windowContent.add(pane, BorderLayout.CENTER);
                        window.setSize(300, 300);
                        window.show();
             catch(Exception exp)
                  System.err.println(exp);
    }The server sent a PNG format image raw byte to client, but at the client side, it appear
    javax.imageio.IIOException: Error reading PNG image dataThe problem is, when i change the format to others like "jpeg/bmp", the transmition failed, it appear
    java.net.SocketException: The message is larger than the maximum supported by the underlying transport: Datagram send failedWhy is that problem actually? T.T
    Edited by: nick_khor on Nov 20, 2009 3:46 AM

  • Button disabled due to server waiting

    i had made a GUI for running a rmi server and instantiating a multicast server.
    i used a button for each purpose.
    the rmi server keeps waiting for any requests from the client side.
    so the execution of the other part of the program is disabled when i press the first button for running the rmi server.
    the button for running multicast server is disabled. i cannot access it
    //first button
    private void clicked(java.awt.event.ActionEvent evt) {                        
            GoodWindowsExec obj4= new GoodWindowsExec();
            obj4.running("start rmiregistry");
            obj4.running("javac SampleServerImpl.java");
            obj4.running("java SampleServerImpl");
    //second button     
      private void retrieve(java.awt.event.ActionEvent evt) {                        
            GoodWindowsExec obj5= new GoodWindowsExec();
            obj5.running("javac MulticastClient.java");
            obj5.running("java MulticastClient");
        }                        what should be done?

    Use Threads. Read the section from the Swing tutorial on Concurrency for more information.

  • Multicast not working SCCM 2012 SP1

    Hi,
    Am having issues getting multicast working with SCCM 2012 SP1 / Server 2008 R2.
    We have followed all the guidelines in this forum but still no joy
    - Multicast setting enabled on DP
    - Multicast Enabled on OS Image
    - Task Sequence set to down content when needed
    - SCCM DP and Client are on same VLAN to rule out routing issues
    - Network team confirm all ok there end anyway
    - Boot images / WDS and PXE are all healthy
    The PC Boots via PXE ok and runs our windows 7 task sequence, when the task sequence starts it says "Opening multicast session" for about 5 seconds and then disappears. Its as though it tries but then fails. Unicast works fine.
    I then set the OS image to "Only use Multicast" which produces the following error in the client SMSTS.log
    reply has no message header marker
    Failed to open session request (Code 0x80004005)
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    ClientRequestToMCS::DoRequest failed. error = (0x80004005).
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Request to MCS 'SererName' failed with error (Code 0x80004005).
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Multicast OpenSessionRequest failed (0x80004005).
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Sending status message: SMS_OSDeployment_PackageDownloadMulticastStatusFail
    ApplyOperatingSystem 28/01/2014 12:53:25
    1944 (0x0798)
    Any idea on how we get this working ?
    Thanks

    The logs related to multicast that you'll see on the site server are:
    mcsisapi.log
    Records information for multicast package transfer and client request responses.
    Site system server
    mcsprv.log
    Records multicast provider interaction with Windows Deployment Services (WDS).
    Site system server
    MCSSetup.log
    Records details about multicast server role installation.
    Site system server
    MCSMSI.log
    Records details about multicast server role installation.
    Site system server
    Mcsperf.log
    Records details about multicast performance counter updates.
    Site system server
    http://technet.microsoft.com/en-us/library/hh427342.aspx
    >>  Network team confirm all ok there
    end anyway
    This is something to double and triple check.  If Multicast is not enabled on the routers/switches properly, this will not work.  If there is a firewall between the client and the distribution point that doesn't have the Multicast ports open, this
    will not work.
    Client -- > Distribution Point Configured for Multicast
    Description
    UDP
    TCP
    Server Message Block (SMB)
    445
    Multicast Protocol
    63000-64000
    http://technet.microsoft.com/en-us/library/hh427328.aspx
    I hope that helps,
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you've found a bug or want the product worked differently,
    share your feedback.
    <-- If this post was helpful, please click "Vote as Helpful".

  • Broadcasting/multicasting UDP

    Is it possible to broadcast UDP packets directly from the host machine's IP address on a selected port so that anyone listening on that IP address/port can receive them? If not, how should a server go about finding an appropriate IP address/port within the 224.0.0.0 - 239.255.255.255 range to send packets on?

    Dear Josh,
    You send the UDP paket to a multicast (class D) IP address/port and the rest is the duty of the multicasting server.
    The mechnism of multicasting and how could Java programmer make use of it is some thing missed in the documents availabe. I've searched for that but all I got is an RMS "Reliable Multicast Service" Libraries like:
    JRMS at www.experimentalstuff.com
    JGroups at www.JGroups.org
    But these are libraries and focusing on the reliable multicast. If we need to multicast an audio stream we need only basic multicast using "MulticastSoket" from java.net package.
    But again the system is no only a set of API's. The question is HOW to build a multicasting audio service using java and whta do we need with java??
    the answer could be of great help
    Ahmad Khalafallah
    [email protected]

  • Load balance multicast stream

    Hi, i have the same stream coming from 2 different
    directions. The 2 routers in the multicast server are using hsrp. My question is, can i load balance the stream?The method in use is SSM.

    PIM (dense/sparse) will not load balance multicast packets due to prune behavior to prevent duplicate packets. However, GRE tunnel(s) can be used to "load balance" multicast traffic. There is also another global command "ip multicast multipath" which allows load balancing But it will only load balance If multiple sources exist for the same group(s):

  • Linux ntp server with cisco 3850

    hi all
    i'm trying to make sync with linux ntp with cisco 3850  here is the what i did
    linux centos 6.5 (on the ucs virtual machin) . this is a ntp server
    ip 10.1.1.251
    ===================================================
    For more information about this file, see the man pages
    # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
    driftfile /var/lib/ntp/drift
    # Permit time synchronization with our time source, but do not
    # permit the source to query or modify the service on this system.
    restrict default kod nomodify notrap nopeer noquery
    restrict -6 default kod nomodify notrap nopeer noquery
    # Permit all access over the loopback interface.  This could
    # be tightened as well, but to do so would effect some of
    # the administrative functions.
    restrict 127.0.0.1
    restrict -6 ::1
    # Hosts on local network are less restricted.
    restrict 10.1.1.0 mask 255.255.255.0 nomodify notrap
    # Use public servers from the pool.ntp.org project.
    # Please consider joining the pool (http://www.pool.ntp.org/join.html)
    #server 1.centos.pool.ntp.org iburs
    #server 2.centos.pool.ntp.org iburst
    #server 3.centos.pool.ntp.org iburst
    server 127.127.1.0
    fudge 127.127.1.0 stratum 2
    #broadcast 192.168.1.255 autokey        # broadcast server
    #broadcastclient                        # broadcast client
    #broadcast 224.0.1.1 autokey            # multicast server
    #multicastclient 224.0.1.1              # multicast client
    #manycastserver 239.255.254.254         # manycast server
    #manycastclient 239.255.254.254 autokey # manycast client
    # Enable public key cryptography.
    #crypto
    includefile /etc/ntp/crypto/pw
    # Key file containing the keys and key identifiers used when operating
    # with symmetric key cryptography.
    keys /etc/ntp/keys
    # Specify the key identifiers which are trusted.
    #trustedkey 4 8 42
    # Specify the key identifier to use with the ntpdc utility.
    #requestkey 8
    # Specify the key identifier to use with the ntpq utility.
    #controlkey 8
    # Enable writing of statistics records.
    #statistics clockstats cryptostats loopstats peerstats
    and cisco 3850  configured this one
    ntp server 10.1.1.241
    and
    show ntp status
    clock is unsynchronized, stratum 16, reference is null
    why...didn't work.. somebody help me..

    Is there a typo in your post or configuration? You show the NTP server IP address as 10.1.1.251, but the router configured to use 10.1.1.241.
    Regards

  • SG500 Multicast-TV

    I am trying to get multicast across VLANs working on my SG500 and since it doesn't have PIM, I think the Multicast-TV option can work.
    However, now my clients are getting switched to the Multicast-TV VLAN instead of the regular VLAN they are assigned.
    Example:
    ip igmp snooping vlan 10 multicast-tv 234.5.6.7
    ip igmp snooping vlan 10 multicast-tv 239.192.4.237
    ip igmp snooping vlan 10 multicast-tv 239.255.250.250
    ip igmp snooping vlan 10 multicast-tv 239.255.255.250
    ip igmp snooping vlan 100 multicast-tv 234.5.6.7
    ip igmp snooping vlan 100 multicast-tv 239.192.4.237
    ip igmp snooping vlan 100 multicast-tv 239.255.250.250
    ip igmp snooping vlan 100 multicast-tv 239.255.255.250
    interface gigabitethernet1/1/32
    description "VLAN 100 - Client"
    service-acl input "Access Port Security IPv4" "Access Port Security IPv6"
    switchport mode access
    switchport access vlan 100
    switchport access multicast-tv vlan 10
    interface Port-channel1
    description "VLAN 10 - Alpha"
    switchport mode access
    switchport access vlan 10
    switchport access multicast-tv vlan 100
    Now, the client on VLAN 100 has unexpectedly gotten a DHCP address from VLAN 10 and is unable to access anything outside VLAN 10.

    I'm really just trying to multicast over VLANs.
    I thought this tech included in these switches called Multicast-TV, could be used to bridge this gap somewhat.
    I just want an untaged multicast server on VLAN 10 to multicast to an untaged client on VLAN 100.
    It is completely unreasonable for the client on VLAN 100 to be silently switched to another VLAN and left with no communication outside that VLAN.
    I also did not get that impression when I was attempting to understand this technology from the Admin Guide.
    What happened was I started a server on VLAN 10.
    Then started a client on VLAN 100.
    Nothing worked...
    Stopped and started the server and client a few times and it started to work.
    Little did I know my client was magically switch to VLAN 10.
    Removed the "switchport access multicast-tv" statements and rebooted the clients.
    Back to normal.

  • How to set up the digital signature for xi server

    dear all,
    these days i need to implement a interface using the digital signature technology to enable it's security transition.
    we are going to use the digest sign with partner.
    Could anyone of you tell me the detailed steps concerning the seting up at xi server for this pupose ?
    Thanks a lot !

    This is a really urgent request,
    does anyone have the experience on this, please give me some hints ,thanks !!
    BR
    ZhouHui

  • Enabling Multicast

    Hello,
    I have a Cisco 7603 router, on which I've created a VLAN and assigned an IP address to it. I've also assigned a secondary IP since hosts on this VLAN are not all on one single IP network. The VLAN has had three gigabit ethernet ports associated with it. My question is what would I need to do to allow multicast traffic between a server on one of these ports to clients on another port? The server and clients are all on the same network as the secondary IP address assigned to the VLAN. Thank you for any assistance,
    Bob Kirk

    Here are some of the relevant global settings;
    ip multicast multipath
    no mls ip multicast aggregate
    no mls ip multicast non-rpf cef
    mls flow ip destination-source
    mls qos statistics-export interval 300
    mls qos statistics-export delimiter |
    spanning-tree extend system-id
    and some settings particular to the VLAN in question;
    interface Vlan190
    ip address 192.168.1.254 255.255.0.0 secondary
    ip address 192.139.190.1 255.255.255.0
    ip helper-address 192.139.190.19
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip pim sparse-dense-mode
    ip igmp snooping querier
    ip cgmp
    Here (to summarize the whole mess) are the IP addresses/masks/gateways of the devices;
    Multicast server (has one NIC);
    Primary - 192.139.190.51/24 gw 192.139.190.1
    Secondary - 192.168.2.253/16 gw 192.168.1.254
    Clients;
    Client 1 - 192.168.2.241/16 gw 192.168.1.254
    Client 2 - 192.168.2.242/16 gw 192.168.1.254
    And the layout: The Server resides on module 3 port Gi3/1 and the clients are on module 3 port Gi3/4. Both ports are set as following;
    interface GigabitEthernet3/x
    description "xxxxx"
    no ip address
    switchport
    switchport access vlan 190
    switchport mode access
    Thank you,
    Bob Kirk

  • Detecting IP Multicast Failure in Flash

    I have implemented player with IP Multicast using Adobe flash media server . I have two multicast servers , so if one multicast server fails I want to play stream from another multicast server . But In case of IP Multicast a connection to server is never made so how can I detect a failure in that case inside flash player ?

    I would recommend taking a look at the Chromium database to see if this has been reported.  If not, please go ahead and open a new bug report.
    How do I report a bug against Flash Player for Google Chrome?

  • Media Server Consuming Memory

    My project is forwarding an RTMP stream to an RTMFP (multicast stream) using a server action script. In forwarding this stream, the AMSCore process keeps consuming memory. This consumption of memory requires the system to be rebooted repeated. How can this be prevented?

    I did not think I could use the sample multicast application with my
    project's software. Instead,  I compared the outbound NetConnection and
    NetStream code in the sample application with the outbound NetConnection
    and NetStream code in my project's multicast server actionscript. One of
    differences I discovered is that my project's application connected to the
    rtmfp group with the following call:
    nc_connect..connect("rtmfp:");
    while the sample called:
    nc.connect(resetUriProtocol(streamContext.client.uri, "rtmfp"));
    Therefore, in my project's actionscript, I replaced connection to the
    "rtmfp:" serverless group with a connection to the application uri:
    net_connect.connect("rtmfp://127.0.0.1:" + port + "/" + application.name)
    This change fixed the excessive memory consumption. So, why does the
    connection to serverless network endpoint consume memory on Windows Server
    2008 R2 to the point that all of the virtual memory is used or it crashes
    the system?
    Scott F. Wilson
    Principal Software Engineer
    Raytheon SAS
    Marlborough, MA  01752
    Phone: 508-490-3123
    Fax:     508-490-1366

  • Multicast chat program

    Hi,
    The problem I am having is when checking to see if two specific users are using the chat program as I want them to have a separate multicast session. The if statements work and the client sends the message. The server just doesn't seem to relay it back to the client in either case.
    The code for the client part is below:
    if (userName.startsWith ("Steve") || userName.startsWith ("David"))
    MulticastSocket socket = new MulticastSocket (4447);
    InetAddress address = InetAddress.getByName ("233.0.0.13");
              socket.joinGroup (address);
    else
    MulticastSocket socket = new MulticastSocket (4449);
    InetAddress address = InetAddress.getByName ("232.0.0.13");
              socket.joinGroup (address);
    And the server part:
    if (received.startsWith ("Steve") || received.startsWith ("David"))
    InetAddress group = InetAddress.getByName ("233.0.0.13");
    packet = new DatagramPacket (buf, buf.length, group, 4447);
    socket.send (packet);
    else
    InetAddress group = InetAddress.getByName ("232.0.0.13");
    packet = new DatagramPacket (buf, buf.length, group, 4449);
    socket.send (packet);
    Does anyone have any ideas??

    Chat Client Full Code
    public class MulticastChatClient extends MulticastChatClientGUI
    public ButtonHandler bHandler;
         DatagramSocket socket;
         String ipAddress;
    String userName;
    String passWord;
    String msgToBuf;
    String logMsg= "";
         String checkBye;
         Boolean authenticatedUser;
         String deNullString (String s)
         //Function to get rid of garbage at the end of the buffer prior to
         //displaying it on the screen and saving to file.
              String result = "";
              int i = 0;
              while (s.charAt(i) != '\0')
                   result = result + s.charAt(i);
                   i ++;
              return result;
         public MulticastChatClient (String title)
              super (title);
              bHandler = new ButtonHandler();
         sendButton.addActionListener( bHandler );
         try
                   socket = new DatagramSocket ();
              catch (IOException e)
    private class ButtonHandler implements ActionListener
         public void actionPerformed (ActionEvent event) //throws IOException
                   // Get a datagram socket
                   try
                        byte[] buf = new byte[128];
                        InetAddress address = InetAddress.getByName (ipAddress);
                        //Put username before the message the user sends
                        msgToBuf=userName + " Says >> ";
                        //Populate buffer with text in the txArea
                        msgToBuf=msgToBuf + txArea.getText();
                        buf = msgToBuf.getBytes();
         //Open up port 4448 and prepare to send the packet
                        DatagramPacket packet = new DatagramPacket (buf, buf.length, address, 4448);
                        System.out.println ("About to send packet");
                        //Send the packet to the server
                        socket.send(packet);
                        System.out.println ("Packet sent");
    catch (IOException e)
                        //Error handling
              System.err.println("Couldn't get I/O for the connection to the server");
         System.exit(1);          
         public void run () throws IOException
         //Welcome user, ask for their name
              userName = JOptionPane.showInputDialog(null,"Please enter your name...",
              "Welcome To Chat V1.0",JOptionPane.QUESTION_MESSAGE);
              //Password verification
              //Promt user to enter password
              passWord = JOptionPane.showInputDialog(null,"Please enter password...",
              "User Authentication",JOptionPane.QUESTION_MESSAGE);
              if(passWord.equals ("letmein"))
                   //Correct password
                   authenticatedUser = true;
              else
                   //Wrong password
                   authenticatedUser = false;
                   //Inform the user and close the application
                   JOptionPane.showMessageDialog(null, "Wrong Password, Chat program ended",
                   "Authenticaion Failure",JOptionPane.INFORMATION_MESSAGE);
                   System.exit(1);
              //User To Enter IP Address
              ipAddress = JOptionPane.showInputDialog(null, "Thanks " userName "... Please Enter Server IP",
              "Connection Details",JOptionPane.QUESTION_MESSAGE);
              // set up connection to multicast server
    if (userName.startsWith ("Steve") || userName.startsWith ("David"))
    MulticastSocket socket = new MulticastSocket (4447);
    InetAddress address = InetAddress.getByName ("233.0.0.13");
              socket.joinGroup (address);
    else
    MulticastSocket socket = new MulticastSocket (4449);
    InetAddress address = InetAddress.getByName ("232.0.0.13");
              socket.joinGroup (address);
              while (true)
                   // send request
                   byte[] buf = new byte[128];
                   DatagramPacket packet = new DatagramPacket (buf, buf.length);
                   socket.receive (packet);
                   System.out.println ("Received packet");
                   // display response
                   String received = new String (packet.getData());
                   System.out.println ("Remote packet: " + received);
                   logMsg = logMsg + "\n" + deNullString (received);
                   checkBye = txArea.getText();
                        if (checkBye.equals ("Bye"))
                             try
                             //Create log file ClientMsg.log, outFile is used to operate on it
                             BufferedWriter outFile = new BufferedWriter (new FileWriter ("ClientMsg.log"));
                             outFile.write (logMsg);
                             outFile.close();
                             catch (IOException i){}     
                        //Tell user the program is about to close
                        JOptionPane.showMessageDialog(null, "You terminated connection, Chat program ended",
                        "Session Info",JOptionPane.INFORMATION_MESSAGE);
                        System.exit(0);
         rxArea.setText (rxArea.getText() + "\n" + deNullString (received));
    Chat Server Full Code:
    public class MulticastChatServer
    public static void main(String[] args) throws java.io.IOException
              //Open up socket and listen on port 4448
              DatagramSocket socket = new DatagramSocket (4448);
              DatagramPacket packet;
              //Variable to hold all messages
              String logMsg="";
              System.out.println ("Starting Multicast Chat Server");
              //Loop forever
    while (true)
    try
                        //Setup a 128 Byte array
    byte[] buf = new byte[128];
    // receive packet
              packet = new DatagramPacket (buf, buf.length);
              socket.receive (packet);
              InetAddress address = packet.getAddress ();
              int port = packet.getPort ();
              //Convert buffer into a string
              String received = new String (packet.getData());
              //Add the IP address to the packet received
              //received = "(" + address + ") " + received;
              //Print received message on the console
                        System.out.println (received);
                        //Put the data into the buffer
                        buf = received.getBytes ();
                        //Write message to the message log variable
                        logMsg = logMsg + "\n" + received;
                             try
                                  //Create log file ClientMsg.log, outFile is used to operate on it
                                  BufferedWriter outFile = new BufferedWriter (new FileWriter ("ServerMsg.log"));
                                  //Write the contents of logMsg to the file
                                  outFile.write (logMsg);
                                  //Close the file
                                  outFile.close();
                             catch (IOException i){}
              // multicast it
              if (received.startsWith ("Steve") || received.startsWith ("David"))
              System.out.println ("met");
              InetAddress group = InetAddress.getByName ("233.0.0.13");
    packet = new DatagramPacket (buf, buf.length, group, 4447);
    socket.send (packet);
    System.out.println ("met2");
              else
    InetAddress group = InetAddress.getByName ("232.0.0.13");
    packet = new DatagramPacket (buf, buf.length, group, 4449);
    socket.send (packet);
                   catch (IOException e)
    e.printStackTrace();
    }

Maybe you are looking for

  • I am trying to us a form on a site that requires authentication and it won't work with Muse

    I called the provider and they sent me a bunch of code to insert in order to make the form work but is there anyway I can make it work from within Muse? https://solutions.hostmysite.com/index.php?/Knowledgebase/Article/View/8460/0/using-pear-m ail-to

  • Problem in Web dynpro Java appl deployment

    Hi Experts, We are in the live environment and after successful QA testing, all the applications were deployed through SDM. In SDM log everything shows as deployed successfully. For one where in the web dynpro screen shows exception message as: faile

  • Why has my mac wiped everything off my account?

    I was aiming to delete some accounts that were not needed and were taking up space. Without realising I started to remove the account with everything I use on it. After I clicked cancel, my account still remains but everything on it has been reset. M

  • Array of cfc object help

    I just picked up coldfusion about a month ago, so my coldfusion lingo sucks. I have been programming in C++ for over 5 years now and will be using a lot of C++ terminology to help avoid any confusion. I am writing a cfc function that preforms web ser

  • Just installed Bonjour no printers show up

    I just installed the bonjour app and no printers show up and there is no place to add printers. What do I need to do to add the printrers. I have an airport extreme network with printers connected via usb or attached directly to the network. There ar