6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
132 VMware, Inc.
2Listrouteentriestocheckthatyourroutewasaddedbyrunningthecommandwithoutoptions.
vicfg-route <conn_options>
Theoutputlistsallnetworksandcorrespondingnetmasksandgateways.
3Setthedefaultgateway.
ForIPv4,usethissyntax:
vicfg-route <conn_options> 192.XXX.0.1
or
vicfg-route <conn_options> -a default 192.XXX.0.1
ForIPv6,usethissyntax:
vicfg-route <conn_options> -f V6 -a default 2001:10:20:253::1
4Runvicfg-route --deletetodeletetheroute.Specifyfirstthegateway,andthenthenetwork.
vicfg-route <conn_options> -d 192.XXX.100.0/24 192.XXX.0.1
Setting Up IPsec
YoucansetInternetProtocolSecuritywithesxcli network ip ipseccommandsorwiththevicfg-ipsec
command.whichsecuresIPcommunicationscomingfromandarrivingatESXihosts.Administratorswho
performIPsecsetupmusthaveasolidunderstandingofbothIPv6and IPsec.
ESXihostssupportIPseconlyforIPv6traffic,butnotforIPv4
traffic.
Youcannotrunvicfg-ipsecwithavCenterServersystemasthetarget(usingthe--vihostoption).
Youcanrunesxcli network ip ipseccommandswithavCenterServersystemasatarget(usingthe
--vihostoption).
TheVMwareimplementationofIPsecadherestothefollowingIPv6RFCs:
4301SecurityArchitecturefortheInternetProtocol
4303IPEncapsulatingSecurityPayload(ESP)
4835CryptographicAlgorithmImplementationRequirementsforESP
2410TheNULLEncryptionAlgorithmandItsUseWithIPsec
2451TheESPCBCModeCipherAlgorithms
3602TheAESCBCCipherAlgorithmandItsUsewithIPsec
2404TheUseofHMACSHA196withinESPandAH
4868UsingHMACSHA256,HMACSHA384,andHMACSHA512
Using IPsec with ESXi
WhenyousetupIPseconanESXihost,youenableprotectionofincomingoroutgoingdata.Whathappens
preciselydependsonhowyousetupthesystem’sSecurityAssociations(SAs)andSecurityPolicies (SPs).
AnSAdetermineshowthesystemprotectstraffic.WhenyoucreateanSA,youspecifythesourceand
destination,authentication,andencryptionparameters,andanidentifierfortheSAwiththefollowing
options.
I
MPORTANTInESX/ESXi4.1,ESXi5.0,andESXi5.1,IPv6isbydefaultdisabled.YoucanturnonIPv6by
runningoneofthefollowingvCLIcommands:
esxcli <conn_options> network ip interface ipv6 set --enable-dhcpv6
esxcli <conn_options> network ip interface ipv6 address add
vicfg-vmknic <conn_options> --enable-ipv6