@Ashish: Nice explanation. But does the arp query happen before a segment is formed ?
On Sat, Jul 3, 2010 at 10:42 PM, ashish agarwal < ashish.cooldude...@gmail.com> wrote: > ur browser is a application > which uese aplication layer protocol which is HTTP > But to formulate packet it needs to find out port and mac address and > ip-address to which it wanst to sentd this request > so that it can pass these information to lower layer protocol like TCP > and IP > so, now it sends a DNS query > to find out the host name > then it gets the IP address. > as it is http requets > application knows that host will be listening > at port 80 > all web-servers listens at 80 > this layer only > now it will send data to session layer > which will create a new session. > and all further communication to this server willl hapspen through this > session. > presentation data wont do much other than rerraning the data > data comes to Transport layer > for sendnig the packet it needs to know the destination port > and destination mac-address. > it have information of port which is 80. > but n o idea abt mac-address. > so it willl form a Arp query. > as it know ip address > it will broadcast this packet > as nobody on your netwrok will have this mac-address. > and touter will know that this is in some other network. > so router in your network will respone with his mac-address. > now tranport layer will form segment using these information (TCP > protocol ) > and will send it to network layer > netwrok layer will find out the data size > and will break the data into multiple datagrams if data that needs to be > sent is large > as maximum ethernet size allowed is 1546 bytes > it will have squence number for packets > so that destination can arrange the data in correct order > as it already have infromation about , it has to do nothing much other > than forming datagrma > now datagram is ready. > it will forward this frame to link layer > link-layer will use either 802.1q (most probably) or FDDI or tokeRing > it depends on your link communication > if it is optical link > it will use some other protocol > if it is wireless > 8802.11q > i guess > anyways it will send this packet to link layer > which wil send the packet > your router will get the packet > router has rounit gtabel > from which it will found out which link to forward > liek this it will finally will reach to router to which detination host is > attached > > > On Sat, Jul 3, 2010 at 9:58 AM, Thirupathi reddy Thumma < > thirupathi.thu...@gmail.com> wrote: > >> hai friends sharad was generated an intrested question,iam also intrested >> to know this,plz any one can analyze xplan us, >> thank u >> THIRUPATHI REDDY >> M.Sc-MATHEMATICS,M.Tech(CSE) >> ASST PROF IN MATHEM ATICS >> AURORA,S ENG COLLEGE,HYD >> >> >> On Sat, Jul 3, 2010 at 8:54 AM, sharad kumar <sharad20073...@gmail.com>wrote: >> >>> explain in detail what happens in all d 7 layers of osi model when u type >>> www.google.com in ur browser >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to algoge...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algoge...@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.