Login hour : you can set the login hour with using these steps, From Setup, enter Profiles in the Quick Find box, and select Profiles. Under Login Hours click Edit and set up the schedule.
Login ip range: It control the login access for a user profile. It is used to restrict login IPs at a granular level.
you can whitelist the IP ranges at the organization level.