Presentation is loading. Please wait.

Presentation is loading. Please wait.

E6998 - Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc.

Similar presentations


Presentation on theme: "E6998 - Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc."— Presentation transcript:

1 E6998 - Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc.

2 Computer System Organization CPU MMU Memory Controller Local Bus Interface High-Speed I/O Bus NICControllerBridge Frame Buffer LAN Low-Speed I/O Bus USBCD-ROM

3 Device Virtualization Goals – Isolation – Multiplexing – Speed – Mobility – Interposition Device Virtualization Strategies – Direct Access – Emulation – Para-virtualization

4 Network Virtualization Considerations – What layer? Ethernet TCP/IP – Which network are we attached to? – What network identity?

5 Virtual Networking with vnets VMM / Hypervisor / Host OS LAN VM 2 Para-virtualized NIC Driver VM 1 Guest NIC Driver vnet NIC EmulationPara-virt Interface HW NIC Driver TCP/IP Stack

6 vnets in a Hosted Architecture Monitor Host OS LAN User App Guest NIC Driver NIC Emulation vnet

7 VMware's Hosted vnet API char packet[1500]; fd = open("/dev/vmnet1", O_RDWR); ioctl(fd,...); read(fd, packet, 1500); write(fd, packet, 1500); close(fd);

8 DHCP Service VMM / Hypervisor / Host OS LAN VM 2 Para-virtualized NIC Driver VM 1 Guest NIC Driver vnet NIC EmulationPara-virt Interface HW NIC Driver TCP/IP Stack vnet DHCP Server

9 Host-only Networking VMM / Hypervisor / Host OS LAN VM 2 Para-virtualized NIC Driver VM 1 Guest NIC Driver vnet NIC EmulationPara-virt Interface HW NIC Driver TCP/IP Stack vnet NIC Driver vnet DHCP Server

10 Bridged Networking VMM / Hypervisor / Host OS LAN VM 2 Para-virtualized NIC Driver VM 1 Guest NIC Driver vnet NIC EmulationPara-virt Interface HW NIC Driver TCP/IP Stack Bridge

11 Secure Networking with 2 NICs VMM / Hypervisor / Host OS LAN Internet VM vnet HW NIC 1 Driver TCP/IP Stack Bridge www HW NIC 2 Driver Intranet App Browser

12 NAT Networking with vnets VMM / Hypervisor / Host OS LAN VM 2 Para-virtualized NIC Driver VM 1 Guest NIC Driver vnet NIC EmulationPara-virt Interface HW NIC Driver TCP/IP Stack NAT App

13 VLAN Trunking VLAN Switch VLAN 1 VLAN 2 VLAN 3 VLAN 1 VLAN 3 VLAN Trunk VLAN Switch VLAN 1 VLAN 2 VLAN 3 VLAN 2 P Q P Q P

14 VLANs with vnets VMM / Hypervisor / Host OS VLAN 1 VM 2 on VLAN2 VM 1 on VLAN 1 vnet2 HW NIC Driver vnet1 VLAN 2 HW NIC Driver Bridge

15 VLAN Trunking with vnets VMM / Hypervisor / Host OS VLAN Trunk VM 2 on VLAN2 VM 1 on VLAN 1 vnet2 HW NIC Driver Virtual VLAN Switch vnet1


Download ppt "E6998 - Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc."

Similar presentations


Ads by Google