Network problem after reboot

Hi,
I have a problem with my Lan/Wifi connections. When I connect my system to the router, it does not get an IP address. I need to run “systemctl restart networking” several times until it manages to bring the Lan up. also I have the same problem when the system reboots. If I connect the same cable to a windows system, it works right a way. I tried to set a static IP address inside “/etc/networking/interfaces” . still the problem is there, after reboot I need to run “systemctl restart networking” several times.
Any ideas?