External Tagginng switch vs Virtual Switch Tagging

Hello guys,.

I'm really confused about these modes of two configurations and their uses / consequences.

Say you have four natachasery and configure the vSwitches in the following way:

      • a vswitch with service console port group (vmotion) vmkernel port group and group of ports defined VM and four natachasery in annex

All three services (SC, vmotion and vmtraffic) are in the same network (e.g.: 192.168.1.X), so all the natachasery is attached to the physical integrity go to this VLAN.

In this scenario, I guess I'll use IS, right? I have to configure something in the physical switch (like the 4 natachasery trunking)? Or just nic teaming four cards in the vswitch network is enough? Or both?

=======================================================================================================

Now say you have 6 natachasery and configure the vSwitches in the following way:

      • a vswitch with defined service console port group and two natachasery in the annex

      • a vswitch with Group of ports vmkernel (vmotion) and two natachasery defined in annex

      • a vswitch with Group of vm ports and two natachasery defined in annex

Each service has its own network, but now you have the production and DMZ VM.

In this scenario, I guess I'll have to do the following (get ready cause its really confusing, at least for me):

(1) set two NICs in the pswitch, firstly in the vlan management and in the nic vswitch team these two network cards. If you use felt

(2) attach the second pair of NICs in the pswtich, in the vlan vmotion and nic vswitch team these two network cards. If you use felt

(3) fix the last pair of network adapters in the pswitch to two ports that don't have any definied vlan on it and then to create two groups of ports in the vswitch: one for the VM of the production and the other for VM DMZ, marking with the right VLAN ID and nic team these two network cards. If you use the VST.

Edit: I realized that I could simplify the second scenario, saying that the three services would be in the same vswitch with 6 natachasery attached to it, but with four networks. And fix these 6 cards in the pswitch with no VLAN defined in these 6 ports.

As you can see, I'm pretty new in this kind of things, so, if I'm wrong to speak of something (or all), I'm sorry.

I have attached two Dummies to try to be more clear.

Excuse me for my English

Post edited by: brian_plank

In the first scenario, you are right.  No obligation to trunk.  On the other hand, I myself prefer to use trunks for all my connections, with all of my virtual local networks available on all of my trunks.  In this way, if I need to spend my autour natachasery, ever, I can do without the participation of network.  If you yourself control the network, then this isn't a problem.  Of course, this is not required, the way you have your first scenario presented will work fine.  And by the trunk, I mean a 802. 1 q trunk in terms of cisco, as opposed to a trunk in terms of HP, which would be an aggregation of links 802.3ad.

In scenario 2, only the vSwitch vm network exchanges where you need multiple VLANs is where you need the trunk.  Make sure just that the VLAN native on this trunk is different.  In addition, you need to configure the ports as an access port (which means that the port will be part of a single VLAN) for the management VLANs, or a trunk with several port VLAN allowed.  Other than that, there should be no problem with VLAN marked and unmarked.  I use them all the time.

-KjB

VMware vExpert

Tags: VMware

Similar Questions

  • behavior of vSwitch in Virtual Switch Tagging (VST mode)

    Hello

    I have a problem with a vSwitch within an ESX 4 environment.

    On my vSwitch is a virtual network, where the port group has been linked to a defined VLANID, so for a real-world scenario, a physical switch has a port configured in access with a predefined VLANID 8021q mode.

    In my scenario the port configured in this way can receive frames already labeled (the generic behavior is that the port receives the unmarked frames). An access of a switch port generally accepts executives 8021 consistent q If the vlanID is the same as configured in its behavior (t - it - Cisco http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/AccessTrunk.html), otherwise the switch removes them.

    VMware says this:

    "Switch ports group virtual tags all outbound frames and removes the tags for all incoming frames." It also ensures that the frames on a VLAN do not leak in one VLAN different. »

    OK I agree with this, but if the virtual switch receives a frame already tagged (with the right tag) must be just to not let him down, as Cisco?

    The switch ports group virtual tags all outbound frames and removes the tags for all incoming frames. It also ensures that the frames on a VLAN do not leak in one VLAN different.

    Now, I also checked the actions for the ordinary vSwitch:

    A virtual machine sends frames unmarked on a portgroup with a specified VLAN id (for example, 300) = works

    A virtual machine sends tagged frames (VLAN 300) on a portgroup with the same VLAN id specified (for example, 300) = failed

    A virtual machine is sending of tagged frames (for example, 300) on a portgroup with VLAN 4095 specified = works

    A virtual machine sends frames unmarked on a portgroup with VLAN 4095 specified = fail

    If the vSwitch behavior is very similar to the distributed vSwitch, that it does not accept any marking made by the virtual machine in regular trade, even if it is the VLAN correct. If affecting portgroup VLAN 4095 it throws frames marked, very likely because we cannot specify any "VLAN native. I think that's the answer to your original question.

  • Switch tag vlan

    Hello

    I'm install esx 5.1.

    I have 3 vlan (prod, vmotion, vmkernel). I am glad that when I put vlan dcui (yellow form) correct, that I can not ping host esx. If Iremove vlan tag I can ping esx host.

    I suspect that someone does not work on the switch (not run by me).

    How can I help the team network? What game on the switch port network team must be defined?

    Thank you

    Jonh

    asanet wrote:

    Hello

    I'm install esx 5.1.

    I have 3 vlan (prod, vmotion, vmkernel). I am glad that when I put vlan dcui (yellow form) correct, that I can not ping host esx. If Iremove vlan tag I can ping esx host.

    I suspect that someone does not work on the switch (not run by me).

    How can I help the team network? What game on the switch port network team must be defined?

    Thank you

    Jonh

    Your network team should create a 'trunk' for physical network ports used by ESXi. On the trunk, they should allow these 3 VLAN mentioned above. Now, I guess they did but you "VMkernel" VLANS is equal to your regular administration VLAN, which is also be the VLAN native.

    So I think that there is nothing 'wrong' with your configuration, it's just an implementation detail... If the "management VLANS" also happens be the VLAN native side effect is that you do not need to specify a VLAN ID on the portgroup.

    More details can be found here: VMware KB: example configuration of the virtual switch VLAN tagging (VST Mode)

  • Management of the external/DMZ switch

    How do you suggest I manage external switches to a firewall. We have a switch on the outside of our firewall I want to be able to connect to SNMP and also use GANYMEDE, NTP, remote syslog, etc.. It would be preferable to give IP in the physical (read: external) subnet, or put one of the ports in a vlan separate and connect to this port to the segment internal. It seems as though this is precarious, because he crosses boundaries, but I'm not sure. Thank you.

    Hello

    As you mentioned on the firewall to the outside, the minimum configuration is a switch connecting your firewall outside interface for external devices like the router boxes and internet vpn.

    Side of the firewall, you need the static NAT address GANYMEDE, NTP, SNMP, syslog server to a public IP address to be accessible from the outside, more precisely by the switch. Create an ACL (or add existing) strictly for the switch (via its public IP address) to specific services such as GANYMEDE (tcp 49) / NTP(udp 123) /SNMP (udp 161/162) /Syslog (udp514) to your internal servers.

    On the side of the switch, you can public IP address assigned to the switch with all authentications by default points to the public IP of the internal server to GANYMEDE (NATted in the firewall). Your aaa configuration should point to your internal ACS server.

    Recommendation of Cisco switch, especially when you placed it outside the firewall, is more or less similar to the steps to secure your router. He talks about securing access to the box, services management/limit flooding, etc. Read the Cisco documentation on how to secure the router for a reference:

    http://www.Cisco.com/en/us/Tech/tk648/tk361/technologies_tech_note09186a0080120f48.shtml

    http://www.NSA.gov/SNAC/downloads_cisco.cfm?menuid=scg10.3.1

    Rgds,

    AK

  • Virtual Guest tagging

    Hello

    I have a single ESX vSphere hosts I. I want to run 4 servers on a virtual pass and put each server on a separate VIRTUAL local area network. I have configured the VSwitch with VLAN 4095 for bindings and configured the physical switch as a trunk interface. Can somone guide me how to configure VGT then each VM on one VLAN separated? I know that I have to install the drivers etc, but that's all.

    The virtual computer is running Server 2008 x 32 with Service Pack 2.

    See you soon

    On the virtual switch, you will need to create separate virtual machines 4 port groups each with id vlan - you then connect the virtual machine to the computer virtual belgo-chinois port with the id of the vlan approriate.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • How to connect an external USB to a virtual machine?

    I'm having issues recognizing external USB (reader of my book essential 1 TB) disk in my Server 2008 VM.  I created a USB plugged into the host and restarted the server virtual machine controller and nothing is recognized.  Any ideas on how to get this working?

    You must be at 4.1 to function without the use of USB over IP

  • Mobile external hard drive to virtual machine

    Due to lack of space on my laptop, I want to move my existing virtual machine to a new drive. Is there documentation for it? I could not find. If not, could someone quickly walk me through the process?

    Thank you

    This requires that you use a normal virtual machine, not a training based a Camp.

    1. Make sure that the virtual machine fits on your external drive. Specifically, some file systems such as fat cannot process large files, so if you want to use one of those, your virtual machine must use a formatted disk split. If the external hard drive is formatted in HFS +, you don't have to worry about this step

    2. Make sure that merger and your virtual machine of interest is not running. Never leave a VM under Fusion.

    3. Use the Finder to copy the VM on your external drive.

  • A question on the sharing of external hard drives between computers and tagging in bridge.

    I'm editing/organizing files for a client on their external hard drives. If I label files in Bridge CS6 on my computer, will they see these labels when they open the readers in Bridge CS6 on their computer?

    Labels should be included in the metadata, so that they should see their.

  • Fortinet virtual with tagging VLAN

    Hi all

    in fact I do tests with the appliance of virtual firewall from Fortinet. These device have 10 virtual NIC

    The Fortinet vm can manage the VLAN different on a single port "physical."

    How can I set more than one VLAN on a Port, VM-is it possible?

    Objective:

    -A virtual firewall to several VLANS

    -VM-customers with different VM Server VLAN different.

    I hope someone have some experience with vm-Fortinet a VMWare

    Roger

    Hi Roger,

    It is indeed very easy to achieve. We have many implementations of similar to this:

    1. create a GROUP of ports on your vSwitch or dvSwitch Called "Fortinet Trunk" or something similar

    2 change the PortGroup and change the VLAN to "VLAN Trunking", in the "VLAN Trunk Range" field enter all them VLAN, you will need

    3. on your Fortinet device assign one of the interfaces to the "trunk Fortinet"

    4. on the interfaces under Setup of Fortinet for each virtual local area network

    5 create a new Port Group for each VIRTUAL local area network, modify the PortGroup to include the VLAN ID (your virtual machines will sit on it)

    This should be everything you need to get this up and running, any questions or problems please let me know. I can help more if necessary.

    Concerning

    Steve

  • No Adobe tag seems to be pulled with DTM switch installed

    Hello

    Debugging a Web site in order to validate the Adobe using DTM switch tags (i.e. DTM installed), he seems to have no shot at all tags while the same are being fired in other browsers.

    Thank you and best regards,
    Aastha Chaudhri

    This extension uses the module 'widget', which no longer exists in Firefox 40. The extension must be updated. You can contact the author to see if an update is planned (if they know the problem): http://www.searchdiscovery.com/contact/

    In the meantime, if you can't do what you need to do without this extension, you can switch to another variant of Firefox called the Extended Support Release (ESR) (temporarily?). This is designed for businesses that require a cycle time longer between changes to the features and is currently based on Firefox 38. It will get updates of security over the coming months, but not to get new features, so changes related to the compatibility of the add-on will not be out for a good time.

    If you decide to try it, here's how I suggest to install:

    Clean reinstall it

    We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (not incompatible, corrupt or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.

    (A) download a fresh Installer for Firefox 38.2.1esr of https://www.mozilla.org/firefox/organizations/all/ in an ideal location. (Scroll down your preferred language).

    (B) the release of Firefox (if any).

    (C) to rename the program folder, either:

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\Fx40
    

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\Fx40
    

    (D) run the installer downloaded to (A). It should automatically connect to your existing settings.

    Success?

    Note: Some plugins can only exist in the old folder. If it is missing something essential, present in these files:

    • \Fx40\Plugins
    • \Fx40\browser\plugins
  • Mapping of ports of the blade and Powerconnect M8024 - K Ayala switch 1 GB based Trunking

    Hello world

    Nice day!

    We have a recent deployment of server blade to one of our customer and we met a challenge regarding the following:

    -How are we going to map the internal blade to the Powerconnect M8024-K NIC. Port 1-16 is for VLAN 1000. PowerConnect M8024-k is configured with module additional uplinks (GB 2 x 10 base-T). What is the module has the ability to auto negotiate to 1 GB. We want to use this port for connections to the switch avaya 1 GB Ethernet based. The port of internal network to blade port 1-16 must go through this port goes to the external network (switch Avaya)

    -Do we really need to configure for this port. Is 10 GB base-T port has the features of auto-negotiation up to 1 GB

    Thanks for your help

    copilot0929

    Here are some documents that detail the M1000e IO options and internal correspondence of ports.

    http://Dell.to/18bLMEg

    http://Dell.to/1KqY1ux

    The M8024k will automatically negotiate 1/10 GB for all internal ports. SFP 4 external / SFP ports + are has several ports support 1/10 GB speeds. The external ports also need a transceiver that supports the speed you want to use.

    VLAN tagging is used when needing to send traffic to several VLANs over a single connection. If everything on the chassis will be in the same VLAN, then you should not have to put in place a trunk. But if you need the chassis to participate in several VLANs, so it is better to configure the VLAN Trunk on that connection.

  • What configuration of VLAN requires a switch connectivity defined as an access port?

    What configuration of VLAN requires a switch connectivity defined as an access port?

    By external switch tagging

  • Presentation of external storage as Local to the SQL virtual servers

    Hello.

    Obligatory "I'm new" and 'sorry if this is in the wrong place' withdrawals.

    I have two SQL Server virtual machines (running on ESX 3.5) which I am (at the level of the BONE) clustering for redundancy.  All their storage would come from two HP AiO servers storage or local storage of the ESX Server.  For now, we don't have VirtualCenter.

    I need to present some sort of external storage for these virtual machines that they can (a) recognize as local so I can store files .mdf for SQL server on it, and (b) which can be configured as a cluster resource, so either can be accessed in the event of another machine down.

    I tried to create a new virtual hard disk, pointing to the raw space on some of my existing storage, but "raw device mapping" is greyed out.  I guess it's because he needs a real San for gross external storage as a virtual disk local card.  I also tried new creation and extensions adding storage to the storage devices in the configuration of ESX storage.  There's no joy.

    Should I VirtualCentre or a real SAN in order to present the raw disk space to a virtual machine?  If this is not the case, how can I do?  If so, which do I need and is there some kind of fudge or skilled people getaround may suggest that fits my needs of clustered SQL Server resources?

    Thank you.

    Rikk

    Hello

    Welcome to the forums! I have a few questions and comments.

    To use a RDM in normal mode you will need a SAN/NAS/iSCSI server to get there. Since the storage of the IOA is an iSCSI SAN or a NAS you want present storage to ESX using one of these methods.  I guess that you already do using iSCSI or NFS? You are using.

    I would not use Local Storage due to problems of redundancy.

    You have space on your AiO storage to create another logical unit number?

    A RDM is a logic unit number presented to the ESX host as a data bank that is not also a VMFS.  Once the logic unit number is presented for ESX you can do a RDM or you can do a VMFS and add another VMDK to your VM and move the .mdf for the new VMDK files. Or the other method should work. You can also access the server iSCSI directly from Windows and directly access a LUN to one end.

    You have many options at this point. Which way you want to go?

    Best regards

    Edward L. Haletky

    VMware communities user moderator

    ====

    Author of the book "VMWare ESX Server in the enterprise: planning and securing virtualization servers, Copyright 2008 Pearson Education.»

    SearchVMware Blog: http://itknowledgeexchange.techtarget.com/virtualization-pro/

    Articles of blue Gears - http://www.itworld.com/ and http://www.networkworld.com/community/haletky

    As well as virtualization at http://www.astroarch.com/wiki/index.php/Virtualization Wiki

  • nested ESXi vHost, networking, the nested virtual machines cannot access outside the world.


    My Datacenter configured as follows:

    1. physical switch connected to 3 physical server.

    vCenter Server IP: 192.168.10.10

    two physical hosts ESXi: IP: 192.168.10.11/12.

    2. my laptop connected to the physical network, IP: 192.168,10.100.

    3. my two physical hosts configured with a Standard vSwitcher0, VMNIC0, portgroup MYLAN uplink vLan ID = 162, vmk0 vLan ID = 162.

    4. I created two nested ESXi vHost on the two physical host, assigned 192.168.10,101/102 IP, gateway 192.168.10.1

    5 standard vSwitch0 on two vHost, only NETWORK VM portgroup with ID vLan by default = 0.

    6. I have create computer virtual the virtual server nested and assigned to the VM using VM NETWORK, also assigned the IP address: 192.168.10.201, gateway 192.168.10.1

    But my VM, I cannot ping 192.168.10.1, also I can not ping the virtual machine (x.x.x.201) from my laptop.

    I can ping my vHost nested two of my laptop, can also connect to the console of the virtual computer through my vHost nest.

    my virtual world, my network is configured as it IS (external swith marking).

    my world physical host, my network is configured as a VST (virtual switch tagging).

    My Setup must in principle be correct, but it does not work.

    I am a newcomer to the world of VMWare nested.   I'm appreciated for any suggestions and help.

    The vSwitch on the physical host must be configured to allow the promiscuous mode and forged passes.

  • Hang a new virtual machine to the Internet

    All virtual machines that I downloaded connect to internet automatically when I their fire upwards. I downloaded a new machine virtual de VulnHub, specifically BrainPan2. It does not connect to the internet automatically even if it is supposed to. It's a vulnerable VM installation for security penetration testing. Now, I start my VM Kali, do a scan of the network and see all my computers. I'll start a VM unrelated, rerun the scan and check the other appears. Now I launch BrainPan, run the scan and nothing. I don't see on the scan.

    I read several guides associated with the virtual BrainPan2 of the internet machine, and everyone seems to be able to plug in and go. On the site of the BrainPan: 'import brainpan2.ova into your privileged hypervisor and configure the settings of the network to your needs. It will get an IP via DHCP, but it is recommended that run you to the breast of a NAT or visible by the host only operating system because it is vulnerable to attack."

    So, I put the virtual machine to run on NAT, connected by a bridge and also host. I can't detect the virtual machine by any means, it just is not auto-connect. And I can not connect and plug it as he did to hack.

    Does anyone have any suggestions?

    Hi John,.

    I'm using the regular VMware Fusion, not Fusion Pro. Fusion Pro is a virtual network editor that could help; I do not know. Just for fun, I downloaded BrainPan2 VM, and it worked only. Here are the steps I took:

    • Go to Brainpan: 2 ~ VulnHub
    • Click Download, which exposes the download link.
    • Download the file brainpan2.zip and unzip it.
    • Check the integrity of the downloaded file brainpan2.ova. In terminal, type 'openssl sha1', and then drag the file brainpan2.ova to the Terminal to fill in the full path of the brainpan2.ova file. Press return. Compare the sha1 hash in the terminal with one on the web page of the BrainPan. If they do not match, try again download.
    • Open VMware Fusion 8 and choose file-> import. Drag the file brainpan2.ova to the window. Click on the button continue and save the converted virtual machine. VMware Fusion will display a progress bar as it converts the file .ova. It took a few minutes on my Mac. Once the conversion is completed, you will see a window Finished.
    • Click Customize settings.
    • As part of the network card, select private to my Mac.
    • Start the virtual machine of BrainPan2. I don't bother to upgrade the hardware. You will see a login prompt, which I ignored. The BrainPan2 virtual machine will get an IP address from the DHCP server on VMware virtual network.

    Optional:

    • Open the BrainPan2.vmwarevm file in the Finder. Right-click to display the contents of the package. Open the vmware.log with a text editor like BBEdit or TextWrangler or even TextEdit. Search for "192.168" and you will find two entries to the VMware virtual networks. On my system, the private sector in my Mac network was vmnet1 to 192.168.166. * (I guess that the other network is the "share with my Mac" NAT.) He was appointed vmnet8.)
    • Close the log file.

    Instead of Kali Linux, I used one of my virtual machines in OS X, because it was very convenient. (My Kali Linux virtual machine are saved on an external drive). The virtual machine of OS X I used runs El Capitan, but any version of Mac OS X.

    • Take a snapshot of the OS X machine for two reasons: (1) to maintain its normal parameters and (2) because I don't trust the BrainPan2 virtual machine to not attack the OS X machine on the VLAN.
    • After the snapshot set network configuration of the virtual machine of the OS X private to my Mac, so that it is on the same virtual network as the virtual machine of BrainPan2.
    • Start Mac virtual machine. In the terminal, type "ifconfig en0" to see its IP address on the local network deprived of VMware. There are other ways to find the IP address, of course. My virtual machine to OS X has been awarded 192.168.166.129, so I figured though the virtual machine of BrainPan2 has been assigned to 192.168.166.128, which proved to be just.
    • If it is not already installed, download nmap or Zenmap or tools of everything that you need. A Kali Linux preinstalled.
    • Run a scan of the LAN ping. Example: ' nmap - sn 192.168.166. * "you should see the virtual switch to 192.168.x.1, your virtual Kali Linux or OS X machine and the virtual machine of BrainPan2 (mine was 192.168.166.128 as I suspected). The virtual machine BrainPan2 responds to the pings.
    • At this point, I ran a scan of port of the virtual machine of BrainPan2. Not wishing to spoil your fun, I will only say that I found the open ports on the BrainPan2 virtual machine.

    Don't forget to restore your virtual machine OS X (or Kali Linux) to the previous snapshot once you are done with BrainPan2, if nothing else, but to restore access to the Internet by moving out of virtual private LAN.

    I hope this helps. Please let us know if you are able to make it work. I hate to write solutions and then never discover what happens then.

Maybe you are looking for