Fix network subnetting for IPv6
Merge pull request #53 from sshnaidm/master

Fix network subnetting for IPv6 and bug for network configuration