Yes, it is legal for personal use to test your own networks. Unauthorized testing on others' networks is illegal.