DLSw over WAN to Ethernet to Token Ring

Currently, a 3745 in Portland is token ring attached and SNA traffic travels that ring to an IBM 2210 router.
That IBM router connects to a second token ring, which a Cisco 2613 is also connected to. From there
the traffic travels DLSw over the WAN (3 T1s, Multilink PPP bundle) to a 7507 in Cincinnati where a 3745
is connected via serial.
3745-TIC<->TR<->2210<->TR<->2613(DLSw)<->WAN<->(DLSw)7507<->LIC-3745
The 7507 serial port is configured as follows:
interface Serial4/3
description 3745 LIC connection for Fred Meyer DLSW
mtu 4400
no ip address
encapsulation sdlc
no ip mroute-cache
no keepalive
serial restart-delay 0
clockrate 125000
sdlc vmac 4000.3745.0000
sdlc N1 35200
sdlc address 29 seconly
sdlc partner 4000.0910.0008 29
sdlc dlsw 29
The 2613 has an ethernet. The folks in Portland want to move off of the TR and on to Ethernet.
They will replace the IBM router with one that has both TR and ENET.
If we move to the ethernet, the result will be:
3745-TIC<->TR<->2210<->ENET<->2613(DLSw)<->WAN<->(DLSw)7507<->LIC-3745
Should I change the MTU size on the serial port to 1500 (Ethernet)?
Are there any changes that should occur on the 3745/Mainframe side?
Do you see any other issues?

You cannot increase the MTU for ethernet larger than 1500 bytes because 802.3 (the standard for ethernet) does not allow that.
You may see issues. The problem is that both 3745 does not know the existance of the ethernet. If either 3745 sends a packet larger than 1500 bytes, the 2613 will drop the packet. (I am not an expert on 2210, I do not know if the 2210 is smart enough to segment the SNA packet into 2. I doubt it does, but please confirm it with IBM.) This causes the remote FEP detects a gap in SDLC, LLC2, or TH sequence number. No matter which layer detects the problem. The end result is still the same. The DLSw circuit will be disconnected.
There are several suggestions to your problem:
1. Make sure the both FEP will not send any PIU larger than 1500 bytes. This can be done either on the NCP gen or modtab. Checking the modtab is tough because your system programmers have to know all application running over the link. Then, they have to check the corresponding modtab entry for the applications.
2. run DLSw between 7507 to IBM 2210
3. directly connect the 2613 to the TIC (3745)

Similar Messages

  • Connecting ethernet to token ring

    I'm having trouble trying to configure cisco 2612 router to connect SNA server to datacenter host. please refer to connectivity below.
    SNA server--eth----router--t/r--control unit--modem-SDLC---modem---FEP
    the controller unit has token ring card installed on it and it's connected to router's t/r port..i configured the router with SR/TLB but no success, what we did we temporarily removed the router and add token ring adapter on the same SNA server then connect direct to control unit and it's work but we need to implement the connectivity shown above..thanks

    Hi Matthias,
    working topology:SNA server with 2 NIC ethenet and T/R
    --eth-SNA-t/r---control unit-modem--sdlc--modem--FEP
    with router:not working
    SNA-eth-router-t/r-control unit-modem-sdlc-modem-FEP
    please checked the router config below, thanks
    Current configuration : 686 bytes
    version 12.1
    no service single-slot-reload-enable
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    hostname Router
    enable secret 5
    ip subnet-zero
    no ip routing
    source-bridge ring-group 20
    source-bridge transparent 20 10 2 5
    interface Ethernet0/0
    ip address 10.10.50.2 255.255.255.0
    no ip route-cache
    bridge-group 2
    interface TokenRing0/0
    no ip address
    no ip route-cache
    ring-speed 16
    source-bridge 5 2 20
    ip default-gateway 10.10.50.1
    ip classless
    ip http server
    bridge 2 protocol ieee
    bridge 2 bitswap-layer3-addresses
    line con 0
    line aux 0
    line vty 0 4
    password
    login
    Ethernet0/0 is up, line protocol is up
    Hardware is AmdP2, address is 000e.3853.fae0 (bia 000e.3853.fae0)
    Internet address is 10.10.50.2/24
    MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:00, output 00:00:01, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue :0/40 (size/max)
    5 minute input rate 1000 bits/sec, 2 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    3789 packets input, 364786 bytes, 0 no buffer
    Received 2964 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 input packets with dribble condition detected
    354 packets output, 39668 bytes, 0 underruns
    0 output errors, 0 collisions, 1 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out
    TokenRing0/0 is up, line protocol is up
    Hardware is HAWKEYE, address is 0070.1cca.5f87 (bia 0070.1cca.5f87)
    MTU 4464 bytes, BW 16000 Kbit, DLY 630 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation SNAP, loopback not set
    Keepalive set (10 sec)
    ARP type: SNAP, ARP Timeout 04:00:00
    Ring speed: 16 Mbps
    Duplex: half
    Mode: Classic token ring station
    Full duplex capable
    Source bridging enabled, srn 5 bn 2 trn 20 (ring group)
    spanning explorer disabled
    Group Address: 0x00000000, Functional Address: 0x0800011A
    Ethernet Transit OUI: 0x000000
    Last Ring Status 00:05:14 (0x2000)
    Last input 00:00:00, output 00:00:03, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue :0/40 (size/max)
    5 minute input rate 1000 bits/sec, 1 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    2794 packets input, 449251 bytes, 0 no buffer
    Received 962 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    390 packets output, 31117 bytes, 0 underruns
    0 output errors, 0 collisions, 8 interface resets
    0 output buffer failures, 0 output buffers swapped out
    0 transitions

  • DLSw Token Ring to Ethernet - Remote Peer MAC

    Hi,
    Refer to following link, http://www.cisco.com/en/US/partner/tech/tk331/tk336/technologies_configuration_example09186a0080093ecd.shtml
    If there is host attached Ring 500 with MAC 0000.1111.0000 (non-canonical) ,another host attached to router B E0, MAC 0000.2222.0000 (canonical)
    1) If I configure dlsw mac-address command at router A , should the MAC address configure should change non-canonical ?
    2) If I want to configure dlsw mac-address command at router B , is the configure MAC address remain as non-canonical ?
    May be you can explain more about the scenerio about when or where to bit swap the MAC address of configuration.
    Best Regards.

    Hi,
    I get confusing. To make it simple I include the config and example.
    Assume Token ring host is non-canonical and ethernet host is canonical. Please refer R1 & R2 config at the end.
    Regards.
    Scenario 1
    Token Ring Host ---- R1 ===DLSW=== R2 ----Ethernet Host
    (Answer)
    XXXX.XXXX.XXXX - should convert to non-canonical
    YYYY.YYYY.YYYY - remain non-canonical
    Scenario 2
    Ethernet Host ---- R1 ====DLSW==== R2 --------Ethernet Host
    (Answer)
    XXXX.XXXX.XXXX - should convert to non-canonical
    YYYY.YYYY.YYYY - should convert to non-canonical
    OR ?
    XXXX.XXXX.XXXX - remain canonical
    YYYY.YYYY.YYYY - remain canonical
    which one ??
    Best Regards.
    R1
    dlsw local-peer peer-id 1.1.1.2
    dlsw remote-peer 0 tcp 1.1.1.1
    dlsw mac-addr XXXX.XXXX.XXXXX remote-peer ip-address 1.1.1.1
    R2
    dlsw local-peer peer-id 1.1.1.1
    dlsw remote-peer 0 tcp 1.1.1.2
    dlsw mac-addr YYYY.YYYY.YYYY remote-peer ip-address 1.1.1.2

  • SNA Server on Ethernet cannot talk to AS/400 on token ring

    We have an SNA server on Ethernet and it cannot talk to a token ring device Q159462 from microsoft suggests to disable LLC local Acknowledgement.
    Does anyone have any suggestions and how can I disable LLC?

    You can do DLSw FST. I do not find an example of FST. The configuration guide for FST is as follows:
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fibm_c/bcfpart2/bcfdlsw.htm#1002472
    Basically, it has a very similar configuration as TCP encaupsulation. Just replace "TCP" by "FST" in the dlsw remote-peer statements.
    Please note that FST does not offer segmentation/fragmentation. If the LLC2/DLC frames are larger than 1400+ bytes, the router just drops the packets. Make sure that the token ring stations do not send packets larger 1400+ bytes.
    For your information, RIF passthrough is another useful option. Please note that RIF pass through DOES NOT support token ring to ethernet, as documented in the following URL:
    http://www.cisco.com/warp/public/cc/pd/ibsw/ibdlsw/tech/dls24_rg.htm
    One final comment. I have been supporting DLSw and Cisco routers for 4 years. I have worked with a lot of customers setting up MS SNA server and Cisco routers. I have never worked on a case which Cisco routers fail to forward SAMBE. I am working with the development group and find out if this is an IOS bug or not.

  • How to handle DLSw for SDLC and token-ring to same remote peer

    We have the need to have SDLC and token-ring connections from one local router to a the same remote site. Currently we have a remote peer for token-ring:
    dlsw port-list 10 TokenRing0/0
    dlsw remote-peer 10 tcp a.b.c.d lf 1500
    We have an SDLC link on a serial port. I understand that SDLC is part of group 0. How do I also get the SDLC traffic to the same remote peer? Is it as simple as adding another remote peer statement to the same IP?
    dlsw remote-peer 0 tcp a.b.c.d lf 1500

    Do you have your token ring configuration complete to bridge to DLSW ?
    for example;
    source-bridge ring-group 2000
    dlsw local-peer peer-id 150.150.10.1
    dlsw remote-peer 0 tcp 150.150.10.2
    interface loopback 0
    ip address 150.150.10.1 255.255.255.0
    interface serial 0
    ip address 150.150.11.1 255.255.255.192
    interface serial 1
    description PU2 with SDLC station role set to secondary
    no ip address
    encapsulation sdlc
    no keepalive
    clockrate 9600
    sdlc role primary
    sdlc vmac 4000.9999.0100
    sdlc address 01
    sdlc xid 01 05d20006
    sdlc partner 4000.1020.1000 01
    sdlc dlsw 1
    interface serial 2
    description Node Type 2.1 with SDLC station role set to negotiable or primary
    encapsulation sdlc
    sdlc role prim-xid-poll
    sdlc vmac 1234.3174.0000
    sdlc address d2
    sdlc partner 1000.5aed.1f53 d2
    sdlc dlsw d2
    interface tokenring 0
    no ip address
    ring-speed 16
    source-bridge 100 1 2000
    source-bridge spanning
    If your SDLC link is working through DLSW (it is in DLSW ring group 10 according to your first configuration statement and port list statement and must match at both ends), it should be an easy modification to add the token ring configuration to join the bridge to the remote DLSW router.
    See;
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fibm_c/bcfpart2/bcfdlsw.htm#1003756
    best of luck

  • 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.

  • 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

  • Does turning off DHCP remove option to Share Hardisk over WAN?

    I'm a recent Apple convert. I have a new Macbook and have downloaded all recent updates.
    I just integrated the Airport Extreme Base Station into my current home network. I have DHCP turned OFF in the AP because I am running a netgear router in my basement that is already connected to my Cable Modem. It needs to stay in the loop because I am using it to feed my XBox360, due to the issues related the Base station/360 interaction.
    Here is my question... Does having DHCP turned off in the AP, remove the checkbox option in the "Disks" section of Airport Utility toolbar to "Share disks over Ethernet WAN port"? Its MISSING completely. I've seen many instructions that reference that phrase, but the only checkbox I have on that screen is one for using Bonjour. I want to connect a usb drive so I can have a central storage so my wife and I can share itunes/photos/documents. So could it be that option disappeared due to turning off DHCP or is there some other issue?

    If you want to share your disks over WAN then you need to do the following:
    1. Assign a manual IP address for your AirPort. You can do this by running AirPort Utility and under Internet you need to change Configure IPv4 from Using DHCP to Manually.
    2. You need to port forward TCP port 548 on your main router to the IP address you assigned your AirPort. After doing this you will be able to access your AirPort disks by going to Finder, Connect to Server, and entering afp://<yourgatewayipaddress> You can find your gateway IP address by going to www.whatismyipaddress.com while on your home network.

  • How to access Time Capsule drives behind DSL Router over WAN

    Hello everyone,
    I have an older Time capsule(with USB Drive) connected to my Hitron CGN3 DSL wireless router over ethernet. 
    I have turned off the wireless functionality of the TC since the router seems to be much faster on Speedtest.net. 
    I have my TC and attached USB drive setup to share over WAN but am getting a Double NAT error.
    It doesn't seem like I can turn off NAT on my Router.
    I can't run the TC in bridge mode because it will remove the Share over WAN option for the TC and Drive.
    Is it possible to setup the TC and attached USB drive to the router, without wireless on, so that I can access the TC and drive over the internet?
    Any help would be soooooo apreciated!!!
    Thanks!
    Ian

    Does anyone know why my Time Capsule drive sharing needs to be set to disk password?
    You can set the TC disks to user accounts.. at least you can on older TC with older airport utility.. but there are consequences which you discovered.
    If you set accounts.. you will have major issue with the existing files.. they will all disappear.
    The old v5 utility gives you this warning.. which somehow Apple forgot on new version.
    It actually makes all the present files disappear for all users. The warning just doesn't go far enough. You do this on a blank TC.. and of course the USB drive is just the same.. you cannot use different settings on that to the TC internal drive. So offload all your files.. create accounts on a bare TC.. load the files back into the correct user profiles.
    In the end you probably want more flexibility than a TC is designed for.. buy something designed for remote access.. WD MyCloud.. it is hugely superior.
    Also. . .  I am trying some File manager apps for my iPhone in hopes that i can connect to the same drive with it.  So far no luck with the free versions of FileBrowser Lite or File Explorer Free.
    Most are SMB based.. not AFP.. Apple offer only two protocols.. SMB and AFP. But no responsible ISP allows SMB over the internet. The flood of files from hacked windows machines would bring the internet to a grinding halt.
    People do get around it.. you can use filebrowser for instance by opening SMB to the outside world on a non-standard port.
    See http://www.stratospherix.com/support/gsw_timecapsule.php?page=6remote
    But this is incredibly risky.. there is very poor security and it is not a great idea. The AFP security is much better than SMB.
    If you want security use something other than TC.. any real NAS that offers VPN access for instance. The cost of a WD MyCloud is very reasonable when you look at the flexibility of the design. But any decent NAS will offer real remote access.. not Apple's limited pretend version.

  • 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.

  • 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.

  • Setup over WAN AirPort Express

    Hi all,
    I just checked the box "Allow setup over WAN" in the AirPort Utility, now, how do I connect to the AirPort Express from my office?
    Thanks,

    Hi kevin_h,
    By checking the box "Allow setup over WAN" you can now configure the base station over the Ethernet network connected to the WAN port (Wide Area Network port) of the Airport Express.
    AirPort Utility 6.x: Give your base station or AirPort Time Capsule a name and password
    Select Allow Setup over WAN if you want to configure your wireless device over the Ethernet WAN port. This lets you make changes to settings when you’re connected over a network.
    This assumes your office is wired to the Airport Express with Ethernet.
    Once configured, you can connect to the base station wirelessly.
    See the Setup Guide here:
    manuals.info.apple.com/MANUALS/1000/MA1613/en_US/airport_express_80211n_2nd_gen _setup_guide.pdf
    Regards,
    Nubz

  • 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

Maybe you are looking for