Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-20-2006, 01:55 PM   #1
Baseband Member
 
Join Date: Sep 2005
Posts: 29
Default Default Gateway Question?

I understand what a default gateway is but what exactly is it used for. For example, i have a router and two pc's on my network, and I was wondering what is the purpose of it?
__________________

gabel1 is offline   Reply With Quote
Old 02-20-2006, 03:56 PM   #2
In Runtime
 
shouup's Avatar
 
Join Date: Dec 2004
Posts: 315
Default Re: Default Gateway Question?

A gateway translates protocols between networks. Think of it as an interpreter. This is also the same address that you will use to connect to the internet (or to other networks).
__________________

__________________
CCNA certified
Net+ Certified
A+ Certified
Windows 9x, ME, 2000 and XP certified
Wireless Network Specialist
shouup is offline   Reply With Quote
Old 02-21-2006, 11:26 AM   #3
Daemon Poster
 
pctechmike's Avatar
 
Join Date: Jan 2006
Posts: 836
Send a message via AIM to pctechmike Send a message via MSN to pctechmike
Default Re: Default Gateway Question?

The purpose of the gateway is for both of your PCs to connect to the Internet. Your default gateway is unseen by the rest of the world. Routers will have two IPs, one as the default gateway (which should be a 192.xx number) and another IP address on the other side (the part that connects to the Internet- provided by your ISP) Without a default gateway, your computers will not know where to go to get on the Internet- that's it's purpose.
__________________
Pctechmike
www.adequateitsolutions.com
Please Add To My Rep If I Helped You
pctechmike is offline   Reply With Quote
Old 02-21-2006, 12:37 PM   #4
In Runtime
 
shouup's Avatar
 
Join Date: Dec 2004
Posts: 315
Default Re: Default Gateway Question?

Quote:
Originally Posted by pctechmike
The purpose of the gateway is for both of your PCs to connect to the Internet. Your default gateway is unseen by the rest of the world. Routers will have two IPs, one as the default gateway (which should be a 192.xx number) and another IP address on the other side (the part that connects to the Internet- provided by your ISP) Without a default gateway, your computers will not know where to go to get on the Internet- that's it's purpose.
That is not entirely correct. Most network books refer to it as a "interpreter" more then how you get to the internet. For most people, yes it just routes you to the internet, but if you run multiple protocols then it servers more then just that 1 function.
__________________
CCNA certified
Net+ Certified
A+ Certified
Windows 9x, ME, 2000 and XP certified
Wireless Network Specialist
shouup is offline   Reply With Quote
Old 02-21-2006, 01:44 PM   #5
Daemon Poster
 
pctechmike's Avatar
 
Join Date: Jan 2006
Posts: 836
Send a message via AIM to pctechmike Send a message via MSN to pctechmike
Default Re: Default Gateway Question?

I was generalizing.....
The purpose of a gateway address is just that, it serves as a gateway for your computers to connect to the Internet, or other computers on your network. Routers on the market are capable of much more than just serving as a gateway to the Internet, I'm intimately familure with this. In your initial post, you said:

This is also the same address that you will use to connect to the internet (or to other networks).

I have to somewhat disagree, unless I'm not getting what you're trying to teach meWhile the gateway address does allow you to get to the Internet, no one on the Internet is able to see this address, because of NAT. (for the original poster)In simplest terms, the router takes information from your PC(s), sends it through the gateway, and NAT (Network Address Translation) "hides" your internal IP address from the rest of the world. If you go to a Web site, on both computers, those servers are only going to see one IP address, the IP address that your ISP gives you (either from DHCP, or Static).
I'm not certified, and do not claim to be a Network guru, but I have been around enough to know how to setup routers, and what there functions are. For the purpose of the debate, and this has become off topic, we've given the original poster more than what he asked for, I explained what a gateway was in terms anyone can understand. I just didn't feel that the original poster would gain anything from reading the initial post you made, as it was pretty general also. I don't want a debate, but if you want to PM me, you can- we could learn something from each other
__________________
Pctechmike
www.adequateitsolutions.com
Please Add To My Rep If I Helped You
pctechmike is offline   Reply With Quote
Old 02-21-2006, 02:04 PM   #6
In Runtime
 
shouup's Avatar
 
Join Date: Dec 2004
Posts: 315
Default Re: Default Gateway Question?

He did ask what a gateway was and you did not give him the complete explination so i expanded upon it. I did word it wrong though, i apologize. the gateway is the address to the port on the router that you connect through to get on the internet.
__________________
CCNA certified
Net+ Certified
A+ Certified
Windows 9x, ME, 2000 and XP certified
Wireless Network Specialist
shouup is offline   Reply With Quote
Old 02-22-2006, 11:26 AM   #7
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: Default Gateway Question?

think of your default gateway somewhat like your front door... it's the place you have to go through to get to the outside world... and the place the outside world has to come into for your to see it...

yet you can have other gateways, somewhat like having a front door and a back door... both can work just as well...

(so established a gateway is a place for communications to come and go)


Some gateways literally act as a point of contact with the outside world, (that is to say that you can have multiple public addresses going onto the outside world. and those multiple public addresses can be responded to individually.

Other gateways (like you have at home where you only have one public address), act more like secerataries. this is called Network Address Translation (NAT), NAT has the job of sending out messages as IP packets with a single return address, and then sorting those packets and sending them back to the correct machines when they are responded to...
like a secratary will seal and send envelopes to different businesses, and then make sure the correct person get the correct response letter.

Gateways can translate between different protocols, for instance, a gateway can translate informaition on an TCP/IP network to information on a NetBUI based network, think of network protocols as different languages, some people can speak one languae only some can speak two... computer can speak as many as you like provided you have the right stuff installed.

Gateways can work to translate information to either different mediums, (eg copper - fibre).

Lastly some gateways will have a built in firewall. this will help keep nasty things out, and depending on how it set up, can also help nasty things that are inside getting to the outside.


not at all exhaustative... but I hope a nice simple explenation of what it is that a gateway does.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 02-22-2006, 12:04 PM   #8
In Runtime
 
shouup's Avatar
 
Join Date: Dec 2004
Posts: 315
Default Re: Default Gateway Question?

Quote:
Originally Posted by root
think of your default gateway somewhat like your front door... it's the place you have to go through to get to the outside world... and the place the outside world has to come into for your to see it...

yet you can have other gateways, somewhat like having a front door and a back door... both can work just as well...

(so established a gateway is a place for communications to come and go)


Some gateways literally act as a point of contact with the outside world, (that is to say that you can have multiple public addresses going onto the outside world. and those multiple public addresses can be responded to individually.

Other gateways (like you have at home where you only have one public address), act more like secerataries. this is called Network Address Translation (NAT), NAT has the job of sending out messages as IP packets with a single return address, and then sorting those packets and sending them back to the correct machines when they are responded to...
like a secratary will seal and send envelopes to different businesses, and then make sure the correct person get the correct response letter.

Gateways can translate between different protocols, for instance, a gateway can translate informaition on an TCP/IP network to information on a NetBUI based network, think of network protocols as different languages, some people can speak one languae only some can speak two... computer can speak as many as you like provided you have the right stuff installed.

Gateways can work to translate information to either different mediums, (eg copper - fibre).

Lastly some gateways will have a built in firewall. this will help keep nasty things out, and depending on how it set up, can also help nasty things that are inside getting to the outside.


not at all exhaustative... but I hope a nice simple explenation of what it is that a gateway does.

You realize all this was already posted in this thread?
__________________
CCNA certified
Net+ Certified
A+ Certified
Windows 9x, ME, 2000 and XP certified
Wireless Network Specialist
shouup is offline   Reply With Quote
Old 02-24-2006, 08:37 AM   #9
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: Default Gateway Question?

yes.. I do... but it wasn't put as simply as that... I though that rather simplifed version, combining both of your posts might help someone who didn't understand the basic functions of the gateway adderess...
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:29 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0