Symptoms:
[root@esxcomp-2a:~] summarize-dvfilter | grep -A 3 vmmworld 1371516 vmm0:Test_VM vcUuid:'50 20 92 e1 11 b7 10 d3-56 c5 e0 da 46 87 b5 d2' port 67108881 Test_VM.eth0 vNic slot 2 name: nic-1371516-eth0-vmware-sfw.2 <------vsipioctl getrules -f nic-2428322-eth0-vmware-sfw.2 No rules.vsipioctl getrules -f nic-2428322-eth0-vmware-sfw.2 ruleset mainrs {# generation number: 0# realization time : 2025-02-18T23:35:04# PRE_FILTER rulesrule 5 at 1 inout protocol any from malicious to any drop tag 'MALICIOUS IP AT SOURCE RULE';rule 6 at 2 inout protocol any from any to malicious drop tag 'MALICIOUS IP AT DESTINATION RULE';# FILTER (APP Category) rulesrule 1003 at 1 inout protocol any from any to any accept;rule 3 at 2 inout inet6 protocol ipv6-icmp icmptype 136 from any to any accept;rule 3 at 3 inout inet6 protocol ipv6-icmp icmptype 135 from any to any accept;rule 4 at 4 inout protocol udp from any to any port {67, 68} accept;rule 2 at 5 inout protocol any from any to any accept with log;# IDP rulesrule 1009 at 1 inout protocol any from any to any with ids profile xxxxx-xxxxx-xxxxx-xxxxx-xxxxx idp_detect oversubscription inherit;}ruleset mainrs_L2 {# generation number: 0# realization time : 2025-02-18T23:35:04# FILTER rulesrule 1 at 1 inout ethertype any stateless from any to any accept;}vsipioctl getrules -f nic-2428322-eth0-vmware-sfw.2 No rules.
Relevant ESXi logs:
vmkernel.log:
2025-02-20T00:04:08.118Z In(182) vmkernel: cpu7:270263)configured filter nic-267167-eth2-vmware-sfw.2
2025-02-20T00:04:08.118Z In(182) vmkernel: cpu7:270263)filter nic-267167-eth2-vmware-sfw.2 flushing flow cache
2025-02-20T00:04:16.755Z In(182) vmkernel: cpu7:270263)unconfigured filter nic-267167-eth2-vmware-sfw.2
nsx-syslog:
2025-02-20T01:07:47.334Z In(182) cfgAgent[270232]: NSX 270232 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" tid="6312A700" level="info"] dfw: Kernel filter nic-267167-eth2-vmware-sfw.2 has lost its vif id vif-3
2025-02-20T01:07:47.335Z In(182) cfgAgent[270232]: NSX 270232 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" tid="635B3700" level="info"] dfw: Cleanup DFW config to filter nic-267167-eth2-vmware-sfw.2
2025-02-20T01:07:57.335Z In(182) cfgAgent[270232]: NSX 270232 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" tid="6312A700" level="info"] dfw: Kernel filter nic-267167-eth2-vmware-sfw.2 has lost its vif id vif-3
2025-02-20T01:07:57.337Z In(182) cfgAgent[270232]: NSX 270232 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" tid="635B3700" level="info"] dfw: Cleanup DFW config to filter nic-267167-eth2-vmware-sfw.2
VIFs (Virtual Interface) labeled as vif-x are invalid and should not have rules applied.
VMware NSX 4.2.0 - 4.2.1
After enabling and disabling "DFW on DVPG" feature (formerly known as Security-Only prior to 4.2.x), the DFW will apply rules to VM's without a VIF (virtual interface). VM's without VIFs should NOT have rules applied
Workaround:
Permanent Fix:
A code fix will be included in a future release.