I have a server with 3 NIC cards The physical machine is using NIC 1 which is behind a router using NAT so the world has no access to the physical server it is only used as a file server for a local private network behind the router. There are 2 VMs both running Windows Server 2012 R2 just like the physical machine. One VM is housing a databsse and connected to NIC 2 and the other VM is housing a web server and connected to NIC 3. NIC 2 and NIC 3 are not going thru a router but strait to the internet with the outside world IP address as it's only address no NAT.
Both the database VM and the Web Server VM need to interact with people on the Internet. Also the Web server VM needs to put files in a specific directory on the database server and it alos needs to get info from and modify and insert data to the database. The database has no need to interact with either the physical machine on NIC 1 nor to initiate anything with the web server VM on NIC 3 (Of course it must return results to inquiries initiated by the Web program on VM NIC 3)
How can I set up the NICs so that Web server can directly use the Database server?
Do I attach 2 virtual switches to each VM? Do I configure 1 switch using NIC 1 as shared and one non-shared switch for the internet for each VM?
Is below correct?
Database VM = Vswitch 1 using NIC 1 shared + Vswitch 2 using NIC 2 not shared
Web Server VM = Vswitch 1 using NIC 1 shared + Vswitch 3 using NIC 3 not shared
Would the above config allow the Web server to access the database server on a common network so that the web server could use windows authentication. OR would I still have to use SQL Server user authentication?
I am not using active directory at this time so there will be no common logon's each VM OS will be just a single administrator user each having different passwords on each VM
If my proposed configuration will not work please explain the simplest way to achieve my goal.