Do you have any security Apps (such as Norton) or VPN installed on your iPad? If so, these may be interfering with your iPad's internal routing table - and may interfere with AirPrint/AirPlay/WiFi Hotspot or other Apple services. If present, it may be necessary to temporarily remove such Apps from your iPad - and then perform a forced-restart.
You may find that a restart of your WiFi Router, followed by a restart of your iPad will clear the problem….
To restart your router, disconnect power from the router for at least 30 seconds - then reconnect power to restart. After your router reboots (which may take several minutes), force restart your iPad:
- On an iPad with a Home button: Press and hold the top button and the Home button at the same time. When the Apple logo appears, release both buttons.
- On an iPad with Face ID: Press and quickly release the volume up button, press and quickly release the volume down button, then press and hold the top button. When the Apple logo appears, release the button.
If you continue to have difficulties, check to see if your iPad is using the WiFi Private Address feature. This feature is intended to provide additional privacy and security when using “public” (untrusted) WiFi networks.
Settings > WiFi > [Your WiFi Network / SSID] - tap the “i” icon - Private Address
The Private Address feature is largely unnecessary for your home WiFi network; if enabled, Private Addressing can cause issues if specific MAC addresses are expected by your WiFi Router. You may need to disable this feature - and can be enabled or disabled for each individual network.
Use private Wi-Fi addresses in iOS 14, iPadOS 14, and watchOS 7 - Apple Support