Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Why do we need to configure a default gateway ?

Avatar of aCp
aCp asked on
NetworkingApple NetworkingDHCP
21 Comments1 Solution1366 ViewsLast Modified:
Hello,

while working on a networking project of mine, I realized that there was something wrong with my (apparently mis)understanding of the routing process.

My problem is that I cannot see WHY do I have to provide my os with a default gateway. I mean, let's say that I'm in a private network with netmask 192.168.0.0/24, my host has the ip 192.168.0.1 and the gateway NAT router is 192.168.0.254. I want to access the webserver with ip address 64.156.132.140. What happens after I hit the GO button of my web browser is an ARP broadcasted request looking the MAC address corresponding to the 64.156.132.140 ip. This request reaches the gateway which is the only one to be able to answer by providing a response with its own MAC address as an answer.

What I don't see is where in the whole process I need the default gateway ? I've tried to figure that out but can't seem to be able to :S...

Thanks in advance for your help...
ASKER CERTIFIED SOLUTION
Avatar of InteraX
InteraXFlag of United Kingdom of Great Britain and Northern Ireland image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 21 Comments.
See Answers