Some additions below:

On Jul 4, 1:30 am, Amit Jaspal <amitjaspal...@gmail.com> wrote:
> Thanks Ashish for this wonderful post....I must say many of my doubts
> regarding networking were cleared....
>
> And I will highly appreciate if any one can add on to this wonderful post by
> ashish..
>
> 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
There is more for network layer to do. All routing algorithms like
shortest path routing, distance vector routing, broadcast routing etc
are impkemented here. If your macine is a part of a lan then the
network layer in that machine may not have the routing table. All it
may do it establish a connection (connection oriented) to the router
in your lan (your IPS provider's router). That router has all the
routing table and knows which is the best path to send packets in the
internet. Here the network layer uses IP protocol which is connection
less. So routing tables are dynamic and packets may follow different
directions.

> >  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
Here again, router does not use routing table to decide on packets
sent by data link layer. Routing table is used by network layer.
> >   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.comin 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.- Hide quoted text -
>
> - Show quoted text -

-- 
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.

Reply via email to