edited by
489 views
0 votes
0 votes

When echo request is sent ,then internally "ARP request"is generated  for "getting destination MAC " , but what is the need of destination MAC ,if the IP assigned for every host is already unique ! The reply whatever is sent after getting the dest. MAC that can be sent without knowing MAC also ...??? Please clear this doubt

edited by

2 Answers

1 votes
1 votes

Echo Request message is actually a ICMP Packet which is a Network Layer Protocol.Let station A sends Echo request at Network layer of A  to station B (its network layer).So A need to have B's MAC address (using ARP request) because when A sends this ICMP request it is unwrapped at A's DataLink Layer(here A's datalink layer must knows the datalink address of B which is MAC address of B) and furthur unwrapped at A's physical layer and then is send to B's physical layer then upper to B's Datalink layer and then upper to B's network layer which is its destination.the response message follows same procedure to send Response message to A's Network layer.

Note-:Each layer need to know each layer address respectively to connect to each other as TCP/IP follows peer to peer connection.

0 votes
0 votes
IP layer addressing which is hierarchical routing works  only if its inter-network routing. IP addressing doesnt work within the same network.

The reason is because:

1) legacy. MAC addresses were used primarily for addressing within the same network.

2) Lets say you try to identify a host by IP address. But before that packet passes to network layer, it will be discarded by the data link layer. So, the arrangement of layers is another reason.

Thats why even if we use IP, we need MAC addresses on top of it.

Related questions

708
views
1 answers
0 votes
bts asked Jun 18, 2018
708 views
Which statement is false?PING is a TCP/IP application that sends datagrams once every second in the hope of an echo response from the machine being PINGEDIf ... the time of the return response in milliseconds or one of several error message
468
views
1 answers
0 votes
328
views
0 answers
0 votes
Hardik Vagadia asked Jan 21, 2019
328 views
Examine the structure of the EMPLOYEES table:EMPLOYEE_ID NUMBER Primary KeyFIRST_NAME VARCHAR2(25)LAST_NAME VARCHAR2(25)Assume all the following four statements are executed in ... make primary key value as NuLL. But isn't S4 also invalid?
285
views
0 answers
0 votes