interfaces_vswitches_and_port_groups
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces_vswitches_and_port_groups [2017/07/18 11:04] – walkeradmin | interfaces_vswitches_and_port_groups [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
When considering how networking functions in VMWare (6.5.0 is what i am using) it can seem very confusing, however once you have configured it once it makes a lot of sense, it's just a little confusing at first. Before we look at configuration, | When considering how networking functions in VMWare (6.5.0 is what i am using) it can seem very confusing, however once you have configured it once it makes a lot of sense, it's just a little confusing at first. Before we look at configuration, | ||
\\ | \\ | ||
- | vSwitch - This is a virtual switch, this just allows a user to assign virtual ports (called port groups) to a virtual switch. A vSwitch contains one or more port groups and is associated with a physical interface. | ||
\\ | \\ | ||
+ | <color # | ||
\\ | \\ | ||
- | Port Groups - Port Groups are a bit like Cisco VLANs. You create a Port Group, and in each Virtual Machine you can assign each of your VM interfaces to a Port Group. | ||
\\ | \\ | ||
+ | <color # | ||
\\ | \\ | ||
- | vmnic - This is the name VMWare has assigned to each of your physical interfaces. So on my server I have vmnic0 to vmnic11 (vmnic0 is my connected to my management switch, vmnic7 is connected to my data switch). | ||
\\ | \\ | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
\\ | \\ | ||
- | |||
---- | ---- | ||
==== Graphical Overview ==== | ==== Graphical Overview ==== | ||
As a picture paints a thousand words, let us look at what we are dealing with graphically. | As a picture paints a thousand words, let us look at what we are dealing with graphically. | ||
+ | \\ | ||
+ | \\ | ||
+ | Imagine for simplicity, you wanted each Physical Interface to map to an interface in your VM. Lets say you have 3 Interfaces in your VM, you would have something like this. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Now while this is valid, consider that I am passing data from VM1 to VM2, I would need, with 2 data ports per VM, four data ports. What would be better is if I put the data out of VM1 and data in of VM 2 in a port group, that shared a single interface. | ||
+ | \\ | ||
+ | \\ | ||
+ | In the example below we can see that the third physical interface is connected to both VMs (the yellow lines) and both of these interfaces are in the same Port Group. This means we shared data between the two VMs using only a single port. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
\\ | \\ | ||
+ | ---- | ||
- | + | ==== Three Server Example ==== | |
Consider my example below, I three servers, all connected to a switch, and I am passing multicast traffice between them, that is being processed in a particular way at each stage. Basically I want an input, two processing stages, a storage device and an output. | Consider my example below, I three servers, all connected to a switch, and I am passing multicast traffice between them, that is being processed in a particular way at each stage. Basically I want an input, two processing stages, a storage device and an output. | ||
\\ | \\ | ||
Line 51: | Line 68: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
\\ | \\ | ||
Above we can see the following: | Above we can see the following: | ||
Line 86: | Line 103: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{ :: | + | {{ :: |
\\ | \\ | ||
There are three Network Adapters that have been added to each VM (this is for the MFEL VM). Each network has then been assigned to a Port Group (so you need to create your Port Groups and Switches before your VMs). | There are three Network Adapters that have been added to each VM (this is for the MFEL VM). Each network has then been assigned to a Port Group (so you need to create your Port Groups and Switches before your VMs). | ||
Line 97: | Line 114: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{ : | + | {{ : |
interfaces_vswitches_and_port_groups.1500372246.txt.gz · Last modified: 2023/03/09 22:35 (external edit)