CP-9370: Add network type and change error message

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>