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: Static Routes - Create or Remove

18 May 2014   #20
arisandy

Windows 7 64 bit
 
 

thank you josh, i apreciate it.

but on my laptop im use windows 7 64 bit not a ubuntu.

i can find tutorial (google) ip forward and masquerade on ubuntu, but on windows?
can i fix it?

many thanks josh


My System SpecsSystem Spec
.
19 May 2014   #21
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Hmmm... Routing for Windows is normally a server side role installed. As for client side routing the only native application I can think of is ICS. When picking the interface to share, make sure you pick the one that is connecting to the VPN server (10.0.0.10)

Internet Connection Sharing - Enable

If you do this on your LAN you may have some conflicts. See how it goes and if it doesn't work I'll try and see if a third party solution could be used to complete your desired task

Hope This Helps,
Josh
My System SpecsSystem Spec
19 May 2014   #22
arisandy

Windows 7 64 bit
 
 

okey Josh, i have tried it and i can access all vpn ip from my computer.

but a is there any different better than using ICS? software gateway or something.

oh, i ever try squid for windows and i can access all ip vpn through proxy. but the messenger cannot through proxy .

Many thank you Josh.
My System SpecsSystem Spec
14 Jul 2015   #23
ammoun

Windows 7 Ultimate x86 in VMware Fusion 3 virtual machine on MACBook Pro
 
 
3 adapters for a LAN and a WAN

Hi guys,
I am not sure anyone is still looking at this post but I need some help and I am writing here hoping someone is out there.

I have a network of 3 computers that I need connected to each other on two separate networks (adapters) so two programs can exclusively use one adapter each in a closed LAN of the 3 computers only and they need to be with set IP addresses.

I also want the 3 computers to connect to the internet on a 3rd adapter (built-in NIC adapter) that is connected to my home network in-turn connected to the internet.

On each PC (Win7 x64) I plan on installing a dual port PCI-e Ethernet card so I can get the 2nd and 3rd adapters to be used for the closed LAN, if this will work!

If my home network is configured with a router 192.168.1.1 for internet use, and I need two more closed networks for the 3 PCs to have 10.0.0.x/y/z(3) and 10.0.1.x/y/z(3), I would like to know the following:

1. Is such a setup possible and will the PCs with Win7 see and accept 3 adapters?
2. How do I program these adapters?

Kindly note I am a newbie when it comes to networking!

I would appreciate any help anyone can provide.

Thanks in advance.
Ammar387
My System SpecsSystem Spec
.

14 Jul 2015   #24
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by ammoun View Post
Hi guys,
I am not sure anyone is still looking at this post but I need some help and I am writing here hoping someone is out there.

I have a network of 3 computers that I need connected to each other on two separate networks (adapters) so two programs can exclusively use one adapter each in a closed LAN of the 3 computers only and they need to be with set IP addresses.

I also want the 3 computers to connect to the internet on a 3rd adapter (built-in NIC adapter) that is connected to my home network in-turn connected to the internet.

On each PC (Win7 x64) I plan on installing a dual port PCI-e Ethernet card so I can get the 2nd and 3rd adapters to be used for the closed LAN, if this will work!

If my home network is configured with a router 192.168.1.1 for internet use, and I need two more closed networks for the 3 PCs to have 10.0.0.x/y/z(3) and 10.0.1.x/y/z(3), I would like to know the following:

1. Is such a setup possible and will the PCs with Win7 see and accept 3 adapters?
2. How do I program these adapters?

Kindly note I am a newbie when it comes to networking!

I would appreciate any help anyone can provide.

Thanks in advance.
Ammar387
Hi ammoun,

What you are asking for is completely possible

You wouldn't need static routes to create it though. Static routes has a niche application for environments that have either multiple routers or is used on Multicast networks for content delivery servers (such as ones for netflix etc...).

In networking we have something called a subnet mask that is used to determine whether or not a PC needs to go through a router in order to reach the destination. Since you are plugging these PCs up directly to each other with multiple NICs (Network Interface Cards) then this won't be an issue.

For example, my current laptop has multiple NICs and all the routing is done based on local subnets and one NIC setup with a gateway for internet access.

Static Routes - Create or Remove-capture.png

What you are asking for is exactly how virtual environments work where you want to logically separate your virtual machines from each other while still allowing internet connectivity for them.

If you can draw up and show how you are connecting your computers up (Maybe through a screenshot?) then I can walk you through the steps needed to setup addressing accordingly.

Best Regards,

Josh


My System SpecsSystem Spec
15 Jul 2015   #25
ammoun

Windows 7 Ultimate x86 in VMware Fusion 3 virtual machine on MACBook Pro
 
 

Thank u dear Josh.
I will draw what I want to do and attach it here in a few hours.
I appreciate your help offer :-)
Bless u.
My System SpecsSystem Spec
15 Jul 2015   #26
ammoun

Windows 7 Ultimate x86 in VMware Fusion 3 virtual machine on MACBook Pro
 
 
Three networks sketch

Dear Josh,
I just did a hand sketch as shown below. Excuse me but I cannot draw better

I am not sure with fixed IP addresses on each PC if I need to connect the PCs to routers, but I can do that.

The router #1 network will be my home network connected to the internet.

Routers #2 and #3 are the two extra networks I want to set up with fixed IP addresses for each PC.

I want to run WidevieW and WideTraffic (for flight simulator) on all three PCs and each program on a separate network (10.0.0.2/3/4 and 10.0.1.2/3/4).

I have not yet set this up, I am waiting to know if it is doable and how to do it so I can buy the PCI-e dual port (or even with four ports) cards for the PCs.

Thanks.
Ammar33353842


Attached Images
Static Routes - Create or Remove-three-networks.jpeg 
My System SpecsSystem Spec
30 Aug 2015   #27
Callender

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

Re: Block Microsoft spying and Windows 10 upgrade updates.

I have removed all Windows 10 upgrade updates from Windows 7 and in particular these are of concern:

Telemetry and Data Collection are coming to Windows 7 and Windows 8 too

Now Static Routes isn't something that I am familiar with but I see that someone has written a script here:

Stop Windows Spying - BlockWindows.bat

Note   Note
It is not recommended for users to run this script.


Do you have any comments on the following lines contained in the script?

Code:
70	route -p add 23.218.212.69 MASK 255.255.255.255 0.0.0.0
71	route -p add 65.55.108.23 MASK 255.255.255.255 0.0.0.0
72	route -p add 65.39.117.230 MASK 255.255.255.255 0.0.0.0
73	route -p add 134.170.30.202 MASK 255.255.255.255 0.0.0.0
74	route -p add 137.116.81.24 MASK 255.255.255.255 0.0.0.0
75	route -p add 204.79.197.200 MASK 255.255.255.255 0.0.0.0
76	route -p add 23.218.212.69 MASK 255.255.255.255 0.0.0.0
What does that do? I have added the entries to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\PersistentRoutes\
Static Routes - Create or Remove-persistent_routes.jpg


My System SpecsSystem Spec
01 Oct 2015   #28
Callender

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

Okay so now I've added the following using Powershell:

Code:
route -p add 8.254.209.254 MASK 255.255.255.255 0.0.0.0
route -p add 68.232.34.200 MASK 255.255.255.255 0.0.0.0
route -p add 66.119.144.190 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.39.10 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.252.93 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.252.92 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.252.71 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.252.63 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.252.43 MASK 255.255.255.255 0.0.0.0
route -p add 65.55.108.23 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.108.29 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.94 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.93 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.92 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.91 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.9 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.7 MASK 255.255.255.255 0.0.0.0
route -p add 65.52.100.11 MASK 255.255.255.255 0.0.0.0
route -p add 64.4.6.100 MASK 255.255.255.255 0.0.0.0
route -p add 64.4.54.32 MASK 255.255.255.255 0.0.0.0
route -p add 64.4.54.22 MASK 255.255.255.255 0.0.0.0
route -p add 23.99.10.11 MASK 255.255.255.255 0.0.0.0
route -p add 23.218.212.69 MASK 255.255.255.255 0.0.0.0
route -p add 23.102.21.4 MASK 255.255.255.255 0.0.0.0
route -p add 216.58.209.166 MASK 255.255.255.255 0.0.0.0
route -p add 207.68.166.254 MASK 255.255.255.255 0.0.0.0
route -p add 207.46.223.94 MASK 255.255.255.255 0.0.0.0
route -p add 207.46.194.25 MASK 255.255.255.255 0.0.0.0
route -p add 207.46.101.29 MASK 255.255.255.255 0.0.0.0
route -p add 207.123.56.252 MASK 255.255.255.255 0.0.0.0
route -p add 204.79.197.200 MASK 255.255.255.255 0.0.0.0
route -p add 198.78.208.254 MASK 255.255.255.255 0.0.0.0
route -p add 194.44.4.208 MASK 255.255.255.255 0.0.0.0
route -p add 194.44.4.200 MASK 255.255.255.255 0.0.0.0
route -p add 185.13.160.61 MASK 255.255.255.255 0.0.0.0
route -p add 173.194.113.220 MASK 255.255.255.255 0.0.0.0
route -p add 173.194.113.219 MASK 255.255.255.255 0.0.0.0
route -p add 168.63.108.233 MASK 255.255.255.255 0.0.0.0
route -p add 157.56.91.82 MASK 255.255.255.255 0.0.0.0
route -p add 157.56.91.77 MASK 255.255.255.255 0.0.0.0
route -p add 157.56.77.139 MASK 255.255.255.255 0.0.0.0
route -p add 157.56.74.250 MASK 255.255.255.255 0.0.0.0
route -p add 157.56.23.91 MASK 255.255.255.255 0.0.0.0
route -p add 157.56.121.89 MASK 255.255.255.255 0.0.0.0
route -p add 157.55.129.21 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.58.189 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.58.123 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.58.121 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.58.118 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.53.30 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.53.29 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.51.190 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.185.70 MASK 255.255.255.255 0.0.0.0
route -p add 134.170.115.60 MASK 255.255.255.255 0.0.0.0
route -p add 131.107.113.238 MASK 255.255.255.255 0.0.0.0
route -p add 111.221.29.177 MASK 255.255.255.255 0.0.0.0
route -p add 104.82.22.249 MASK 255.255.255.255 0.0.0.0
route -p add 104.82.14.146 MASK 255.255.255.255 0.0.0.0
I would really appreciate it if someone could clarify what this does. My understanding of it is that any packets sent to the above ip addresses will be re-routed.
My System SpecsSystem Spec
09 Feb 2016   #29
Andyrids

Windows 7 x64 SP1
 
 

That is how it looks to me also, however the default subnet mask is 255.255.255.0 ?
Within HOSTS I know you either redirect the IP to 127.0.0.1 or use 0.0.0.0 so that part looks right, but I am curious about the 255.255.255.255 mask, unless one of the MS virtual adapters uses that one ?

I ran a little utility yesterday that appears to do what you are here, very effective one problem though after it added all of the entries (into HOSTS and Windows Firewall) almost everything MS related was blocked even their Bing search engine.

Sorry I can not shed more light on this, but it is doing what you said redirecting the listed IP's to Localhost
My System SpecsSystem Spec
Comment

 Static Routes - Create or Remove




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
Configuring Static Routes
Hello and thank you for taking the time to read this post. Here is my situation: Physical server configured with one NIC card. IP address is: 192.168.1.136 Physical server is acting as the domain controller and running DNS services. Physical server is running Windows Server 2012 and...
Network & Sharing
Please help: Unable to remove or create Homegroups Win 7
I hope someone can help me: Unable to remove or create a Homegroup on Win 7. I incorrectly set up laptop machine to have a homegroup. Not sure what happened but my desk top computer became attached to this group maybe I inadvertently set this function,,, I attempted to remove the homegroup...
Network & Sharing
Login routes me to temporary profile
I was runnning into some external problems today with internet (a site that was getting overloaded all the time), so I decided to restart my laptop because internet was starting to lag alltogether When I rebooted, I went to enter my password, and it sent me straight to a temporary profile. I can...
General Discussion
Changing routes not working in Win7, but do in WinXP
I have a Windows 7 RC 7100 and have a problem with changing routes on it here at work. We have 3 gateways 10.1.1.1 - default gateway via DHCP for internet browsing 10.1.1.2 - Backup 10.1.1.3 - highspeed for site-to-site connections (not real addresses) When I do the command;
Network & Sharing
Upgrade Routes
Hi everyone! Just a little one really... I've got a 3 month old from DELL, the 'FREE' upgrade is on the way, but I have a copy of W7 from MSDNAA, but when I installed it there was almost zero support for my drivers... DELL has promised a resource CD that will contain the necessary drivers, but...
Installation & Setup
How can you create both a static and dynamic network?
I am trying to create both a static and dynamic network for my computer to choose from when I connect my notebook to one of two locations. I want to create a LAN 1 which picks up the static info specific and an LAN 2 for my dynamic connection. This is possible to do with operating systems such as...
Network & Sharing


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 19:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App