CDRouter Support

How can I configure CDRouter to run without a DHCPv4 server in the router?

knowledge-base version 13.3

If the device under test (DUT) does not have a DHCPv4 server or you do not wish to use DHCPv4 on the LAN, set the testvar lanMode to ‘static’ in your CDRouter configuration file. For example,

testvar lanMode static

When the testvar lanMode is set to ‘static’, CDRouter will automatically assign IP addresses to any LAN clients from the IP range defined by the testvars dhcpClientStart and dhcpClientEnd:

testvar dhcpClientStart 192.168.1.2
testvar dhcpClientEnd 192.168.1.50

When configured this way, CDRouter will not send any DHCPv4 requests to the DUT. Also, any DHCPv4 server specific tests in your test package will be automatically skipped.

By default, the LAN clients will also use the DUT’s LAN IP as the DNS server address. This behavior can be modified by enabling the testvar lanStaticDns. This instructs CDRouter to use the value assinged to testvar wanDnsServer for all LAN clients.

testvar lanMode static

testvar lanStaticDns yes

testvar wanDnsServer 202.254.101.1

With the above configuration, LAN clients will send requests directly to the ‘real’ DNS server, instead of sending DNS requests to the DUT.

Contents

×

About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

Get in touch via our Contact page or by following us on your favorite service: