I need to run
sudo dhclient eth0 every time I unplug and plug the Ethernet back in.
This is pretty annoying! How can I fix it?
You should check your network configuration in:
If you want DHCP it should be something like this:
If you want a static IP it should go like this:
You can read this too.