VM has their own
- Virtual NIC (vNIC)
- Virtual Switch(vSwitch)/Bridge (layer 2)
in the server.
and Virtual swtich has sepereated broadcast domain -> mean we will need router for creating a connection in between VM <-> VM
3 Different Mode of VM connection
- bridged connection
- NAT
- host-only
Bridged connection

use host's(host only NIC) NIC as bridge to gain the ip address & communicate with other nodes which is located in physical network

we can install physical NIC for each virtual machine,
so we can connect multiple NIC toward vSwtich -> its good design for setting up a mail server, a file server or a web server.
NAT(Network address Translation)

VMs rely on the host to act as a NAT device
virtual DHCP server will be existed in broadcast domain
this DHCP server will be in charge for assigning ip addressing information to VM and they form a private network


2 seperated network will be exisited. and host NIC is istting between these two networks, and translate ip address VM network <-> physical network
NAT type is appropriate when virtual machines are mainly used a client workstation as user
Host-Only
in this mode, VMs on the host can talk with each other and with their host, not going out for communicating to external network

it is useful when we set up an isolated private virtual network where we can have cyber attach experimetns
'Networking > Network General (Anything)' 카테고리의 다른 글
SPAN/RSPAN/ERSPAN (0) | 2025.04.17 |
---|---|
Zigbee (0) | 2025.04.17 |
ESXI Server Network 구성 (0) | 2022.10.06 |
VRF 공부 (0) | 2022.05.11 |
Cisco BEC attack (0) | 2022.03.06 |