6.0

Table Of Contents
VMware, Inc. 133
Chapter 9 Managing vSphere Networking
AnSPidentifiesandselectstrafficthatmustbeprotected.AnSPconsistsoftwologicalsections,aselector,
andanaction.
Theselectorisspecifiedbythefollowingoptions.
Theactionisspecifiedbythefollowingoptions
BecauseIPsecallowsyoutotargetpreciselywhichtrafficshouldbeencrypted,it
iswellsuitedforsecuring
yourvSphereenvironment.Forexample,youcansetuptheenvironmentsoallvMotiontrafficisencrypted.
Managing Security Associations
YoucanspecifyanSAandrequestthattheVMkernelusethatSA.ThefollowingoptionsforSAsetupare
supported.
vicfg-ipsec esxcli network ip ipsec
sa-srcandsa-dst --sa-sourceand--sa-destination
spi(securityparameterindex) --sa-spi
sa-mode(tunnelortransport) --sa-mode
ealgoandekey -encryption-algorithmand--encryption-key
ialgoandikey --integrity-algorithmand--integrity-key
vicfg-ipsec esxcli network ip ipsec
src-addrandsrc-port --sa-sourceand--source-port
dst-addranddst-port --destination-port
ulproto --upper-layer-protocol
direction(inorout) --flow-direction
vicfg-ipsec esxcli network ip ipsec
sa-name --sa-name
sp-name --sp-name
action (none, discard, ipsec --action
vicfg-ipsec Option esxcli Option Description
sa-src <source_IP> sa-source
<source_IP>
SourceIPfortheSA.
sa-dst
<destination_IP>
sa-destination
<destination_IP>
DestinationIPfortheSA.
spi sa-spi SecurityParameterIndex(SPI)fortheSA.Mustbeahexadecimal
numberwitha
0xprefix.
WhenIPsecisinuse,ESXiusestheESPprotocol(RFC43030),
whichincludesauthenticationandencryptioninformationand
theSPI.TheSPIidentifiestheSAtouseatthereceivinghost.Each
SAyoucreatemusthaveauniquecombinationofsource,
destination,protocol,andSPI.
sa-mode [tunnel |
transport]
sa-mode [tunnel |
transport]
Either
tunnelortransport.
Intunnelmode,theoriginalpacketisencapsulatedinanother
IPv6packet,wheresourceanddestinationaddressesaretheSA
endpointaddresses.
ealgo [null |
3des-cbc |
aes128-cbc]
encryption-algorith
m [null | 3des-cbc |
aes128-cbc]
Encryptionalgorithmtobeused.Choose3des-cbcor
aes128-cbc,ornullfornoencryption.