Polycom V500 over WAN and QoS

we are trying to run two polycoms over WAN. One side is able to see the other while the other side cannot. The side that is unable to see the other has the following QoS setup on the WAN interface:
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
queue-set 2
msl qos trust dscp
auto qos voip trust

Your configuration is not from a WAN port but from a LAN port. Please note that just because the service provider hands you an Ethernet port, that does not mean you can use any old LAN switch to connect to it. The service provider is using Ethernet to keep their costs down but it is still a WAN port and requires a WAN interface on your terminating equipment to properly schedule and queue the traffic.
Examples of a WAN Ethernet (FastEthernet, GigabitEthernet) port are most any ISR router, a Catalyst Metro switch (i.e. 3750-METRO), the WAN blades on a 6500 switch (not LAN blades!), or the Ethernet WAN/Metro SPA adapters for a 6500/7600 SIP module.
Note that a LAN switch assumes high speed interfaces and not much of a speed mismatch between ports. A LAN port connected to a slow WAN will not be able to buffer anywhere close to amount of traffic that comes through the switch to this port and will cause a HOL (head of line) blocking scenario; and this assumes you setup the port speed and shaping/sharing parameters correctly.
A LAN switch port output buffers are measured in K and will handle 4 to 10 packets of bursting; on the other hand, a WAN port's output buffers are measured in M and will handle thousands of packets of burst.
The effects can be staggering. It is not uncommon for a service provider WAN/MAN to be terminated with a bunch of cheap LAN switches that drop upwards of 90% of the traffic destined for the WAN! Just because of lack of buffers on the output queue side and massive oversubscription between the LAN side and the WAN side, using a LAN port.
And we haven't even started talking about traffic shaping yet to match the speed of transmission from a WAN port to that of the contracted rate such that it doesn't exceed the speed on the receiving side.
Remember, regardless of the size of the WAN port (T1, E1, DS-3, OC-3, 10Mb, 100Mb, 1000Mb), the 'width' of the connection is serial and still only 1 bit wide. Just the rate of bits being sent per second is different.
The key concept that often gets lost is if you have a GigabitEthernet port on a LAN switch connected to a WAN or MAN in which you are purchasing 200Mb of service, you are, by definition, dropping 80% of the traffic in the service provider network (or at the ingress port to the service provider!). This is regardless of how 'busy' or utilized the GigabitEthernet link is. A single packet of data, say 500 bytes, will be sent out the GigabitEthernet port at 1 *billion* bits per second. Unfortunately, you may only have paid for 200 *million* bits per second as your contracted access to the service provider's network. Trust me, the service provider will deal with this discrepancy by policing 80% of your data to the bit bucket and they don't care what type of data it is.
So it doesn't matter how much data you are sending, a 1% utilized WAN connection using a LAN switch in this way could still be dropping 80% (or more) of the traffic!
A final note: Please don't be confused by most switch vendor's terminology regarding shaping or sharing of multiple limited output queue resources on their LAN switches, this is *NOT* the same thing as traffic shaping or long queues on a WAN router port or WAN/METRO switch port. This includes Cisco. This is why Cisco (and Juniper and Foundry, etc.) sell switches with METRO or WAN interfaces on them and why they are more expensive than LAN only switches.

Similar Messages

  • Java Applet - slow response over WAN and fast on LAN

    Hi All,
    Using Tomcat we have a Java applet that runs very slow over the Internet but just the opposite on the LAN (fast). On our website we have a link that we click which initializes the application. it is very slow but if the same link is clicked on the LAN it is very fast in responding. We have a 10MB internet connection and even when testing with very little traffic after peak business hours we have same results.When closing the browser and reopening it is much faster the second time. This tells me it is being Cached. If I go to a system that has never accessed the applet we are very slow again. We are hosting this application for a 3rd party so we did not write the code. This company is finger pointing at Router and I am finger pointing at Java application itself maybe not being optimal.
    I am attaching "debug" info from Java Console. Can anyone identify any issues from this debug output or familiarity with this type issue. Your insight is greatly appreciated.
    Java Plug-in 1.5.0_01
    Using JRE version 1.5.0_01 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading proxy configuration from Netscape Navigator ...
    network: Reading user preference file from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\APPLICATION DATA\Mozilla\Profiles\default\4i0ghip7.slt\prefs.js
    network: Done.
    network: Loading browser proxy configuration ...
    network: Done.
    network: Proxy Configuration: Browser Proxy Configuration
    basic: Cache is enabled
    basic: Location: C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
    basic: Maximum size: unlimited
    basic: Compression level: 0
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@b1b4c3, refcount=1
    network: Connecting http://www.mgaucb.com/gottlieb/images/codonix.png with proxy=DIRECT
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    Internal Version: 3.0.35 Build id: TB-200402041305-35
    Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
    INFO: Internal Version: 3.0.35 Build id: TB-200402041305-35
    Codebase: http://www.mgaucb.com/gottlieb/
    Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
    INFO: Codebase: http://www.mgaucb.com/gottlieb/
    Documentbase: http://www.mgaucb.com/gottlieb/TBUC.html
    Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
    INFO: Documentbase: http://www.mgaucb.com/gottlieb/TBUC.html
    WebAppPath: /gottlieb
    Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
    INFO: WebAppPath: /gottlieb
    basic: Modality pushed
    basic: Modality popped
    network: Connecting socket://www.mgaucb.com:80 with proxy=DIRECT
    Initial Trackerboard/Table: TBUrgentCare/null
    Mar 7, 2009 1:12:35 AM com.codonix.trackerboard.gui.TrackerBoardApplet doLogin(null:-1)
    INFO: Initial Trackerboard/Table: TBUrgentCare/null
    SiteID: CodoniX
    Mar 7, 2009 1:12:35 AM com.codonix.trackerboard.gui.TrackerBoardApplet doLogin(null:-1)
    INFO: SiteID: CodoniX
    liveconnect: the url of the applet is http://www.mgaucb.com and the permission is = false
    liveconnect: JavaScript: calling Java system code
    liveconnect: JavaScript: default security policy = http://www.mgaucb.com
    liveconnect: JavaScript: calling Java system code
    liveconnect: JavaScript: default security policy = http://www.mgaucb.com
    Starting UI Generator....
    liveconnect: JavaScript: calling Java system code
    liveconnect: JavaScript: default security policy = http://www.mgaucb.com
    Warning: No permission to control logging.
    Mar 7, 2009 1:12:58 AM com.codonix.uigenerator.StartApplet init(null:-1)
    WARNING: No permission to control logging.
    Warning: No permission to control logging.
    Mar 7, 2009 1:12:58 AM com.codonix.uigenerator.StartApplet init(null:-1)
    WARNING: No permission to control logging.
    liveconnect: JavaScript: calling Java system code
    liveconnect: JavaScript: default security policy = http://www.mgaucb.com
    liveconnect: JavaScript: calling Java system code
    liveconnect: JavaScript: default security policy = http://www.mgaucb.com
    liveconnect: JavaScript: calling Java system code
    network: Connecting socket://www.mgaucb.com:80 with proxy=DIRECT

    Hi Geoff,
    Thanks for posting here.
    Have you checked your internet edge router ? and make sure there is no any speed limitation set on it , like QOS.
    You may also try the methods below:
    1. Disable RSS, Chimney, AutoTuning on 2008R2
    How to know if TCP offload is working
    http://blogs.technet.com/b/brad_rutkowski/archive/2007/08/10/how-to-know-if-tcp-offload-is-working.aspx
    2. Install Hotfix 982860
    A computer that is running Windows 7 or Windows Server 2008 R2 takes four minutes to open a Microsoft Office 2003 document from a network share
    http://support.microsoft.com/kb/982860
    Thanks.
    Tiger Li
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Accessing a shared USB over WAN from a Windows computer

    Hello,
    I cannot seem to find any documentation on how a Windows computer can remotely access the Airport Extreme's shared disks. I have turned on sharing over WAN and my Airport Extreme has a static, addressable IP on the web.
    Can anyone provide me a link or a pointer on how to do this?
    Thanks!

    BUMP! No one?

  • Sharing Airport Extreme with attached HD over WAN to Windows

    So I've never gotten this to work. I have three external HD's attached to my airport extreme, the extreme is set to share over WAN, and any Mac can connect with zero problem using AFP. However, I've never had a Windows computer connect successfully using Samba. I have connected over LAN on windows just fine (not with Samba, of course, just with the built in windows systems) but I've never had anyone using Samba be able to connect from over the web.
    Has anyone else had this work? Any guidance to offer? A friend of mine said the Samba port (445) was closed on my IP - because this is being shared via the Extreme, I can't very well set port forwarding to deal with this issue, so I'm clueless. Help!

    Your drive is most likely formatted with NTFS, which the Mac and the Airport will both read, but not write to.
    The drive needs to be Mac formatted.
    See this link:
    http://docs.info.apple.com/article.html?artnum=305038

  • Time Capsule - Share over WAN

    My Time Capsule is connected to another router through Ethernet as bridge mode and wireless. Therefor the option to Share disc over WAN and i can't access it over the internet. Is it possible to set up the same Share over WAN feature on my routers web interence?

    Ok, lets get down and dirty.
    What modem router are you running?
    Does it have a DMZ and have you tried placing the TC in the DMZ?
    Many routers do not allow a connection to be made even after you have port forwarded because the firewall is turned on. Turn off the firewall in the router. Turn off the firewall in the router on the wan connection. Check that the computer firewall is also not preventing the connection.
    *Firewall is a key issue for failure to connect over WAN connections*
    Sometimes upnp in the router can mess up with manual port forwarding. Try turning off upnp.
    I would also try reset of the modem and if possible see if you can get something to ping respond to you. If the modem has a ping responder in it, turn it on to ensure you can actually get packets to the router and back again.
    I also have to ask you are actually testing from a different internet connection?? You cannot test wan port opening from LAN.. well not without nat loopback or remote proxy setup.

  • FXO traffic is going over Wan link after enabling QoS

    Hi,
    We have CCM 5.0,2811 voice gateway,1 4FXO and 1 g.shdsl card on it. 4 Telco lines are on 4FXO card.CCM is at the other side of g.shdsl line.Topology like that,
    2811 ---------------- CCM
    4fxo g.shdsl
    When a call receives from FXO port, system is working normally without QoS. When we enable QoS traffic,traffic is going over wan link then return again.Because of that,delays and timeouts occuring.Router's config is at the attachment. Please Help!
    Thank you

    Check your H323 gateway config in CCM to be sure the Media Termination Point Required box is unchecked. Using MTP forces the call to terminate on the closest MTP resource which is likely at your CCM site.
    Please rate helpful posts.
    Dave

  • Airport Extreme and External Hard Drive. Backup over WAN?

    Hi
    I'm new to Mac's and just got a macbook air and a airport extreme.  I connected my external hard (toshiba) drive to the AE and my computer will recognize it, but when I try to connect to it using Time Machine my external hard drive is not recognized as a device that I can backup to over my WAN.  I'm not sure if this is possible, but I would like to be able to backup over the WAN if it is possible.  Is it possible to backup using time machine over WAN using an AE and a non apple external hard drive?

    Time Machine cannot backup to a hard drive unless it is formatted in Mac OS Extended (Journaled), also known as HFS+.
    You have me scratching my head about backing up through the WAN port. Normally, the WAN port would be used for a connection from a modem.....or another router.
    However, if you have the AirPort Extreme configured to connect to another router via Ethernet, and the AirPort Extreme is set to operate in Bridge Mode, then you don't have a WAN port, they are all LAN ports, so it would not matter which of the ports that you used.

  • Where to place files and folder in shared disk over WAN

    Hello, I have a new Airport Time Capsule 3TB and I want to share my disk over WAN for remote accessing.
    When I log to the server with my MacBook or iPhone, I see "Data" folder, and inside it I see my Time Machine backups.
    My question is: where, -in the Time Capsule disk-, do I have to place the files / folders that I want to share over WAN. I am afraid to damage or corrupt my Time Capsule backups.
    Thank you in advance.

    It is not possible to partition the Time Capsule drive.....unless you.....
    Pull the drive from the Time Capsule case....(voids the warranty)
    Install the drive in a separate enclosure or caddy
    Connect the enclosure directly to your Mac
    Use Disk Utility to partition the drive
    Reinstall the drive back in the Time Capsule
    This is a lot of work....and should best be left to a technician.
    All things considered, it would be better if you dedicated the Time Capsule for Time Machine backups only...and added another drive for your shared file needs, but few users seem willing to do this.

  • InDesign CS6 Std working and accessing ID files over WAN.

    Could you please share experiences Windows 7 64 bit InDesign CS6 Std opening and working with 100-120MB files over public ISP WAN using VPN?
    Right now  very often we experience unresponsive screens of CS6, while nothing happens during 10 minutes and ID needs to be closed from Task manager.
    Usually this is a result of some action, ID button or mouse click.
    Background is, that enterprise has a central InDesign file depository, where ID files can be accessed and worked with from different countries.
    While transfer speed of our local ISP is 20/10 Mbit, depository side server real life bandwidth and server access speeds are variable and unknown.
    Is there some option to set up in local PC, which could improve performance over WAN?

    I agree with Bob. For best performance, I'd recommend copying the files locally if possible. Although it's very common to work over a LAN, I beleive that Adobe's official policy is that they don't support working over a network. What this means is that if you call Adobe support with a problem, they'll have you copy the file locally. If that solves the problem, they're done. This is their way of avoiding network troubleshooting for hundreds of different types of servers.

  • Cluster Over WAN Test

    We are planning to put a subscriber across WAN.We have enough bandwidth (6MB) bewteen sites and we followed all the SRND recommendations(especially QOS) for Cluster over WAN.
    I used extended ping with type 3 (as in SRND) to test the RTT from a switch at remote site to publisher CM and it came less then 40 ms.
    Is there any other test we can do so we can test the RTT and bandwidth is enough for ICCS traffic.
    Thanks for the help
    Bala

    you could put a good load of data on the wire across the wan, see if you can get 3-4mb (or whatever your maximum is) and then test your pings.
    use the results added to the number of phones (BHCA) and see what the numbers 'should' look like.
    be sure to use the bandwidth calculator if you haven't already. try for many or all different codecs.
    see the bandwidth calculator at the following link: (requires cco account)
    http://tools.cisco.com/Support/VBC/do/CodecCalc1.do

  • Sharing an iTunes Library over WAN?

    Sorry if this question has been asked before but my searching of the forum here has only seemed to turn up questions and anwswers on sharing over a local network. Here is my question.
    Is it possible to share an iTunes library over the internet? And if so, how? If it isn't I'd like to know so I can stop trying to track down how to do this.
    I have a Titanium G4 at home running iTunes 6.01 using a cable modem and router. The router firewall has been setup with the proper ports for iTunes and FTP (FTP works fine). My work computer is a G5 running iTunes 6.01 connected via a DSL modem/router.
    I have no other issues connecting to my home computer from work, but I can't see my shared music at home on my work computer.
    Thanks for any info.

    Issue solved. Here is what I did. I setup my Mac at home so I could connect at work. Inside the iTunes library on my work Mac I created an alias to the iTunes Music folder on my home Mac. Since my library at home and work are exactly the same iTunes on my work Mac sees a local library file but is streaming the music over WAN from my Mac at home.
    The are some stops and starts as the connection is over WAN, but it's pretty smooth. Do not know what will happen if I need to add or subtract from the library on either Mac.
    Just bringing this to the front in case anyone is interested in trying it themselves.

  • Time Capsule 2TB missing "Share Disks over WAN" option

    I bought a time capsule about a month ago. Setup was no problem. Have a MobileMe account. Successfully setup remote access using MobileMe. Needed to select "Share Disks Over WAN" under the file sharing tab which is under the disk tab in setup in order to make it work.
    Bought another time capsule yesterday and trying to setup in another location. This model does not have that "Share Disks Over WAN" option. Am I missing something? Did Apple make a change? I am not able to access this new drive remotely now, even with my MobileMe account active.

    "As I write this, I am using my wife's iPad to browse files and folders on the Time Capsule disk. I can switch over to the disk attached to the AirPort Extreme with a single tap."
    Awesome!  Hopefully I will have the same luck as you!
    "I said that Filebrowser will do a very nice job. One of my support policies is that I never offer advice or instructions unless I have done it myself.  "
    Well that's good to know going forward!
    "Make sense?"
    Yep - no confusion whatsoever.
    Brian

  • The whole configure over WAN thing is confusing me I don't want anyone to be able to access my airport extreme over the WAN.  How can I check to make sure that is the way I have it setup?

    I just bought a new airport extreme and I want to make sure that is NOT set up for "configure over WAN".  How do I check to make sure that is how I have it set up?  I only want access to the base via WPA2 password

    Open AirPort Utility, select the AirPort Extreme, and click Manual Setup
    Click the Base Station tab located just below the row of icons
    Remove any check mark that might be in the box next to Allow Setup over WAN
    Click Update to save your settings and the AirPort Extreme will restart in 25-30 seconds
    For what it is worth, if you leave the box checked, any computer that tries to access the settings on the Airport Extreme will be asked for the device password....not the wireless network password.

  • Bonjour & disk sharing over WAN -Expert/Genius help required

    *Goal: Learn how to connect to my USB hard disk over WAN, share drive with specific people.*
    I'm trying to figure out how to remotely access my data on the external drive via connected via USB to my AEBN.
    I've spent several hours dinking around with my router, trying to see if I can access the drive over the WAN. I haven't found any manuals, discussions, or K-Base articles that spell it out for me. Below is a list of things I've done. Please indicate whether they are relevant, and if possible what the procedure is. Thanks:
    Conditions: I have a static IP address and through the DHCP tab I have assigned all attached machines a static LAN IP address.
    *1. Airport>Base Station: Allow configuration over Ethernet WAN port.* I've checked this box and can remotely admin my AEBN from my PC laptop (XP) via the Airport Utility.
    *2. Airport>Access Control: MAC Address Access Control.* I didn't know if this would help or hurt anything so I added the MAC address for all ethernet and wireless ports connected to my network and given unlimited or untimed access. +No noticeable difference.+
    *3. Internet>DHCP: DHCP Reservations.* As mentioned above in conditions, I've assigned an internal IP address for each device's ethernet and wireless ports, based on the MAC address. +Seems like this and Access Control are redundant except for the time settings.+
    *4. Disks>File Sharing:* Enable file sharing is checked, with accounts (configured), "Share disks over ethernet WAN port" is also checked, as is "Advertise disks globally using Bonjour". Not sure what to put in the bottom two fields (Workgroup and WINS Server) so they're blank.
    *5. Advanced>Port Mapping:* I've assigned ports to my iMac for gaming and SSH access but I don't think these would effect the USB disk would they?
    *6. Advanced>Bonjour:* "Use a wide-area hostname" is checked. My LAN network name is in the Hostname field, for Domain I just typed my WAN IP address, and I put something in for Name and Password.
    I'd love any assistance to figure this out.
    Lastly, how does Bonjour help over the WAN? Is there some sort of Bonjour application I open log-in, like FTP client software?

    Since this discussion has now been resurrected...
    The advice provided by chrisfenix will allow you to access the Airport drive from a PC on your private LAN.
    The preceding discussion, however, was on the topic of accessing the Airport drive remotely over the internet. To do that, you could still use the advice provided by chrisfenix but substitute the public IP address of the Base Station. To find that out (and answer a question posed earlier in this discussion as well) just go to http://whatismyip.com/ from any computer on your own network.
    To answer a question posed by the originator of this discussion - Bonjour is not at all necessary for remote access of the Airport drive. Those people who know how to use this feature will know what it is for and how to implement it - the rest of us can just pretend this feature doesn't exist.

  • 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

Maybe you are looking for

  • Can't Sync New IPod Touch

    I have just purchased the IPod Touch. I have an 80 gig classic. I can't get the touch to sync with my ITunes library. I keep getting the message "The Ipod "Ron's Touch" cannot be synced. The disk could not be read from or written to. I have called su

  • Profit Center at Invoice level

    Hi Experts, Our client wants to clear vendor open items in FBL1N profit centerwise. In payment line item, we can see profit center but in invoice line item, profit center not visible. can anyone tell me possible solution for this. Regards Sanjay_FICO

  • IPhone problem please help me!

    Hi there, I have had my 3G S for about 6 months, and I had it sitting next to me while I was on my computer. I then tried clicking my home button, and nothing happened. I hit the sleep button, tried to turn it on, tried syncing to my computer and not

  • Project edit will is not saved

    When I edit an existing project in iMovie, everythig appears normal. Howver, when that project is exported the original video without the edits are in the exported video file. Furthermore, when iMovie is closed and then reopened the edits are gone. E

  • Internal scsi drives on mac pro?

    I have just received my Mac Pro, which will soon be put into use as the center of a commercial audio recording facility. I was under the impression that the SCSI drives I had been using in my aging MDD dual 1 GHZ would be port-able to the new box. Bu