Zend certified PHP/Magento developer

How to “trick” wpa_supplicant into connecting to fake network

I have a linux machine, and I need to connect the main wifi card to a fake network that routes all traffic to a second interface connected to a real network. I need this as I have a program that will only work when the machine is connected to a network through the main wifi card. I think it checks wpa_supplicant. Also I only have the two network cards and I cannot add any additional ones. Is there any way to set this up?