Post on 15-Jul-2015
transcript
Who is Chris Wahl? • VMware Certified Design Expert (VCDX) #104 ▫ Data Center and Network Virtualization
• Tech, Lab, Certs, Reviews, Videos ▫ WahlNetwork.com
• CCNA Data Center & vCloud Courses ▫ Pluralsight.com
• Virtualization User Podcast as a Service ▫ VUPaaS.com
Networking for VMware Administrators Paperback, Kindle, eBook, EPUB, MOBI, PDF 100% of my profits go to Alzheimer’s Association
Different Choices • Standard vSwitch • Distributed vSwitch • 3rd Party Virtual Switches ▫ Cisco Nexus 1000v ▫ IBM 5000v
• Bender Bending Rodríguez
Control Plane Differences
Control Plane
ESXi Host
Control Plane
ESXi Host
Control Plane
ESXi Host
Control Plane (vCenter)
dvsdata.db dvsdata.db dvsdata.db
Data Plane Differences
ESXi Host ESXi Host ESXi Host
Data Path Data Path Data Path
Control Plane
Data Network
Vendor Confusion • Link Aggregation Terms ▫ HP’s Port Trunking ▫ Avaya’s Multi-Link Trunking (many flavors) ▫ Huawei’s Eth-Trunk ▫ AIX Ethernet Trunking ▫ Generic “NIC Trunking”
VLAN ID Tagging
No VLAN ID
No VLAN ID
Virtual Switch
Physical Switch
Virtual Machine (VM)
External Switch Tagging
Access Port Removes Tags
Virtual Switch Tagging
vSwitch Adds / Removes
VLAN ID Tags
VLAN ID
VLAN ID Virtual
Guest Tagging
Guest Responsible for VLAN Tags
Routing Choices
10.10.10.10 /24 20.20.20.20 /24 30.30.30.30 /24
vmk0 vmk1 vmk2
Routing Table
Data Network
10.10.10.50? 20.20.20.50? 40.40.40.50?
vMotion and MAC Learning
ESXi Host ESXi Host ESXi Host
VM MAC “A”
Physical Switch
E1/1 MAC “A”
E1/2 MAC “A”
Troubleshooting Tips
esxcli network ip route ipv4 list
esxcli network ip neighbor list
esxcfg-route -l
Building an IP Storage Network
IP Storage Port Group Active / Active Uplinks
vmnic1 vmnic2
IP Storage Network 30.30.30.0 /24
vmk1 30.30.30.50 /24
Building an IP Storage Network
IP Storage Port Group Active / Active Uplinks
vmnic1 vmnic2
IP Storage Network 30.30.30.0 /24
vmk1 30.30.30.50 /24
Building an IP Storage Network
IP Storage Port Group Active / Active Uplinks
vmnic1 vmnic2
IP Storage Network 30.30.30.0 /24
vmk1 30.30.30.50 /24
Hash Algorithm • Source and Destination Variation ▫ MAC Address (Layer 2) ▫ IP Address (Layer 3) ▫ Port (Layer 4) ▫ VLAN ID
Hash Results • Changes? ▫ IP Address ▫ MAC Address ▫ Port Number ▫ VLAN ID
• Nope ▫ Same hash results
vmnic1 vmnic2
Storage Target 30.30.30.60 /24
vmk1 30.30.30.50 /24
Least Significant Bit (Not Magic) 2 Uplinks
– Last bit
– 0,1
3 to 4 Uplinks
– Last 2 bits
– 00, 01, 10, 11
5 to 8 Uplinks
– Last 3 bits
– 000,001,010,etc
Fibre Channel SAN • Unique VSAN IDs per Fabric • Don’t use VSAN 1 • Single Initiator Zoning ▫ Edge SAN: Multiple Target ▫ Core-Edge SAN: Single Target
• Don’t use Multiple Initiator Zoning ▫ Never! ▫ Registered State Change Notifications (RSCN)