Yes, the virtual-real node mapping in NetSim emulator is IP based.
Virtual interfaces will also work but you need to configure your application/OS IP protocol such that the particular application traffic goes through that interface and to Netsim emulator