IP datagrams contains mac or not ?
Can anyone tell me whether there is MAC address inside Datagram or not ?
If there is no mac, then how do we identify the desired system(receiver) in its network ?
Member • Oct 22, 2010
Member • Oct 22, 2010
Member • Oct 22, 2010
Member • Oct 22, 2010
Suppose my architecture is like thisNOw as your assumption, your ip's are Class B.
Source-->Router1---->Router2----->Destination
Source : 172.19.6.59
172.19.6.1--------Router1----172.17.15.1
172.17.15.64-----Router2-----172.31.1.4
Destination : 172.31.1.6
Assume Mac are : S,R1a,R1b,R2a,R2b,D
Now, i want to send data from 172.19.6.59 to 172.31.1.6
so i want to know how data will travel from S to D.
As i know to move from one node to other it needs H/w address of other device.
Please reply....
Member • Oct 22, 2010
But as i know we need MAC address to deliver packets to a node or system.As you are saying "in between no mac is used".jcksnIn between no mac address is used.
However if we want to trace source then we need to go back in reverse order.
Member • Oct 22, 2010
Member • Oct 25, 2010
I agree with blunder boy, mac addressses are used btn routers since they are on the same network. The source and destination MAC addresses change as the packet is moved from one network to another but the source and destination IPaddresses never change. This is why there is need for both forms of addressing.blunderboyBut as i know we need MAC address to deliver packets to a node or system.As you are saying "in between no mac is used".
I am thinking its wrong.
As router1 (2nd Nic) and Router2 (1st nic) are on same network so to send packet from router1(2nd nic) to router2(1st nic) , there id need of mac of router2(1st nic) by router1(2nd nic)
Tell me if i am wrong.
Member • Oct 25, 2010
Member • Oct 25, 2010
The source MAC will be of itself(the intermediate node) and the destination MAC that of the next hop. But the source IP will be that for the original sender and the destination IP that of the final receiver.blunderboyThanx Guys,
I have understood the concept well why we need both forms of addressing.
Just tell me one more thing when an intermediate node will send the frame to the next hop,
then the source MAC will be of itself or the original sender's MAC.
I mean will the intermediate node change the Source MAC or not ?
I hope the question is clear.