Want to Authenticate by Internal Network

Is there a way to authenticate by internal IP addresses whether that be a range of IPs or our external IP address?s

I speaking specifically for login MFA purposes