Network Config not cooperating

My Network config is set up to use a specific IP over LAN and not use WI-FI.
I had previously set it up to use WI-FI and it seems like it has a really hard time forgetting that since it keeps using the Wi-Fi connection instead of LAN.
It would actually connect on both LAN and WIFi with two different IP addresses at the same time. The one I specified in the config file via WiFi even though I had only configured LAN and another IP over LAN.
I Forced it to drop the Wi-Fi connection by changing my code on the router, but it caused all sorts of problems while it was going on since I had my configurator etc. hardcoded to a specific IP.
Any reason for the config file not being honored?