The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
Plz. visit following URL
http://www.linuxheadquarters.com/howto/networking/samba.shtml
U may get the definate solution for u'r problem.
Regards,
[Ashish Desai]