This problem had me occupied most of the day until I finally solved it just a little while ago. Unfortunately I still don't understand why the problem surfaced in the first place or why my final "solution" worked. I'm hoping that someone can help me shed some light on this.
We have an ADSL connection and use a D-Link DSL-320B modem. We have a D-Link DIR-120 router connected to this modem. This has worked perfectly fine up until today when we disconnected the router and connected a computer (call it A) directly to the modem because it was getting an unusable connection through the router for some reason. We later also performed a factory reset on the DIR-120 router.
Unfortunately, after the above steps the router did not receive any IP address (through DHCP) from the ADSL connection anymore. During my attempts to debug this I noticed that my laptop (call it B) didn't get any IP address either (when connected directly to the modem). I noticed the following syslog entries repeating over and over while trying to connect:
Jun 2 19:30:12 jiddo-laptop dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 Jun 2 19:30:12 jiddo-laptop dhclient: DHCPOFFER of 126.96.36.199 from 188.8.131.52 Jun 2 19:30:12 jiddo-laptop dhclient: DHCPREQUEST of 184.108.40.206 on eth0 to 255.255.255.255 port 67 Jun 2 19:30:28 jiddo-laptop dhclient: last message repeated 2 times
At this point computer A could still get a connection just fine tho (when connected directly to the modem).
I then tried to change the MAC address of the router to an arbitrary one (a copy of computer B's MAC address but with the last digit increased by one). The router still did not get assigned any IP address.
Finally I tried making the router clone the MAC address of a third computer (call it C). C has never been connected directly to the modem. Doing this worked. After cloning the MAC address of computer C the router is immediately assigned an IP address and the internet connection works as it did prior to all this.
Now, my question is, why would computer B and the original MAC address of the router not be able to get an IP address while two other computers worked just fine? Why would changing to an arbitrary MAC address not work while cloning the MAC address of another computer did? Could the router's MAC address have been blocked by the ISP for some reason (and what could cause this)?
I found this question, but my situation seems more like a blacklisting of some MAC addresses rather then allowing just a single MAC address.
Does anyone have any experience or knowledge of this sort of situation?