OSPF uses the following criteria to select the router ID:1. Manual configuration of the router ID (via the "router-id x.x.x.x" command under OSPF router configuration mode).2. Highest IP address on a loopback interface.3. Highest IP address on a non-loopback and active (no shutdown) interface.