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

Page 3 of 3 FirstFirst 123

  1. Posts : 6
    Windows 7
    Thread Starter
       #21

    Thank you so much for you help thus far. If I change from .200.120 and .121 to .242.120 and .121 then I will no longer be able to connect to the wireless device that is being moved from the main area of the building (.200.xxx) to the 2nd area (.242.xxx). When I do a tracert from .242.xxx to .200.xx there are four hops the 1st router being the default GW.

    I did have a thought... could I use the hosts file to map 1 IP to another?
      My Computer


  2. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #22

    Kaktussoft said:
    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!
    True and yes that would work but the OP wanted xxx.xxx.242.119 to talk to xxx.xxx.200.120 and .121 which are on the local switch as well as talk to xxx.xxx.200.100 to .118 which are on a different subnet. What I am trying to say and I do apologise if I have caused confusion , is to set a custom subnet mask so that the computer can tell that xxx.xxx.200.100 to xxx.xxx.200.119 is on a separate subnet while xxx.xxx.200.120 and .121 is on the local switch.

    Josh
      My Computer


  3. Posts : 2,298
    Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
       #23

    tripodkid said:
    Thank you so much for you help thus far. If I change from .200.120 and .121 to .242.120 and .121 then I will no longer be able to connect to the wireless device that is being moved from the main area of the building (.200.xxx) to the 2nd area (.242.xxx). When I do a tracert from .242.xxx to .200.xx there are four hops the 1st router being the default GW.

    I did have a thought... could I use the hosts file to map 1 IP to another?
    I would assume so but that is out my area The only issue I could think is that the destination device would also need that ip mapping in their hosts in order to know to send the packets back rather than to its local area network/switch

    If that is the case then any .242.xxx device would also be unable to connect? That would render your address range given by your IT dept useless? If I am missing something please say
      My Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #24

    In order to connect to multiple subnet's with a single NIC without having to type everything in each time you would go into the Advanced TCP/IP settings then list all the different networks, subnets etc. that you require to connect to. You can bind each different subnet to a singular NIC this way.

    You just need to go into the IPv4 properties of the NIC and then go to the Advanced settings and then Add each different network, gateway, subnet etc. add them all one at a time. The picture shows where you can do this. :)
    Attached Thumbnails Attached Thumbnails Multiple IPs on 1 NIC-How do I forse them to use the same gateway?-type-gateway-advanced-tcp-ip.png  
      My Computer


 
Page 3 of 3 FirstFirst 123

  Related Discussions
Our Sites
Site Links
About 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 11:31.
Find Us