Solved

IP Address and default gateway the same

Posted on 2012-12-29
11
298 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

786 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