retcurrent.blogg.se

Mac address learning process
Mac address learning process








  1. MAC ADDRESS LEARNING PROCESS SERIAL NUMBER
  2. MAC ADDRESS LEARNING PROCESS INSTALL
  3. MAC ADDRESS LEARNING PROCESS PC

According to the topology, the two switches are connected, and a host is mounted respectively.ĥ. In theory, two switches and two hosts will be returned.ģ. sudo screen mn -topo linear -mac -switch ovsk -controller=none Then get the following figure, the topology is created.Ģ. I will log out directly when I execute screen with my own account. ps: It is recommended to use the administrator root to execute screen directly. screen mn -topo linear -mac -switch ovsk -controller=none Here the controller is set to none, ovsk means that the virtual switch is ovs Kernel mode.

MAC ADDRESS LEARNING PROCESS INSTALL

If the system does not have a screen, you can directly sudo apt install screen. Here we use screen to create it, and you can switch between the two windows. Start mininet to create a linear topology. This experiment uses a simulated Layer 2 switch and two host topology diagrams as follows:ġ. At this time, the switch has learned two MAC addresses. At this time, the switch has learned D’s MAC address on the interface of D. When D receives this frame, he finds that it is sent to himself, and then D will send data to A.

mac address learning process

When B and C receive this data, they first check the destination address and find that it was not sent to me, then discard the frame. What should I do at this time? The switch will copy multiple copies of this data (multi-frame copy), and forward this data to all ports of the switch (except the port connected to A).

MAC ADDRESS LEARNING PROCESS PC

At this time, the switch first learns the MAC address of A on the port connected to the PC of A, and records this MAC address in the MAC address table of the switch, but this time the switch does not I don’t know where D is, because there is no D’s MAC in the MAC table. First, for example, A sends a piece of data to D. First, when the switch is initially powered on, the MAC address table in it is empty, that is, it has not been learned yet, in the initial state of learning. We imagine a model with four PCs A, B, C, and D connected to a switch. For a network card, the MAC address is its physical address and is immutable, while the IP address is a logical address corresponding to it and can be changed.

MAC ADDRESS LEARNING PROCESS SERIAL NUMBER

The last six include the serial number of the network card, or the set value of a specific hardware manufacturer. The first 6 hexadecimal digits are managed by IEEE and are used to identify the manufacturer or vendor and constitute OUI (Organization Unique Identifier). The MAC address is 48 bits and is represented by 12 hexadecimal numbers. The MAC is the only interface in the world for the device (usually a network card). The MAC (media access control, media access control) address is an identifier that identifies a LAN node.

mac address learning process

  • Understand how the switch forwards known unicast, unknown unicast and broadcast frames.
  • Understand the MAC address learning process of the switch.









  • Mac address learning process