| CPC H04L 61/4511 (2022.05) [H04W 8/26 (2013.01); H04L 2101/618 (2022.05); H04W 84/042 (2013.01)] | 20 Claims |

|
1. A communication method, comprising:
receiving, by a second session management network element in a visited network, from a first session management network element in a home network, indication information, wherein the indication information indicates that traffic routing is allowed in the visited network; and
sending, by the second session management network element and based on the indication information, internet protocol (IP) address information of the visited network to a user plane network element in the visited network, wherein the IP address information is information used to determine an extension mechanisms for domain name system client subnet (ECS) option, or the IP address information is a local domain name system (DNS) server address.
|