In case of two VM guests configure them to use NAT networking vs NAT.
They will get different IPs in case of NAT networking rather than the same IP in case of NAT.
You can also configure a second internal network on the same as the first one.
Use different virtual network adapters for each of the VMs. Use promiscous mode in order the TCP data flow to be filtered.