In some cases it may be necessary to include an additional router in the test setup. CDRouter supports this type of scenario when the DUT's WAN connection mode is static or DHCP only.
In the example test setup shown below, an additional router is used to route between an ATM network and an Ethernet network. In this case the DUT is a DSL CPE that is connecting to an ATM-based DSLAM. The router eliminates the need for installing a separate ATM interface in the CDRouter host system. Note that the ATM/Ethernet router must be configured as a DHCP relay agent in this setup.
wanIspGateway, wanIspAssignGateway, and IPv4hopCount must be included in the CDRouter configuration file. A sample CDRouter configuration based on the test setup above is provided here:
# -- Sample CDRouter DHCP relay configuration testvar wanMode DHCP testvar wanIspIp 10.0.0.1 testvar wanIspGateway 10.0.0.2 testvar wanIspMask 255.255.255.0 testvar wanIspAssignIp 4.0.0.2 testvar wanIspAssignGateway 4.0.0.1 testvar wanNatIp 4.0.0.2 testvar wanIspNextIp 4.0.0.10 testvar IPv4 hopCount 2