Current location - Quotes Website - Team slogan - How are port numbers, IP addresses and MAC addresses converted? For example, if there is an optical cable in the middle, how can I get QQ information from point A to point B?
How are port numbers, IP addresses and MAC addresses converted? For example, if there is an optical cable in the middle, how can I get QQ information from point A to point B?
1. Your computer is always connected to a switch or router port, and the MAC address of a port is fixed, just like the MAC of your computer is fixed-excluding artificial software modification; Expressed as a MAC address table

2. There is a mapping relationship between IP address and MAC, which is stored as ARP table, so as to determine the mapping of IP address -MAC address-port at a certain moment.

3. The mapping principle of point A and point B is the same.

4. Your QQ message is not sent directly from A to B, but your QQ message is sent to Tencent QQ server, and then the server pushes it to B. Anyway, if that optical fiber is the only path for you to access the public network, it must be from A to the port of the connected switch or router-to Tencent QQ server-to B.