Solved

IP Address and default gateway the same

Posted on 2012-12-29
11
295 Views
Last Modified: 2014-02-22
Hi Everyone,
I have encounter a small issue here. I recently requested a static IP from my Interent provider. when my router receive the IP address it configure the gateway to the same address. I am just wondering how does it work.
so in simple
ip address = default gateway.


how does it work ?
0
Comment
Question by:s_inderjit
  • 5
  • 3
  • 3
11 Comments
 
LVL 28

Expert Comment

by:becraig
ID: 38730142
Here is a simple overview:
http://en.wikipedia.org/wiki/Default_gateway

In short however the dfgw is set by the network admin for a specific subset of addresses.
That will be the address to the device that allows access to the network.

If you need more information there are lots of resource on the internet on TCP/IP networking.
0
 

Author Comment

by:s_inderjit
ID: 38730200
thanks for your reply but my question remains unanswered. how can ip address be equal to default gateway.
0
 
LVL 28

Expert Comment

by:becraig
ID: 38730227
In re-reading your question you just want to know what the gateway you see on your at home router represents  ?
0
 
LVL 28

Expert Comment

by:becraig
ID: 38730259
In re-reading your question you just want to know what the gateway you see on your at home router represents  ?

If so there should be no way in a best practice environment for both to be the same.

First there are two gateways in your home network:

1. your default gateway for your home router if you notice the ip assigned to your computer is not the same as the dfgw which is the ip of the router (the address you put in browser to access that node)

2. The dfgw from the ISP side is set from the ISP and an address assigned to the device they provided you, this ip in turn points to it's own dfgw which is the node / device at the ISP that routes your traffic to the internet - This is a value which you cannot modify

Second it would be a good idea to read on how ip networks work.

Run ipconfig /all on your computer for e.g. and you will see the ip address and gateway are never the same.

What I suspect is happening here is that your home network is pointing to the ISP ip as the default gateway and the isp device has an address assigned which your router is using as a dfgw to route traffic to the internet.
0
 
LVL 32

Expert Comment

by:_
ID: 38730284
Because the router IS your Gateway. So whatever they assign your router, that's also the Gateway.
It should also be your DHCP Server, if you are using dynamic for the rest of the network.

The DNS Server should be the addys the ISP uses.

Your computer addy should be different.

ipconfig /all
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:s_inderjit
ID: 38754186
looking at the screenshot above, my ip address and default gateway are same. how come an ip address and default gateway be the same.

cheers
0
 
LVL 32

Expert Comment

by:_
ID: 38755479
hmmm... in that case, it would seem a setting is wanky somewhere.
When you changed the modem setting to Static from Obtain, did you change any other settings?

A brief description of your setup might help. Also Make/Model of the equipment.
eg: modem > router > pc, or modem/router > pc, or modem/router > router > pc, etc.
0
 

Author Comment

by:s_inderjit
ID: 38757626
since i asked my ISP to give me a static ip, Even though i have set my router to obtain the ip from DHCP, it always picks the same ip and same gateway. I have a static IP now ( get the same ip everytime) but my gateway is also the same (default gateway = my static IP). I can access internet and everything works fine but i am just curious to understand the technology. I think it a kind of a technology to save IP address cause otherwise standard point to point connection requires atleast two ip.

I think it is something to do with tunneling.
anyone out, who can explain, please ???
0
 
LVL 32

Expert Comment

by:_
ID: 38757739
>> (default gateway = my static IP)

As already stated, the IP address provided by your ISP, and the Gateway, should be the same.

What I don't get is why your computer address is the also the same.
Still waiting for a hardware description of the network to see if that helps.

Can you post a screenshot of ipconfig /all ?
0
 

Accepted Solution

by:
s_inderjit earned 0 total points
ID: 39866002
this is a special configuration which creates a vpn to save the ip addresses ...
0
 

Author Closing Comment

by:s_inderjit
ID: 39878970
checked with the vodafone new zealand ... explained to me
0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now