Looking for a 2nd set of eyes for something we’re doing in a lab for proof of concept. Trying to setup private vlan config on N5k interface(s) connecting to Hyper-V host(s). The problem we’re having is that the switch is not learning the VM MAC addresses, therefore no traffic is crossing the Nexus 5k interface.
Is the Nexus 5k port config our problem?
Hyper-V Host configuration:
The host interface is configured as a trunk interface passing all traffic. The VM is configured as a community interface on secondary VLAN 2003.
Get-VMNetworkAdapter -VMName PVLAN-VDI-01 | Set-VMNetworkAdapterVlan -Community -PrimaryVlanId 1500 -SecondaryVlanId 2003
Nexus 5k configuration:
vlan 1500
name PVLAN-Primary
private-vlan primary
private-vlan association 2000-2099
vlan 2000
private-vlan isolated
vlan 2001-2099
private-vlan community
port-profile type ethernet PVLAN-Trunk
switchport mode private-vlan trunk promiscuous
switchport private-vlan trunk allowed vlan 5, 14, 65
switchport private-vlan mapping trunk 1500 2000-2010
state enabled
interface Ethernet1/5
inherit port-profile PVLAN-Trunk