qacafe - ip test solutions
Knowledge Base > WAN Cards (T1/E1 and V.35) > How do I configure CDRouter to use the A series A101 or A102 T1/E1 adapters from Sangoma?

How do I configure CDRouter to use the A series A101 or A102 T1/E1 adapters from Sangoma?

Before CDRouter can use any Sangoma A series T1/E1 adapters, the latest stable wanpipe drivers from Sangoma must be installed and the card must be properly configured. Other T1/E1 configuration parameters such as line framing, line encoding, and clocking must be configured to match your test setup. The T1/E1 line can also be configured as a Fractional T1 interface.

CDRouter also supports older legacy S series T1/E1 adapters from Sangoma. For more information on configuring CDRouter to use legacy adapters please see this Knowledge Base article.

Configuration

The wancfg utility can be used to create a wanpipe configuration file for the Sangoma A101 and A102 adapters. When creating the configuration using the wancfg utility, the following wanpipe variables should be set:

  • Under the Hardware Setup menu, the adapter type should be selected from the hardware probe as the T1/E1 card that is installed. The wanpipe defaults for line decoding and framing will work with most T1 equipment, but you may need to make changes to these options depending on your setup.
  • The Protocol definition must be set to HDLC Streaming.
  • Under the Interface Setup menu the Operation Mode must be set to API. NOTE: You do not need to configure an IP address for this device. CDRouter will automatically configure the interface based on the CDRouter configuration file in use.
  • Under the Advanced Setup Options the MTU should be set to 1522 in order to support a maximum IP MTU of 1500 on the LAN interface. NOTE: once the wanpipe configuration has been saved, the MTU and MRU for the primary interface must be manually configured to 1522 also. This can be accomplished by editing the wanpipe1.conf configuration file and changing the MTU and MRU values under the w1g1 interface to 1522.

Example wanpipe configuration file

An example wanpipe configuration file for the A101 and A102 adapters can be found in this Knowledge Base article.

Notes

  1. Once a wanpipe configuration has been created, the T1/E1 interface should be restarted using the wanrouter restart command.

  2. Once the wanrouter driver has been restarted, the T1/E1 interface should automatically show up in the list of available network interfaces. Typically an A series adapter will show up as w1g1.

  3. The newer A101 and A102 T1/E1 cards from Sangoma do not include the HDLC checksum when packets are returned to Linux. By default, CDRouter expects to find the HDLC checksum at the end of the data packet.

    In order to use these cards (A101 and A102) with CDRouter, you must add the following testvar to your CDRouter configuration file:

      testvar wanHdlcChecksum no
    

    When the testvar wanHdlcChecksum is set to 'no', CDRouter will no longer check for the HDLC checksum on incoming packets on the T1/E1 line. If testvar wanHdlcChecksum is set to 'yes', CDRouter will report that it can not parse the incoming PPP packets correctly.

Additional Information

For more information please see Appendix B in the CDRouter User's Guide or contact us at support@qacafe.com.