Originally found only as dedicated file servers, storage services have become common offerings both integrated in CPEs and as standalone NAS devices. Since some NAS devices assume a LAN-only access model, it can be an interesting exercise to combine such a device with a dual-stack router to see how it performs with Internet clients.
In this scenario, we assume static configurations for both IPv4 and IPv6 on the Storage device. IPv4 port mappings are manually created in the router to forward the appropriate protocols to the 192.168.1.2 IPv4 address of the Storage device. The IPv6 model allows for true routing, and so the router would need to have the firewall configured to allow these services on 4001::2. It’s also possible that instead, the Storage device uses uPNP to dynamically configure any of this information on the router. The device might even have a dynamic address learned from Router Advertisements or DHCPv6, provided from the router.
The beauty of this configuration is that an existing CDRouter configuration for the router can be appended with service definitions for the Storage device. The CDRouter startup procedures initialize the router, and then the storage test cases refer to the various smbuser and ftpuser configurations for their execution.
Please refer to the CDRouter Storage User Guide for more information on defining smbuser and ftpuser testvar groups.
- Two network interfaces
- A dual stack router
- A standalone storage device
- Optional: An Ethernet switch for the LAN, if neither device provides an integrated switch
- Discover unintended consequences from a common user configuration
- Can test both devices simultaneously, if desired