Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IP Address and default gateway the same

Posted on 2012-12-29
11
Medium Priority
?
307 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

715 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