Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Multiple IPs on 1 NIC-How do I forse them to use the same gateway?

05 Jul 2013   #11
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Correct but only if the computer deems that the destination IP is not on its LAN. This would be defined by the subnet mask. Static routes are set on the router/gateway and from the machines perspective it has no knowledge of the routers routing table. If the static route has the subnet mask of 255.255.255.0 or wildcard of 0.0.0.255 then the packet will simply be returned to the LAN at which it came since destination IP address will appear to the router as the same subnet as the source IP address.


My System SpecsSystem Spec
.
05 Jul 2013   #12
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by tripodkid View Post
Unfortunately, as I mentioned earlier, I have no control over the network or the IT dept so making changes to routers etc is just not going to happen. That is why I am looking for a way to manually configure the routing of those IPs within W7 on the laptop. I did try using a class B 255.255.0.0 subnet mask but that did not work.

Thanks!
255.255.0.0 will not work if xxx.xxx is the same across all subnets. When I mean variable length subnet in your case I mean a subnet like the following: 255.255.255.145

THIS IS AN EXAMPLE

You need to have access to the router and other devices on the network in order to apply a new subnet mask. Have contacted your IT department as to what you wish to accomplish? If they knew then they would understand that the subnet mask of 255.255.255.0 will not work



Josh
My System SpecsSystem Spec
05 Jul 2013   #13
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by tripodkid View Post
Unfortunately, as I mentioned earlier, I have no control over the network or the IT dept so making changes to routers etc is just not going to happen. That is why I am looking for a way to manually configure the routing of those IPs within W7 on the laptop. I did try using a class B 255.255.0.0 subnet mask but that did not work.

Thanks!
If you change subnet to 255.255.0.0 ... it thinks ven more ip address are locally (reachable without a router).

If you keep subnet 255.255.0.0 it's fine. All local ip's are found. All other addresses go to defualt gateway.

What router can you reach, and what same router can reach the ip addrress you want?
It's all a routing problem!
My System SpecsSystem Spec
.

05 Jul 2013   #14
tripodkid

Windows 7
 
 

Oh and BTW if I remove the xxx.xxx.200.119 IP from the NIC in the laptop I can communicate with the xxx.xxx.200.100 to 118 IPs. Obviously this is because of the subnet mask seeing that the 3rd octet does not match therefore uses the .242.1 gateway. But without the .200.119 address in the NIC the laptop cant talk to .200.120 and .121 which are local.

The first octet is 170.
My System SpecsSystem Spec
05 Jul 2013   #15
tripodkid

Windows 7
 
 

The first 2 octets are the same for all addresses. This is not my IT dept if it were then this would be easy! It was a real hassle just getting IPs from them!
My System SpecsSystem Spec
05 Jul 2013   #16
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

xxx.xxx.200.y can access xxx.xxx.200.z directly (assuming subnet = 255.255.255.0 and all connected to same switch)
Other addresses got to default gateway, or through another router if some sort of static routing is defined.

The defualt gateway SHOULD know all other subnets, so should find all other ip adresses.

Normally only the default gateway should be defined. Also the ip address and subnet (to find local ip addresses). Normally done using dhcp.
My System SpecsSystem Spec
05 Jul 2013   #17
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

This issue is the subnet mask applied. You could change the subnet mask on your NIC but unless the router has the same subnet mask the routing will fail. The only way I can see this being solved without access to the router would be to change the address of xxx.xxx.200.120 and xxx.xxx.200.121 to the following:

xxx.xxx.242.120 & xxx.xxx.242.121

Josh
My System SpecsSystem Spec
05 Jul 2013   #18
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

You want to acceess xxx.xxx.200.a from xxx.xxx.242.y (subnet 255.255.255.0). Do you know one router that you can access and that can access xxx.xxx.200.a ?
My System SpecsSystem Spec
05 Jul 2013   #19
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
The defualt gateway SHOULD know all other subnets, so should find all other ip adresses.
Only if defined by an Administrator. For example I have a route in my routing table with a subnet mask of 255.255.255.252 also known as /30. This was only known because I statically assigned the ip address and subnet mask to that interface. Even if the OP changed the subnet mask on their NIC the router would not know where to route it the packets to since the subnet mask set for that interface will not be the same as the one set on the NIC.

Multiple IPs on 1 NIC-How do I forse them to use the same gateway?-ip-route.jpg

Multiple IPs on 1 NIC-How do I forse them to use the same gateway?-ip-address.jpg

If you don't have access to the router then all I can suggest is to change the IP address of the two local .200 machines as listed in my previous post I wish there was another way but this is how TCP/IP works

Hope This Helps,
Josh


My System SpecsSystem Spec
05 Jul 2013   #20
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Both source and destination (xxx.xxx.200.y and xxx.xxx.242.z) (both subnet 255.255.255.0) are on another subnet. So it MUST be routed through a router!
My System SpecsSystem Spec
Reply

 Multiple IPs on 1 NIC-How do I forse them to use the same gateway?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Default Gateway not Available
Hey everyone, I have a desktop computer with an Ethernet card, I disconnect every 10-15 minutes most of the time. Sometimes it won't go out for a couple of hours, but every time it's the same routine. I have to click "Troubleshoot Problems" and it always resets my Wireless adapter. I'm a gamer and...
Network & Sharing
Default Gateway not available.
Hi, My laptop is plagued by disconnects citing the default gateway not being available. The other devices within the household are able to connect solidly. My drivers are up to date. I cleared my DNS cache. Here is my readout, any help sorting this out would be appreciated, so thank you for...
Network & Sharing
BSOD Recurrence On Gateway Gateway NV53 -- Will Only Boot In Safe Mode
Windows 7 Home Premium (x64) Service Pack 1 (build 7601) Hello: At the beginning of Sept 2012 I posted a BSOD thread here that was eventually resolved. The situation then, as now, was/is that I received an error about Windows Desktop Manager then went to BSOD. I received some great...
BSOD Help and Support
My default gateway is 0.0.0.0 how do i change my default gateway
to forward a port i typed my default gateway in the browser then i got this pageIP Address Lookup - Home page at the top right corner there was a login field wherei tried to login without having an account i tried .I tried five times and each time i failed.after five times the webpage banned me for...
Network & Sharing
gateway not available please help
i have problems regarding my internet connection. here is the thing. I can connect to the wifi internet but the problem is that in shows limited access. i tried to diagnose the problem but there is a warning that shows GATEWAY NOT AVAILABLE please help guy. I put a picture regarding my...
Network & Sharing
Gateway GT5056
When ever I install windows 7 or even vista on this machine the display acts all funny and flickers uncontrollably. Its fine when running xp but Id really like to run 7 on this thing without having a seizure. Its a gateway gt5056 w/ onboard nvidea 6100, any suggestions?
Drivers


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:05.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App