FMUSER Wirless Transmit Video And Audio More Easier !
es.fmuser.org
it.fmuser.org
fr.fmuser.org
de.fmuser.org
af.fmuser.org ->Afrikaans
sq.fmuser.org ->Albanian
ar.fmuser.org ->Arabic
hy.fmuser.org ->Armenian
az.fmuser.org ->Azerbaijani
eu.fmuser.org ->Basque
be.fmuser.org ->Belarusian
bg.fmuser.org ->Bulgarian
ca.fmuser.org ->Catalan
zh-CN.fmuser.org ->Chinese (Simplified)
zh-TW.fmuser.org ->Chinese (Traditional)
hr.fmuser.org ->Croatian
cs.fmuser.org ->Czech
da.fmuser.org ->Danish
nl.fmuser.org ->Dutch
et.fmuser.org ->Estonian
tl.fmuser.org ->Filipino
fi.fmuser.org ->Finnish
fr.fmuser.org ->French
gl.fmuser.org ->Galician
ka.fmuser.org ->Georgian
de.fmuser.org ->German
el.fmuser.org ->Greek
ht.fmuser.org ->Haitian Creole
iw.fmuser.org ->Hebrew
hi.fmuser.org ->Hindi
hu.fmuser.org ->Hungarian
is.fmuser.org ->Icelandic
id.fmuser.org ->Indonesian
ga.fmuser.org ->Irish
it.fmuser.org ->Italian
ja.fmuser.org ->Japanese
ko.fmuser.org ->Korean
lv.fmuser.org ->Latvian
lt.fmuser.org ->Lithuanian
mk.fmuser.org ->Macedonian
ms.fmuser.org ->Malay
mt.fmuser.org ->Maltese
no.fmuser.org ->Norwegian
fa.fmuser.org ->Persian
pl.fmuser.org ->Polish
pt.fmuser.org ->Portuguese
ro.fmuser.org ->Romanian
ru.fmuser.org ->Russian
sr.fmuser.org ->Serbian
sk.fmuser.org ->Slovak
sl.fmuser.org ->Slovenian
es.fmuser.org ->Spanish
sw.fmuser.org ->Swahili
sv.fmuser.org ->Swedish
th.fmuser.org ->Thai
tr.fmuser.org ->Turkish
uk.fmuser.org ->Ukrainian
ur.fmuser.org ->Urdu
vi.fmuser.org ->Vietnamese
cy.fmuser.org ->Welsh
yi.fmuser.org ->Yiddish
1. ARP protocol
Use the ARP protocol to find out the MAC address of the host that changes the IP address without authorization. Before learning the ARP protocol, you need to understand the related concepts of broadcast and broadcast domains.
1.1 Broadcast and Broadcast Domain
When looking for someone in the supermarket, if you don’t know the location of the other party, you need to go to the service desk to find someone through the broadcast. When you know the location of the other party, you can go directly to the other party’s location. This situation also exists in the network. If you don't know the address of the other party, you need to broadcast. That is, broadcast frames are sent; and when the address of the other party is known, the unicast is sent to the other party. Therefore, broadcast communication is a "one-to-all" communication form. The unicast communication is a "one-to-one" communication form. All the range where you hear the broadcast is the broadcast domain. The specific definitions of broadcast and broadcast domains are as follows:
[x] Broadcast: data frame with the broadcast address as the destination address
[x] Broadcast domain: the collection of all nodes in the network that can receive the same broadcast
1.1.1 MAC address broadcast
Broadcast address of MAC address: FF-FF-FF-FF-FF-FF
The broadcast domain of the MAC address is the collection of all connected switches or hubs. If a host sends a MAC address broadcast. Then this broadcast will be forwarded to all ports of all connected switches or hubs. The host that receives the broadcast frame will compare whether the destination IP address in the data frame packet is its own IP address. If it is, continue to process the bearer data in the data packet; if it is not, discard the data.
The switch forwards the MAC address broadcast, and the router blocks the MAC address broadcast.
1.1.2 IP broadcast
The last address of the iP network segment is the broadcast address, that is, the host part is all 1. In the data frame, the destination MAC address is FF-FF-FF-FF-FF-FF, and the destination IP address is the broadcast address of the IP network segment.
2. the principle of routing
The router works at the network layer of the OSI reference model, and its important role is to select the best path for the data packet and finally reach the destination. So how does the router choose the path?
[x] In a network with only one network segment, data packets can easily reach the destination host from the source host. But if a computer wants to communicate with computers on a non-local network segment, data packets may have to pass through many routers. The network segment where Host A and Host B are located is separated by many routers. At this time, the communication between Host A and Host B must pass through these intermediate routers. This requires a very important problem-how to choose the path to the destination.
[x] There are many paths to choose from for a packet from A to B, but it is clear that one of these paths will always be the best (fastest) at a certain moment. Therefore, in order to increase the network access speed as much as possible, a method is needed to determine the best path from the source host to the target host, so as to perform data forwarding. This is routing technology.
2.1 The working principle of the router
For ordinary users, by setting the default gateway on the PC, the computers in the local area network can communicate with the Internet. In fact, the default gateway set on the PC is the IP address of the router's Ethernet port.
If a computer on the LAN needs to communicate with an external computer, just submit the request to the Ethernet port of the router, and the router will complete the next work.
Therefore, it can be said that the router is the transit station of the Internet, and the data packets in the network are forwarded to the destination network through the routers one by one.
So how does the router forward data packets? Just as a person must have a map in his mind if he wants to go to a certain place, there is also a map inside each router, and this map is the routing table.
In this routing table, it contains all the destination network addresses that the router has, and the best path through this router to reach these networks
It is precisely because of the existence of the routing table that the router can efficiently forward data packets.
3. the principle of network data transmission that must be learned in cloud computing
3.1 Under the same network segment (same broadcast domain), the communication process between two hosts
We know that when two hosts want to communicate and transmit data, they must encapsulate the application data into IP packets (because most of our networks are TCP/IP Ethernet), and then hand it over to the next layer of data link layer to continue and encapsulate into Frame; Afterwards, according to the MAC address, the data can be transmitted from one host to another host accurately.
When NO wants to communicate with N1
1) If NO knows the IP of N1 but does not know its MAC address, then NO will send an ARP broadcast request (where the source IP is NO and the destination IP is N1, the source MAC is N0 and the destination MAC is 12 F) to the same All members in the broadcast domain.
2) When the switch SW0 receives this broadcast packet from its 1 interface, it will then read the source MAC address and destination MAC address of the frame. Since the switch SW0 is just powered on, its MAC table is empty. So it will put NO's MAC address corresponding to interface 1 in a table, this table is the MAC address table.
3) SW0 then broadcasts this data frame from other interfaces. When other hosts receive this broadcast, they will discard the packet if they check that the target IP is not their own. If N1 receives this data frame, it checks that the target IP is the same as this IP, and then responds to the ARP request, encapsulating its own IP and MAC into source IP and source MAC. The IP of N0 and the MAC address of N0 are Target IP and target MAC, and record the MAC and IP of N0, and put them in their own ARP cache table.
4) At this time, when the response packet passes through the switch SWO, it will check the source MAC and target MAC, put the MAC of N1 and its own interface 2 into the MAC address table, and then check its own MAC address table, and find that there is a target MAC Corresponding to its own 1 interface (because there was a MAC with N0 recorded at the beginning), then it will directly send this response packet out of interface 1.
5) After host N0 receives this packet and finds that the target MAC is itself, it will process this packet. And put N1's MAC and IP into its own ARP cache table. At this time, the host N0 knows the MAC address of N1,
6) The subsequent data sending task will directly encapsulate the IP and MAC of N1 into the frame for point-to-point transmission.
3.2 Data transmission process across routes (different network segments)
When N0 wants to communicate with N2
1) N0 will first check whether the IP address of N2 and itself are in the same network segment. Since N2 and itself are in different network segments, N0 will send the data packet to its network management, which is the F0/0 interface on R0. .
2) When the packet reaches R0, router R0 will check whether the target IP is its own. Since the target is not its own, it will check its own routing table to find out the route to the N2 network segment; (if it cannot find it, it will Discarded packets)
3) When R0 checks the routing table and finds that the outgoing interface to the N2 network segment is F0/1. So, the data packet is transferred to the F0/1 interface, and then the interface F0/1 is transmitted to R1. In this process, the source of the data packet IP is N0 Source MAC is F0/1 Destination IP is N2 Destination MAC is R1's F0/1 interface IP
4) When R1 receives this data packet, it also checks whether the destination IP of the packet is itself. It will actively look up its own routing table and find that the destination IP is in the same network segment as its own F0/0 interface, so it puts the packet Pass it to the F0/0 interface and send it to N2. )
|
Enter email to get a surprise
es.fmuser.org
it.fmuser.org
fr.fmuser.org
de.fmuser.org
af.fmuser.org ->Afrikaans
sq.fmuser.org ->Albanian
ar.fmuser.org ->Arabic
hy.fmuser.org ->Armenian
az.fmuser.org ->Azerbaijani
eu.fmuser.org ->Basque
be.fmuser.org ->Belarusian
bg.fmuser.org ->Bulgarian
ca.fmuser.org ->Catalan
zh-CN.fmuser.org ->Chinese (Simplified)
zh-TW.fmuser.org ->Chinese (Traditional)
hr.fmuser.org ->Croatian
cs.fmuser.org ->Czech
da.fmuser.org ->Danish
nl.fmuser.org ->Dutch
et.fmuser.org ->Estonian
tl.fmuser.org ->Filipino
fi.fmuser.org ->Finnish
fr.fmuser.org ->French
gl.fmuser.org ->Galician
ka.fmuser.org ->Georgian
de.fmuser.org ->German
el.fmuser.org ->Greek
ht.fmuser.org ->Haitian Creole
iw.fmuser.org ->Hebrew
hi.fmuser.org ->Hindi
hu.fmuser.org ->Hungarian
is.fmuser.org ->Icelandic
id.fmuser.org ->Indonesian
ga.fmuser.org ->Irish
it.fmuser.org ->Italian
ja.fmuser.org ->Japanese
ko.fmuser.org ->Korean
lv.fmuser.org ->Latvian
lt.fmuser.org ->Lithuanian
mk.fmuser.org ->Macedonian
ms.fmuser.org ->Malay
mt.fmuser.org ->Maltese
no.fmuser.org ->Norwegian
fa.fmuser.org ->Persian
pl.fmuser.org ->Polish
pt.fmuser.org ->Portuguese
ro.fmuser.org ->Romanian
ru.fmuser.org ->Russian
sr.fmuser.org ->Serbian
sk.fmuser.org ->Slovak
sl.fmuser.org ->Slovenian
es.fmuser.org ->Spanish
sw.fmuser.org ->Swahili
sv.fmuser.org ->Swedish
th.fmuser.org ->Thai
tr.fmuser.org ->Turkish
uk.fmuser.org ->Ukrainian
ur.fmuser.org ->Urdu
vi.fmuser.org ->Vietnamese
cy.fmuser.org ->Welsh
yi.fmuser.org ->Yiddish
FMUSER Wirless Transmit Video And Audio More Easier !
Contact
Address:
No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620
Categories
Newsletter