AppleTV 3 floods DHCP when ethernet connected

I am hoping others can open a case with Apple for this, you may not be aware this is happening.


The AppleTV 3 with 7.0.2 or 7.0.3, and connected via ethernet will (may?) flood your network with DHCP request. That is, it makes a DHCP request every 2-6 seconds instead of once or so a day. This does not happen if connected via wifi. I have a log sent by my router (Zyxel) once a day and prior to the ATV 3 it was 1 page long, now it is 50 pages long! 99 percent of it is the ATV 3 sending DHCP requests. If you don't have a way of monitoring your network you may notice this is happening so you'll need to log/monitor this to see it. If you have the problem please open a case with Apple as I have done since Apple Feedback does not help fix thing in a timely fashion. My understanding is that this was known and fixed in 7.0.3 but only for wifi connections. I have the house wired for cat 6 and want ethernet for our primary ATV 3.


This does not happen to our ATV 3s connected via wifi and our older Apple TV 2s.

Posted on Feb 13, 2015 12:18 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 15, 2015 10:29 AM

To open a case got to http://www.apple.com/support/contact/ it's free and easy, they call back in minutes, you will then have to convince the first level person to send you to a "specialist" who will document your issue and send it to engineering, enough of us complain and they will notice. I have sent them logs and even port mirroring traces, I spent several days on this. The trace and logs clearly show the problem. BTW, even though DHCP requests are flooding it gets the same address each time. Another really odd thing I found which may explain AirPlay problems (I have them) it that the ATV 3 actually shows up in the trace with TWO IP addresses! One floods and the other shows up a lot but led frequently. I sent Apple the trace to prove it.


BTW, most people won't see/notice this because they don't have router logs. Also, I have an HP switch that allows port mirroring so I can monitor all network traffic to/from the ATV 3 using Wireshark (I used Linux but it works on Mac).

53 replies

May 11, 2016 11:28 AM in response to Willie Strickland

Willie Strickland wrote:


I Have a dedicated IP address on the LAN for my AppleTV 2. Have you tried that?

I've done that with fixed reserved addresses configured on my router and I'm still seeing this DHCP spam.


It's as if the AppleTV is ignoring the IP Address Lease Time (option 51). You're not supposed to renew a lease until you're at least 50% through the lease's lifetime.

Feb 14, 2015 6:54 PM in response to Mario MG

(ATV3 ethernet connection here)

Interesting, I was having slow internet recently, wondering if ATV3 was doing something like this in background...I unplugged it, but reset everything else too, so not sure if it was the culprit. (We might have too many devices for our 10M DSL.)


I have a different router, but, I know how to go into it and change settings, do they all have an option to log and send this info.?


I've also wondered about my iPhone with WiFi calling, if it's doing something similar, or iCloud...with my Mac or iCloud in general (with all my devices).

Feb 15, 2015 8:26 AM in response to Mario MG

I have looked all through my router, can't find a way for it to send me those logs. Not sure I even see those logs, I see what devices have DHCP leases and what IP add they have, but, it's just a list of what's connected (IP/MAC add/expires), and there is a system log, but, it's not in order by date, and I can't find options to have them sent to me.


I'm using a (T-mobile) ASUS TM-AC1900 router. If you can help me find these specific logs, or how to have them sent to me daily, I will do my best to set that up.

Feb 15, 2015 12:16 PM in response to Mario MG

"BTW, most people won't see/notice this because they don't have router logs. Also, I have an HP switch that allows port mirroring so I can monitor all network traffic to/from the ATV 3 using Wireshark (I used Linux but it works on Mac)."


Mario MG Help:


I have several logs, not sure if any will show this. One is called System Log - Active Connections, the last column is "State" - Enabled/Assured/Unreplied/Time Wait/Close. Apple TV is in this list most, but, not sure what this is showing me?


The General Log is a bit scattered. The System Log - DHCP Leases which shows current connections and expirations, just lists each device, doesn't show when lease was activated.


This router has a lot to it, but, not sure if any of these are showing me how often DHCP leases are asked for, any clues?

Feb 15, 2015 9:05 PM in response to benji888

Sorry about my double post - I got interrupted.


You are right, it was only a workaround, in fact the connection over wifi no longer works (worked yesterday, not today!). All my iOS devices can use airplay, my Mini is connected by ethernet to the ATV 3, and iTunes works with home sharing from the Mini. I see a fixed screen or a grey screen depending on whether I use ethernet or wifi from the Mini to the ATV 3 whenever I use airplay. The really annoying thing is that this all used to work so well, and I have done nothing except keep all my software up-to-date.


I will do as you suggest and let you know what happens. Many thanks for the help.

Feb 16, 2015 11:46 AM in response to benji888

So I tried the ethernet cable again, no luck. Unplugged the ATV 3 for 30 secs, powered on with the Mini and ATV 3 connected by ethernet, signed out/in my apple ID. Now I get a stationary picture from a movie (stuck on the frame where I activated Airplay). iTunes homesharing works fine, as do my iOS devices, both music and video.


Is there anything else I can try?


My inclination is that Apple broke Airplay with one of their soft/firm-ware updates.

Feb 16, 2015 2:06 PM in response to Drew Reece

Please folks, no more static advice, as I previously stated, setting static turns off the DHCP requests in the ATV so the flooding does not happen, but that is not what I want. I have 5 Apple TVs in the house and don't plan on using static and add complexity to my LAN just to mask an obvious software bug. This does not "look like a bug", it is a big one for the people who are experiencing it. Again, I sent Apple the network traces, anyone can see the problem and they are aware of it but others opening case gets to more priority.

Jul 29, 2015 11:06 AM in response to fyellin

The Apple TV also has a bonjour sleep proxy built into it.

About Wake on Demand and Bonjour Sleep Proxy - Apple Support

That means it needs to be capable of reaching the network even when you may think it is not being used. If you don't have any other Apple devices running a bonjour sleep proxy the ATV will step in.


I don't think it is realistic to say that creating 1 extra packet every 10 minutes is a 'failed networking stack', try filtering your logs.

Jul 29, 2015 12:36 PM in response to glarbl_blarbl

glarbl_blarbl wrote:


I'm having the same issue. My dhcp lease time is set for 24H, but the apple tv asks for a new lease about once a minute.

Once per minute is not a flood, if it was thousands of time per minute I would agree that is a flood and a major issue. Once a minute is nothing. If you put tcpdump on pretty much any device you will see a constant stream of seeming needless management traffic. I would guess it is related to supporting their screwed up Bonjour protocol but who knows. What ever the reason that is the way it works and it is not likely to change, and it is not hurting anything.

Jul 29, 2015 10:43 PM in response to Drew Reece

You're right. Once every ten minutes is just an irritation, not broken. But on first glance, it did seem strange that my portable devices ask for their IP address less often than a supposedly fixed device. I apologize for being over-dramatic.


I also suspect that you are right that it has something to do with Bonjour Sleep Proxy. The ATV seems to be happy with its address when it's in use. Only when it's idle does it constantly need to be reminded of its IP address.

Jul 30, 2015 9:04 AM in response to Brian Cook4

So 3600x more traffic than expected is not a flood. Got it.


Sorry if my issue doesn't rise to the level of severity of the original poster, but my understanding from this thread was that posting logs of the issue would be helpful.


To me, if a networking device is ignoring a setting by orders of magnitude -- then that is a bug.


EDIT:

Realized I took those logs while the ATV was sleeping. I'll check it when the thing is awake later today.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

AppleTV 3 floods DHCP when ethernet connected

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.