There is this cool way of being able to lookup windows hostnames in linux. Ie so you can ping mywindowshostname and it will just find the ip and ping it.
All you have to do is edit the line in /etc/nsswitch.conf:
hosts: files dns
hosts: files dns wins
and install the winbind service. Thats all there is too it.