C
C
chincharovpc2019-12-20 12:40:05
Network routing
chincharovpc, 2019-12-20 12:40:05

From one IP to send a packet to another?

5dfc95c8bd1b5047381492.jpeg

From IP A, you need to send a packet to IP B if
IP A, IP B, MAC A, IP R are known

Please answer these questions, I don't understand
  1. How to see if A and B are in the same network?
  2. How to find out from a MAC R router?
  3. How does the router know who to send the packet to if only IP B is known?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2019-12-20
@Tabletko

Static Routing

D
DDwrt100, 2019-12-20
@DDwrt100

1) A and B are in different networks, this is indicated by the fact that they are in different vlans.
2) the question is not entirely clear. who owns R?
3) sends arp request("who has ip address B here")

V
vreitech, 2019-12-20
@fzfx

1. Apply a bitwise "AND" to the subnet mask and IP A, and to the subnet mask and IP B; compare result. If the result is the same - A and B are in the same network.
2. Send a broadcast ARP request to the network with the appropriate question.
3. You only know IP B, and the router knows its routing table, which it uses when resolving such issues.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question