Knowledge Base >
WAN Cards (T1/E1 and V.35) >
How do I configure CDRouter to use legacy S series T1/E1 adapters from Sangoma?
How do I configure CDRouter to use legacy S series T1/E1 adapters from Sangoma?
Before CDRouter can use legacy S series adapters from Sangoma, such as the S5148 T1/E1 card, the latest stable wanpipe drivers from Sangoma must be installed and the card must be properly configured using the HDLC Streaming API mode. 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 newer A series T1/E1 adapters from Sangoma. For more information on configuring CDRouter to use A series adapters please see this Knowledge Base article.
Configuration
The wancfg_legacy utility can be used to create a wanpipe configuration file for the Sangoma S5148 adapter. When creating the configuration using the wancfg_legacy utility, the following wanpipe variables should be set:
- The WAN Protocol definition must be set to Cisco HDLC.
- Under the Hardware menu, the adapter type should be set to the T1/E1 card that is installed. The MTU should be set to 1522 in order to support a maximum IP MTU of 1500 on the LAN interface.
- Under the T1/E1 Hardware menu the T1 line configuration can be configured to match your T1/E1 setup. If you are using a T1 cross over cable to connect to the T1 router under test, the clock setting should be set to Master. You can also configure Fractional T1/E1 under this menu. 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.
- Under the Network Interface 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.
- Also under the Network Interface menu the CHDLC protocol setup must also be set to HDLC stream mode. This sets up the network device to send and receive raw HDLC frames. NOTE: Although the device is configured using the Cisco HDLC protocol, the device will not actually run CHDLC once the HDLC streaming mode is configured. CDRouter does not currently support CHDLC over a T1/E1 interface.
Example wanpipe configuration file
An example wanpipe configuration file for the S5148 adapter can be found in this Knowledge Base article.
Notes
-
Once a wanpipe configuration has been created, the T1/E1 interface should be restarted using the wanrouter restart command.
-
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 wp1chdlc.
Additional Information
For more information please see Appendix B in the CDRouter User's Guide or contact us at support@qacafe.com.