1

I have had a situation where I cannot access the internet and the network preferences list ethernet interface connected to DSL modem has self assigned IP address and cannot connect. It is set to connect via DHCP.

I Googled this problem and the instruction was to remove a file called com.apple.alf.plist from /Library/Preferences and then reboot.

I did this and the interface to the DSL shows that it is connected but I still cannot get to remote sites.

One probable cause of the (DHCP) self assigned IP address issue might have been a system upgrade or a crash or other significant event but there has been nothing like that.

I have been playing with the ethernet cables and now the preferences list the interface as having a self assigned ip address again.

EDIT: This machine has the internet connection to the built in ethernet port and a local network connection via usb/ethernet interface. I switched the internet connection to the USB/Ethernet interface via DHCP and I can now get to the Internet, and I can’t get to other hosts running on local network (now connected via built in ethernet port). I suspect that the built in ethernet port has a hardware problem).

EDIT 7/14:

  1. I want local network isolated from internet connected local network
  2. I am not looking for this machine to serve as a gateway from one network to another.
  3. The built in ethernet port/interface is not working properly
  4. I have removed the com.apple.alf.plist file from /Library/Preferences and rebooted with no improvement, accept the "self assigned IP address" status doesn’t show and the Ethernet interface indicates that it is connected, but doesn’t send or receive anything.
  5. I ran AHT (Apple Hardware Test) and nothing in the way of hardware was found to malfunction.
  6. I have another USB/Ethernet interface and am using that in lieu of using the built in ethernet port/interface. Both USB/ethernet interfaces work fine.

I know how to set interfaces with static private ip addresses, as well as using preferences to specify dchp. My ISP’s DSL modem is expecting interfaces on local hosts to use DCHP.

Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
user1739140
  • 49
  • 2
  • 5
  • 1
    First, lets simplify things: [START] You have a computer with OSX. It has a Ethernet port which is set to be configured via DHCP. The port gets a link but the DHCP req fails [END]. It gets a link so the cables are fine. All the rest is fluff except for what you alraady tried. Next thing to try: 1a) Do other computers work via DHCP (aka is it you OSx install acting up or the DHCP server in the router). 1B) if you lack another computer, what happens when you configure en0 with a static IP and netmask on the same network as your router. Are you able to ping your gateway IP? – Hennes Jul 13 '16 at 18:43
  • 1
    Test 2) What happens if you open a shell, bring en0 down (ifconfig en0 down?) and try a dhcp req on that? (guessing `ipconfig set en0 DHCP` based on http://superuser.com/questions/86956/release-renew-ip-address-via-terminal-in-os-x). – Hennes Jul 13 '16 at 18:45
  • PS: I saw your edit by I fail to parse it. What does " This machine has the internet connection to the built in ethernet port" mean? The Ethernet port is a *p8C plug. – Hennes Jul 13 '16 at 18:48
  • @Hennes - fair start but actually I think the OP is trying to get throughput from one NIC to the other - which is not going to happen that way without tech-level work. Simple fix would be "buy an ethernet switch & plug *everything* into that", I think. – Tetsujin Jul 13 '16 at 18:52
  • @OP: can you check these two posts: http://superuser.com/questions/717629/how-to-configure-mac-to-route-external-ip-requests-to-different-interfaces http://superuser.com/questions/450493/changing-routing-on-mac-with-two-ethernet-ports – Hennes Jul 13 '16 at 19:00

0 Answers0