Russia is considering disconnecting from the global Internet to test its defenses against cyberattack.