Peter Davis4 wrote:
So, its a wifi (5g) modem to the TP link switch to the TB3 dock to my Mac.
Just to make sure we are on the "same page," the terms "modem" and "router" could mean the same thing. I believe folks outside the US refer to them a modems. Whereas, in the US, they are called routers. In the US, a modem is a different device that you would use only if you have a single device to connect to the Internet.
Regardless, I am assuming that your "modem" is a combination device that includes a modem, router, Ethernet switch, and wireless access point, all in one device. It may help if you can provide us with the make & model so we have a better idea on what we are working with.
If I understand you correctly, you have TP Link (Ethernet) switch that is directly connected this modem, and in turn, you have an Ethernet cable running between this switch and a dock that you connect your Mac to.
I reset the modem & put it into 'bridge' mode
This basically stopped most of my internet from working. Most but not all websites would not load. But the network was visible & I could join. I couldn't get airplay working like this.
So, I took the modem out of Bridge mode, and I have internet again, both wifi and ethernet.
Placing your modem into bridge mode disables a number of services (in particular: NAT & DHCP) which are required when you need multiple devices on your local network to gain access to the Internet. As you saw, placing it into bridge mode "broke" the Internet ... and should not be necessary for the AirPlay issue.
I can see both the wifi & TB3 are on the same subnet mask : 255.255.255.0
Router ip shows the same for both devices
Although the subnet mask is important, that's not I was referring to when I mentioned that both network interfaces need to be on the same subnet. To be on the same subnet, both interfaces should be using a similar IP address. For example, if your network's modem is providing local IP addresses in the 192.168.1.x range, then to be on the same subnet, each of those interfaces should be in that same range, i.e., Ethernet on 192.168.1.10 & Wi-Fi on 192.168.1.20. Note that it doesn't matter what the last number is, although they should not be the same.
Let's try something simple. Temporarily disconnect your Mac from the dock. Insert the Ethernet cable that was connected to the dock to the Mac instead. Temporarily disable Wi-Fi on the Mac, and then, test that the Mac can still access the Internet. If successful, try using AirPlay from the Mac. Please let me know your results.