Configuring CoBos For UDP Datagram Type 01

How Do I Configure A CoBos Product To Use UDP Datagram Type 01?


If you want to use UDP datagram type 01 to communicate with your CoBos product you will need to configure each device for using UDP protocol. Choose from one of the two bulleted configuration methods below. One is for directed UDP from a local subnet and two is for directed UDP spanning a router. 


  • This configuration setup is for directed UDP on a Local Area Network (no routing).

    On device #1, device #2 and device #3 (or more) use the following configuration.

    From a DOS command prompt, telnet to the IP Address of each CoBos product using port 9999.
    Example: C:\telnet xxx.xxx.xxx.xxx 9999, hit enter.

1. Select 1 for the channel configuration, hit enter.

2. Enter until you reach the connect mode configuration.

3. Set the Connect Mode to CC, hit enter.

4. Next, set the Datagram type to 01, hit enter.

5. Next, set the Remote IP Address to 172.30.255.255

Note: This remote IP address example is the network broadcast address for a class B subnet with the network number 172.30. You will need to calculate your network broadcast address and enter that broadcast address in the remote IP field.

6. Next, set the Remote Port to 10001. (Port 10001 is the Lantronix device default port)

7. Next, enter until you reach the menu choice and enter 9 for save and exit.

Serial data sent into the port of any CoBos product on the network will be sent out of the serial ports of all other similarly configured CoBos products on the network.


  • This configuration setup is for directed UDP over a router. This method is strictly a one on one communication (1 device to 1 device).

    Example: Each device is on a different class B subnet (these values are for example only, use values that are valid on your network)
    Device one has an IP of 172.31.1.1
    Device one has it's gateway set to 172.31.0.1
    Device two has an IP of 172.32.2.2
    Device two has it's gateway set to 172.32.0.1

    From a DOS command prompt, telnet to the IP Address of each CoBos product using port 9999.
    Example: (Device 1 - 172.31.1.1)
    C:\telnet xxx.xxx.xxx.xxx 9999, hit enter.

         1. Select 1 for the channel configuration, hit enter.
         2. Enter until you reach the connect mode configuration.
         3. Set the Connect Mode to CC
         4. Next, set the Datagram type to 01
         5. Next, set the Remote IP Address to 172.32.2.2

              Note: This remote IP address example is the IP address of device 2.

         6. Next, set the Remote Port 10001. (Port 10001 is the Lantronix device default port)
         7. Next, enter until you reach the menu choice and enter 9 for save and exit.

    Example: (Device 2 - 172.32.2.2)
    C:\telnet xxx.xxx.xxx.xxx 9999, hit enter.

         1. Select 1 for the channel configuration, hit enter.
         2. Enter until you reach the connect mode configuration.
         3. Set the Connect Mode to CC
         4. Next, set the Datagram type to 01
         5. Next, set the Remote IP Address to 172.31.1.1
     
              Note: This remote IP address example is the IP address of device 1.

         6. Next, set the Remote Port 10001. (Port 10001 is the Lantronix device default port)
         7. Next, enter until you reach the menu choice and enter 9 for save and exit.


Connect the two devices to their respective networks with the proper routing set for each network. Data sent into the serial port on one device server will be sent out of the other device server, and vice versa.



[Originally Published On: 01/10/2006 06:04 AM]