Doubt on Network Layer
"Ip address(network address) is just use for transfering informatiom from one network to an other.travelling of information among networks uses ip addresses.
Mac addresses(physical addresses) is actually uses for distrubution of information.so the summay is:-
1) carring of information from one network to another.
2) distrubtion of information(resources) is based upon mac address.
example:-
Network A Network B and Network C are three networks.all network are having 5 nodes(client).if i want to send information to node 3 for network B.
Solution:-
1) first i send infomation to network by the help of IP address of that network(Network B).Ip addresses are unique on network layer(this is the fact).
2)after that it will send infomation to node 3 of network B by the help of mac address which is unique at layer 2(DLL)."
But I have some doubts in this.
1)Do we need network layer to transfer data inside a LAN ?
2)In the solution part of above statements, do we(sending machine) need to know the ip address of both network B and the node (of network B) ? If we don't need to know the ip address of node in network B, how will the router in network B know that it is for that particular client ?
3) After the packet reaches the destination Network B, it is said that "it will send infomation to node 3 of network B by the help of mac address which is unique at layer 2" how does the router(of network B) know the mac address of that node ? does it use rarp ? or does it have a table ?