A multicast tunnel interface (MTI) is the inbound/outbound interface of a multicast distribution tree (MDT) and is used for interaction between the public network instance and a VPN instance. A PE encapsulates VPN multicast packets in to public network multicast data packets by using the MTI address as the source address.
Perform the following steps on a PE.
An MTI can be configured with a static IP address or obtain an IP address dynamically. If both methods are used, the manually configured IP address takes precedence. The dynamic IP addressing mode ensures that the MTI IP address is the same as the IP address for establishing an IBGP neighbor relationship. This prevents RPF check failures caused by inconsistency of the two IP addresses.
Configuring the MTI to automatically obtain an IP address
Run system-view
The system view is displayed.
Run ip vpn-instance vpn-instance-name
The VPN instance view is displayed.
Run ipv4-family
The VPN instance IPv4 address family view is displayed.
Run multicast-domain source-interface interface-type interface-number
The source interface of the MTI is specified.
The PE will use the IP address of the source interface as the source IP address to encapsulate VPN multicast data packets.
The source interface must be the interface on which the public network IBGP neighbor relationship is established. If not, VPN multicast packets received on the MTI cannot pass RPF checks.
Manually configuring an IP address for the MTI
Run system-view
The system view is displayed.
Run interface mtunnel interface-number
The MTI view is displayed.
Set interface-number to the MTI created when the Share-Group is configured. Otherwise, a message will be displayed, indicating that the MTI has not been created.
Run ip address ip-address { mask | mask-length }
An IP address is configured for the MTI.
The MTI address must be the same as that of the interface on which the public network IBGP neighbor relationship is established; otherwise, VPN multicast packets received on the MTI cannot pass RPF checks.