you don't need to install NETBEUI on either machines. TCP/IP alone will work. Make sure that each machine has TCP/IP, Client for MS Networks and file and printer sharing (optional).
Make sure both machines are in the same workgroup name, ie. MSHOME or WORKGROUP.
Regarding IP addresses, you can either specify one for each machine, or if you're using a router, most likely it will hand out IP addresses to both machines.
Also, if you're planning on sharing files between the two machines, make sure both machines have the same user accounts created, with the same passwords.
feel free to message me if you have any other questions. Go to my website, www.rk-ane.com and email me there.