Getting your dog used to your own chickens will safegaurd them and may make your neighbours less interesting. Your dog may, however, just see this as your chickens are not for chasing but the neighbours are on another territory and so still fair game. The idea given by Ryan may also work but one mistake while you are not around and the dog will realise when it is safe to leave the yard and when it is prudent to stay in it.
A dog that has regular training sessions and plenty of excersise is much better off and safer if it is in the house or in an enclosure when you are not able to control it.