Networking Forums

Networking Forums > Network Hardware > Network Routers > IP Address is in a different subnet as the gateway address

Reply
Thread Tools Display Modes

IP Address is in a different subnet as the gateway address

 
 
karthik
Guest
Posts: n/a

 
      04-24-2008, 04:42 PM
I am trying a NetGear wireless router at my home. My cable guy has
given the IP address, Subnetmask and gateway as follows:

IP Address: 160.242.152.191
Subnetmask: 255.255.240.0
Gateway: 160.242.128.1

When I give the above settings in my PC for connecting with the modem,
I am successfully able to connect to the Internet, but when I gave the
same in the wireless router settings, i am getting the following
error:

IP Address 160.242.152.191 is in a different subnet as the gateway
address 160.242.128.1

Is there anyway i can resolve this issue?

Thanks a lot for your response.
 
Reply With Quote
 
 
 
 
News Reader
Guest
Posts: n/a

 
      04-24-2008, 06:03 PM
karthik wrote:
> I am trying a NetGear wireless router at my home. My cable guy has
> given the IP address, Subnetmask and gateway as follows:
>
> IP Address: 160.242.152.191
> Subnetmask: 255.255.240.0
> Gateway: 160.242.128.1


When a mask of 255.255.240.0 is applied to 160.242.152.191, it yields
the following:

Network ID: 160.242.144.0
Host Range: 160.242.144.1 - 160.242.159.254
Network Broadcast: 160.242.159.255

The gateway address you have been given (160.242.128.1) is outside the
assignable range (160.242.144.1 - 160.242.159.254) for this network ID
(160.242.144.0).

Your router is correct in its assessment.

Although the default gateway is likely to be "160.242.144.1", it is best
NOT to assume so. You should seek confirmation from your ISP on the
correct default gateway IP address.

>
> When I give the above settings in my PC for connecting with the modem,
> I am successfully able to connect to the Internet, but when I gave the
> same in the wireless router settings, i am getting the following
> error:
>
> IP Address 160.242.152.191 is in a different subnet as the gateway
> address 160.242.128.1
>
> Is there anyway i can resolve this issue?
>
> Thanks a lot for your response.


Best Regards,
News Reader
 
Reply With Quote
 
Ed in Calif
Guest
Posts: n/a

 
      04-30-2008, 01:55 AM
You can't give the same IP addresses to two different computers but I assume
you know that.

If you are using a router you should be using Network Address Translation
(NAT).
With this method your PC's will have addresses like 192.168.1.xxx. These
addresses are assigned
by the DCHP server in the router.

If you want to see your gateway address use 'ipconfig /all' at the windows
command prompt.
This will be a NAT address if you are using a router or something like your
addresses below
if you are not using the router.

See http://en.wikipedia.org/wiki/Wireless_router

Good Luck, Ed

"karthik" <(E-Mail Removed)> wrote in message
news:fe220763-1296-4f83-868b-(E-Mail Removed)...
> I am trying a NetGear wireless router at my home. My cable guy has
> given the IP address, Subnetmask and gateway as follows:
>
> IP Address: 160.242.152.191
> Subnetmask: 255.255.240.0
> Gateway: 160.242.128.1
>
> When I give the above settings in my PC for connecting with the modem,
> I am successfully able to connect to the Internet, but when I gave the
> same in the wireless router settings, i am getting the following
> error:
>
> IP Address 160.242.152.191 is in a different subnet as the gateway
> address 160.242.128.1
>
> Is there anyway i can resolve this issue?
>
> Thanks a lot for your response.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Router does not accept a gateway ip that has a subnet address different from the laptop ip address keethyanandpr@gmail.com Wireless Internet 15 03-18-2007 04:03 PM
How to get default Gateway address, subnet address, DNS names using C/C++ Matrixinline Linux Networking 2 01-11-2007 04:32 AM
DHCP gives client address but no gateway address mheymann Windows Networking 4 06-09-2006 12:29 PM
Subnet and address translation Rajat Linux Networking 0 01-10-2005 04:12 AM
Routing and Off subnet ip address Glenn Windows Networking 2 09-22-2004 11:42 PM



1 2 3 4 5 6 7 8 9 10 11