Solved

IP Address and default gateway the same

Posted on 2012-12-29
11
303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

617 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