Mac not connecting to internet with ethernet cable

I upgraded my Mac OS To OS X El Capitan.
Now it is not getting connected to internet via Ethernet cable but Wireless works just fine. What happens is when I connect the Ethernet cable it says self assigned IP as shown in screenshot.

![Self assigned IP MAC Ethernet

I have tried to manually enter all IPv4 information but doesn't help


Solution 1:

This article will talks about the Self-Assigned IP issue and will hopefully fix your problem. Here is the relevant part:

To reset the firewall, go to the /Macintosh HD/Library/Preferences/ folder and remove the file called "com.apple.alf.plist," and then restart your computer. After the system boots, you may be prompted to allow incoming connections to numerous programs and services, so accept these for now (you can always go to the Firewall settings and deny or remove entries later on) and then try connecting to the network again. While configuration changes from migrating or restoring a system can lead to this problem, at other times major system crashes or power outages can do the same.

Solution 2:

I was having the same issue and couldn't resolve until I followed this advice:

Many cable modems bridge only the first MAC address they see. If you unplug your router and plug in your Mac, you may need to reboot your cable modem so it accepts the Mac's MAC address. You'll need to reboot it again if you switch back to your router.

Source: MacRumors forums

In my situation, I had unplugged the ethernet cable from my wifi router and plugged it into my Mac. My cable modem presumably didn't bridge the new MAC address, leading to the network problem. Rebooting the cable modem resolved the issue.