VMware Cloud Community
azsvdk
Contributor
Contributor
Jump to solution

How to connect VM to a physical server?

Hi all,

Right now, we have two physical servers; one acting as a web server and the other acting as the DB server. For security reasons, the DB server doesn't have outside connectivity and is connected to the physical web server by crossover cable. We are virtualizing all of our web servers.

I have tried several methods of connecting the virtual web server with the physical DB server without luck. Any thoughts on how to proceed?

Thanks in advance for any thoughts!

Hope this diagram of the existing network helps. There's also a vCenter server that isn't in the diagram.

network diagram.png

Edit: Thanks everyone -- I realized that there was an issue with the way the VLAN was configured on our physical switch (obscure security setting). I had to edited the VLAN settings and the issue was resolved. :smileygrin:

Reply
0 Kudos
1 Solution

Accepted Solutions
LakshmikanthPan
Enthusiast
Enthusiast
Jump to solution

You have to connect the DB server to the switch and use VLAN for security.

Configure two vnics in the webserver vm. One vnic connected to the Port Group that uses the DB server VLAN and another vnic to the Port Group that communicates to the rest of the network.

-LP

View solution in original post

Reply
0 Kudos
5 Replies
julienvarela
Commander
Commander
Jump to solution

Hi,

You will do practically the same.

You need to create 2 port Groups :

- 1 port Group connecting to a physical nic.

- 1 port Group without physical nic.

Then , add 2 vmnic on your web server. Attach one vmnic to the first port group and the other to the 2nd port group.

Your DB server will be only connect to the port group without physical nic.

Julien.

Regards, J.Varela http://vthink.fr
Reply
0 Kudos
azsvdk
Contributor
Contributor
Jump to solution

I think this assumes that the DB server is virtualized though?

Thanks

Reply
0 Kudos
julienvarela
Commander
Commander
Jump to solution

Yes, or maybe , you can use vlan for improve security if the DB still physical.

Julien.

Regards, J.Varela http://vthink.fr
Reply
0 Kudos
kaarthickvasude
Contributor
Contributor
Jump to solution

Hi

You can create port group or vlan ID to communicate the DB Server

LakshmikanthPan
Enthusiast
Enthusiast
Jump to solution

You have to connect the DB server to the switch and use VLAN for security.

Configure two vnics in the webserver vm. One vnic connected to the Port Group that uses the DB server VLAN and another vnic to the Port Group that communicates to the rest of the network.

-LP

Reply
0 Kudos