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   #1

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

Hi there!

I would really appreciate some help using Windows 7 to route some IPs.

I need to use and move a wireless device, that is a part of a larger system, from one area of a large establishment to another and back again using two different networks. The device has a static IP of xxx.xxx.200.119. This address can't change or be dynamically assigned.

In the main area of a large building the device has to communicate with IPs xxx.xxx.200.100 to xxx.xxx.100.118. This is the only wireless device and it connects to the other IPs through an access point, that's not a router, with a wired IP of xxx.xxx.200.113 and the SSID is Room1. The subnet mask is 255.255.255.0 and the gateway is xxx.xxx.200.1.

The device can and will be re-registered, using a docking station, to operate in a completely different area of the building. In the second area it has to communicate with IPs xxx.xxx.200.119, .120 and .121. Here the access point has a wired IP of xxx.xxx.200.120 and SSID of Room2, again it is not a router. When the device is re-registered only the SSID of the access point, to which it needs to connect, is changed.

xxx.xxx.200.119 is a laptop which is connected to the second AP with IP of .120 . All of the above functionality is configured and works fine but here is my problem...

In the second area of the building the IP address that the IT dept has given me is xxx.xxx.242.211. Subnet mask is still 255.255.255.0 and the gateway is, you guessed it, xxx.xxx.242.1. So I figured no problem I'll just assign both the xxx.xxx.200.119 and xxx.xxx.242.211 to the NIC in the laptop. But this does not work because the laptop then thinks that the IP's xxx.xxx.200.100 to .118 are local and therefore does not use a gateway so I loose communication with them. Therefore, what I think I need to do is find a way to route those IP's through the .242.1 gateway.

Sorry for the long winded description!!! Many thanks in advance for any help given!!!


My System SpecsSystem Spec
.

05 Jul 2013   #2

Microsoft Community Contributor Award Recipient

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

Your department has to configure the correct router settings on their router.
My System SpecsSystem Spec
05 Jul 2013   #3

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by tripodkid View Post
Hi there!

I would really appreciate some help using Windows 7 to route some IPs.

I need to use and move a wireless device, that is a part of a larger system, from one area of a large establishment to another and back again using two different networks. The device has a static IP of xxx.xxx.200.119. This address can't change or be dynamically assigned.

In the main area of a large building the device has to communicate with IPs xxx.xxx.200.100 to xxx.xxx.100.118. This is the only wireless device and it connects to the other IPs through an access point, that's not a router, with a wired IP of xxx.xxx.200.113 and the SSID is Room1. The subnet mask is 255.255.255.0 and the gateway is xxx.xxx.200.1.

The device can and will be re-registered, using a docking station, to operate in a completely different area of the building. In the second area it has to communicate with IPs xxx.xxx.200.119, .120 and .121. Here the access point has a wired IP of xxx.xxx.200.120 and SSID of Room2, again it is not a router. When the device is re-registered only the SSID of the access point, to which it needs to connect, is changed.

xxx.xxx.200.119 is a laptop which is connected to the second AP with IP of .120 . All of the above functionality is configured and works fine but here is my problem...

In the second area of the building the IP address that the IT dept has given me is xxx.xxx.242.211. Subnet mask is still 255.255.255.0 and the gateway is, you guessed it, xxx.xxx.242.1. So I figured no problem I'll just assign both the xxx.xxx.200.119 and xxx.xxx.242.211 to the NIC in the laptop. But this does not work because the laptop then thinks that the IP's xxx.xxx.200.100 to .118 are local and therefore does not use a gateway so I loose communication with them. Therefore, what I think I need to do is find a way to route those IP's through the .242.1 gateway.

Sorry for the long winded description!!! Many thanks in advance for any help given!!!


It would seem that you need variable subnet masks in order to complete this action. Are you able to produce a network topology to better understand your configuration? What subnet masks are you currently using?

Josh
My System SpecsSystem Spec
.


05 Jul 2013   #4

Windows 7
 
 

Unfortunately I have no control over the network or the IT dept. All subnet masks are 255.255.255.0
My System SpecsSystem Spec
05 Jul 2013   #5

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Unless you can change it you can't set the device (xxx.xxx.200.119) to communicate with xxx.xxx.200.100 to xxx.xxx.200.118 unless you set a custom subnet mask.

255.255.255.0 means the computer will check the IP address it wants to communicate to with the 255 octet. If it is a match then it will move to the next. If that is a match then it will move to the next octet. If all 3 octets are the same then the devices IP address will send out a broadcast since it thinks the device is on its LAN. 0 = Host

A variable length subnet mask will tell the machine that xxx.xxx.200.100 to 118 is not on its LAN therfore it will contact it's default gateway to route the packets to its appropriate destination.

Are you using public or private IP addresses for these devices? In other words is the first octet one of the following?

192.168.xxx.xxx
10.xxx.xxx.xxx
172.16.xxx.xxx - 172.31.xxx.xxx
169.254.xxx.xxx

Josh
My System SpecsSystem Spec
05 Jul 2013   #6

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

In addition if you do change the subnet mask then you will need to change it on all routers and devices which need access to xxx.xxx.200.100 to xxx.xxx.200.118
My System SpecsSystem Spec
05 Jul 2013   #7

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 I have no control over the network or the IT dept. All subnet masks are 255.255.255.0
How will you find the other subnet? Answer: through a router. Tell me what router knows where to find it (or kknows the route to find it)
My System SpecsSystem Spec
05 Jul 2013   #8

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
Quote   Quote: Originally Posted by tripodkid View Post
Unfortunately I have no control over the network or the IT dept. All subnet masks are 255.255.255.0
How will you find the other subnet? Answer: through a router. Tell me what router knows where to find it (or kknows the route to find it)
I think the issue is that the computer itself isn't contacting the router to find it since the subnet mask tells the computer that it is on it's LAN therefore it sends out a broadcast to try and find it which of course is failing.
My System SpecsSystem Spec
05 Jul 2013   #9

Microsoft Community Contributor Award Recipient

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

Your computer has an ip address and defaultgateway... either by dhcp or static. All ip addresses in subnet are found directly. Other addresses are transfered to default gateway. Unless you define static routes
My System SpecsSystem Spec
05 Jul 2013   #10

Windows 7
 
 

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 Windows 7 on the laptop. I did try using a class B 255.255.0.0 subnet mask but that did not work.

Thanks!
My System SpecsSystem Spec
Reply

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




Thread Tools



Similar help and support threads for2: Multiple IPs on 1 NIC-How do I forse them to use the same gateway?
Thread Forum
Default Gateway Not Available. Network & Sharing
BSOD Recurrence On Gateway Gateway NV53 -- Will Only Boot In Safe Mode BSOD Help and Support
My default gateway is 0.0.0.0 how do i change my default gateway Network & Sharing
Solved gateway not available please help Network & Sharing
Solved temperature in my Gateway?!!! Hardware & Devices
Default Gateway Not Available Network & Sharing
Gateway GT5056 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 12:17 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33