CPC H04L 49/253 (2013.01) [H04L 41/085 (2013.01); H04L 45/74 (2013.01); H04L 61/5007 (2022.05); H04L 61/5038 (2022.05)] | 20 Claims |
1. A method performed by a first communication device, the method comprising:
receiving indication information of an identifier of a second port group of a second communication device, wherein the indication information is received via a physical connection between a first port of the first communication device and a second port in the second port group of the second communication device;
determining an internet protocol (IP) address of the first port used to receive the indication information using the identifier of the second port group, an identifier of a first port group that includes the first port, and a preconfigured first mapping relationship, wherein the preconfigured first mapping relationship comprises a correspondence between the identifier of the second port group, the identifier of the first port group, and the IP address of the first port;
in response to determining the IP address of the first port used to receive the indication information, configuring the IP address of the first port for the first port; and
communicating with the second communication device using the IP address of the first port as the IP address of the first port.
|