Movatterモバイル変換


[0]ホーム

URL:


Go to main content
oracle home

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.4

Exit Print View

 
Search Scope:
  »  ...Documentation Home  »  Oracle Solaris 11.4 Information Library  »  Managing Network Virtualization and Network ...  »  Using Edge Virtual Bridging  »  Controlling Switching Between VMs Over the ...
Updated: November 2020
 
 

Controlling Switching Between VMs Over the Same Physical Port

Thevirtual-switching datalink property controls the switching between VMs over the same physical port through the following possible values:

  • local – Enables the network traffic between VMs over the samephysical NIC to be exchanged internally. This is the default mode.

  • remote – Enables the network traffic between VMs over the samephysical NIC to be exchanged through the external switch.

  • auto – Uses LLDP to determine whether reflective relay is supportedon the external switch. If reflective relay is supported on the external switch, network trafficbetween VMs is exchanged through the external switch. Otherwise, network traffic between VMs isexchanged internally.

The next sections explain each property value further.

Local Network Traffic Exchange

The following figure shows a virtual network setup where the server is connected to a switch, but where network traffic is internal.

This scenario would be typical of a configuration where the VMs are running services for the same customer. Communication between the two zones can occur internally without any restrictions. In this case, thevirtual-switching is set tolocal:

$dladm show-linkprop -p virtual-switching net5LINK  PROPERTY           PERM  VALUE  EFFECTIVE  DEFAULT  POSSIBLEnet4  virtual-switching  rw    local  local      local    local,remote,auto

Figure 14  Internal Communication Between Zones

image:Graphic shows the inter-VNIC communication within the system.

Remote Network Traffic Exchange

The following figure shows a virtual network setup where the server is connected to a switch, but where communication between VMs passes through the external switch.

This setup is deployed when different VMs run services for different customers. In such cases, the external switch is configured to control and isolate network traffic for the different VMs. The example assumes that reflective relay is supported on the switch and properly configured before thevirtual-switching property is set toremote:

$dladm set-linkprop -p virtual-switching=remote net5$dladm show-linkprop -p virtual-switching net5LINK  PROPERTY           PERM  VALUE   EFFECTIVE  DEFAULT  POSSIBLEnet5  virtual-switching  rw    remote  remote     local    local,remote,auto

Figure 15  Communication Between Zones by Using an External Switch

image:Graphic shows the communication through external switch, which is reflective relay enabled.

Auto Network Traffic Exchange

Setting thevirtual-switching property toauto works depending on the ability of the switch to support reflective relay. If the support is present, then LLDP automatically configures network traffic exchange as either internal or external that uses the external switch.

To use theauto value, ensure the following first:

  • The LLDP package is installed.

    $pkg info lldp
  • The LLDP service is online.

    $svcs lldpSTATE          STIME    FMRIonline         Jul_13   svc:/network/lldp:default
  • Thedot1-tlv property is set toevb and themode property is set toboth for the NIC.

    $lldpadm show-agentprop -p mode,dot1-tlv net5AGENT  PROPERTY  PERM  VALUE  DEFAULT  POSSIBLEnet5   mode      rw    both   disable  txonly,rxonly,both,disablenet5   dot1-tlv  rw    evb    none     none,vlanname,pvid,linkaggr,pfc,                                       appln,evb,etscfg,etsreco,all

After the preceding requirements are met, you can use theauto option:

$dladm set-linkprop -p virtual-switching=auto net5$dladm show-linkprop -p virtual-switching net5LINK  PROPERTY           PERM  VALUE   EFFECTIVE  DEFAULT  POSSIBLEnet5  virtual-switching  rw    auto    remote     local    local,remote,auto

SeeChapter 7, Exchanging Network Connectivity Information With Link Layer Discovery Protocol inManaging Network Datalinks in Oracle Solaris 11.4.

Copyright © 2011, 2020, Oracle and/or its affiliates. 
Previous
Next

[8]ページ先頭

©2009-2026 Movatter.jp