Method and device for controlling message forwarding
A technology for controlling messages and devices, applied in the field of communication, can solve problems such as not being able to automatically support forwarding requirements
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] The embodiment of the present invention provides a method for controlling packet forwarding, which uses figure 2 The provided VPLS packet forwarding device network diagram is used as an example to illustrate. When building a Layer 2 network, isolation is enabled on the access side as required, that is, devices on the access side are not allowed to forward packets to each other. According to the method provided by the embodiment of the present invention, the isolation of the access side can be supported without changing the forwarding engine of the message forwarding device of the existing layer 2 network, and the successful forwarding of the message can be realized. see image 3 , which is a flow chart of a method for controlling message forwarding provided by an embodiment of the present invention, and the specific content includes:
[0035] 101: Divide the Layer 2 network with access-side isolation enabled into two broadcast domains: broadcast domain A and broadcast d...
Embodiment 2
[0067] The method for controlling packet forwarding provided by Embodiment 1 of the present invention can be further optimized. In this embodiment, by aiming at the corresponding relationship generated before the MAC table entry mapping in Embodiment 1, and according to the MAC table entry generated by the corresponding relationship, set The interface in the MAC entry is a black hole interface, which effectively avoids the problem of continuously reporting MAC learning messages because the source MAC address cannot be found in the MAC forwarding table.
[0068] In this embodiment, the situation of receiving packets from the interface on the public network side and the interface on the access side will be described in detail respectively. The specific contents are as follows:
[0069] 1) When the message forwarding device receives a forwarded message to be forwarded to interface 1 through other interfaces on the public network side, for example, the destination MAC address of th...
Embodiment 3
[0081] Those skilled in the art know that when performing Layer 2 network maintenance, manual configuration of a static MAC is often used to avoid broadcast forwarding during MAC learning, or forwarding packets to an interface whose destination MAC address is not within its range. Therefore, in this embodiment, entries (broadcast domain identifier, MAC address and corresponding interface) corresponding to static MAC addresses configured by the network management or manually may also be saved in the MAC forwarding table of broadcast domain A and / or B. Usually, static MAC addresses are configured for a special purpose, that is, when a packet hits the entry, the packet is forwarded to the interface corresponding to the entry, so as to achieve the special purpose of packet forwarding. Through the way of statically configuring the MAC address, it can be realized that the devices on the access sides can communicate with each other when the access side isolation is enabled.
[0082] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 