Embodiments of the present disclosure provide a random access method, a terminal, and a network device, to resolve the problem of random access failure caused because messages can be sent on only one fixed frequency resource in a random access process in the prior art.
To resolve the foregoing technical problem, the present disclosure is implemented as follows:
According to a first aspect, an embodiment of the present disclosure provides a random access method, applied to a terminal, where the method includes: receiving first resource configuration information sent by a network device, where the first resource configuration information is used to indicate M first frequency resources and N second frequency resources, and M and N are positive integers greater than or equal to 1; sending a random access request on a target first frequency resource to the network device; and receiving a random access response sent by the network device on a target second frequency resource, where the target first frequency resource is a free frequency resource in the M first frequency resources, and the target second frequency resource is a free frequency resource in the N second frequency resources.