Solved

IP Address and default gateway the same

Posted on 2012-12-29
11
300 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 29

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 29

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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 29

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
 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

735 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