Welcome to Firewall.cx   Cisco Technical Knowledgebase
Modules
· Home
· Alternative Menu
· Amazon
· Cisco Decrypter
· Cisco Lab Partners
· Feedback
· Forums
· Max Arcade
· Private Messages
· Recommend Us
· Statistics
· Stories Archive
· Submit News
· Surveys
· Topics
· Web Links
· Your Account
 
Cisco Knowledgebase Articles
 
Site Info
Your IP: 38.107.191.112

Welcome, Anonymous
Nickname
Password

· Register
· Lost Password
Server Date/Time
8 September 2010 21:44:07 EEST (GMT +3)
 
Top Downloads
 
Gold Lab Partners


 
Firewall.cx: Forums

Firewall.cx :: View topic - What happens when we type http://www.google.com
Forums Home
Forum FAQ :: Search :: Memberlist :: Usergroups
Profile :: Log in to check your private messages :: Log in

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
pradeepvu
New Member
New Member


Joined: Dec 28, 2009
Posts: 16
Location: India

PostPosted: Mon May 24, 2010 1:01 pm    Post subject: What happens when we type http://www.google.com Reply with quote

What happens when we type http://www.google.com. Can anyone please provide me the step by step process.
Back to top
View user's profile Send private message
Chris
Founder & Senior Editor


Joined: May 25, 2002
Posts: 1238
Location: Thessaloniki, Greece

PostPosted: Mon May 24, 2010 1:24 pm    Post subject: Reply with quote

Pradeepvu,


In a very compact step-by-step, here's the procedure. Let's assume you typed: www.cisco.com:

1) Your PC will need to resolve www.cisco.com to an IP address. It will therefore need to send a query to your DNS server ( usually your ISP's DNS).

2) The Pc constructs a DNS query packet with a destination IP address equal to your DNS server and a destination MAC address of your router (gateway).

3) The DNS query process begins. This is explained in much detail on our DNS page: http://www.firewall.cx/dns-resolution.php

4) Once your PC (web browser application) receives the IP address of the destination web server, it will construct a HTTP GET request and send it to Cisco's web server.

5) Cisco's Web server will reply and start sending your application the necessary data using TCP sessions. These sessions are again explained in great detail in our TCP protocol analysis: http://www.firewall.cx/tcp-quick-overview.php

6) The application will start to draw and present the website on your screen.

Of course, between all the above data exchanges, the packets that run in your local network have their destination and source mac addresses set to the relevant local machines (your pc and router).

Hope that helps!

Cheers.
_________________
Chris Partsenidis.
Founder & Senior Editor
http://www.firewall.cx
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
KiLLaBeE
Addicted Member
Addicted Member


Joined: Jul 13, 2004
Posts: 453
Location: USA

PostPosted: Tue May 25, 2010 1:51 am    Post subject: Reply with quote

Just whatever you do, don't type google into Google...you can break the Internet Razz

Source:
http://www.youtube.com/watch?v=5oCHxB8d20s
Back to top
View user's profile Send private message
Chris
Founder & Senior Editor


Joined: May 25, 2002
Posts: 1238
Location: Thessaloniki, Greece

PostPosted: Tue May 25, 2010 2:29 am    Post subject: Reply with quote

KiLLaBeE - hahaha good one mate !!!! 50 points to KiLLaBeE!
_________________
Chris Partsenidis.
Founder & Senior Editor
http://www.firewall.cx
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Nevins
Enthusiastic Member
Enthusiastic Member


Joined: Jan 26, 2010
Posts: 217

PostPosted: Tue May 25, 2010 3:37 am    Post subject: Reply with quote

Chris,

I agree with everything you said so I'm just going to copy it and add to it.

In a very compact step-by-step, here's the procedure. Let's assume you typed: www.cisco.com:

1) Your PC will need to resolve www.cisco.com to an IP address. It will therefore check need to your computers local host file and if it doesn't find the IP address (which it generally does not unless you put it there) it will send a query to your DNS server ( usually your ISP's DNS).

Your host file can be located at: C:\winnt\system32\drivers\etc
if you are on a windows system. It looks like this:

Image

After checking the host file and finding nothing USER enabled DNS settings will be checked. If none are found it defaults to your ISP'S DNS service.

Image


2) The Pc constructs a DNS query packet with a destination IP address equal to your DNS server and a destination MAC address of your router (gateway).

3) The DNS query process begins. This is explained in much detail on our DNS page: http://www.firewall.cx/dns-resolution.php

4) Once your PC (web browser application) receives the IP address of the destination web server, it will construct a HTTP GET request and send it to Cisco's web server.

5) Cisco's Web server will reply and start sending your application the necessary data using TCP sessions. These sessions are again explained in great detail in our TCP protocol analysis: http://www.firewall.cx/tcp-quick-overview.php

6) The application will start to draw and present the website on your screen.

Of course, between all the above data exchanges, the packets that run in your local network have their destination and source mac addresses set to the relevant local machines (your pc and router).
Back to top
View user's profile Send private message
shwetashree
New Member
New Member


Joined: Jun 27, 2010
Posts: 1

PostPosted: Sun Jun 27, 2010 5:16 pm    Post subject: Reply with quote

This is really helpful but can anyone tell me what exactly happens in transport and network layer when GET request is sent
Back to top
View user's profile Send private message
JamieP
Occasional Member
Occasional Member


Joined: Jun 04, 2010
Posts: 54

PostPosted: Mon Jun 28, 2010 12:02 am    Post subject: Reply with quote

the same as when any other packet is sent, the network and transport layer really dont care what TCP packet type or HTTP requests they are sending, its all payload to them.

best tip if you want to see how packetflows work is download wireshark, and look at the packets, a bit of playing and you can get it to follow TCP conversations, and see all you syns and acks etc...
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




smartDark Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group
 
Forums ©

© Copyright 2000-2010 Firewall.cx - All Rights Reserved

Copyright of all documents and images belonging to this site by Firewall.cx. Information contained on this site is copyrighted material.

It is illegal to copy or redistribute this information in any way without the written consent of Firewall.cx


Firewall.cx disclaims any responsibility for software and information obtained through this site or its links.


Page Generation: 0.37 Seconds