Link to home
Create AccountLog in
Avatar of moorthy_kulumani
moorthy_kulumani

asked on

Block subnet in windows XP

Overall we have three datacenters in our country. We are in the processing of bringing down one datacenter for power maintenance.
One of the BCP requirements is to ensure critical people are moving the other two offices on that day and able to work with the alternative arrangement made.
To simulate the shutdown day scenario we have to block the routing to the subnet (of the datacenter which is going down) at the test users desktop and laptop and ask the user to test their applications. In this scenario we are ensuring that any servers hosted in the targeted datacenter cannot be contacted by the user.
We did that by Symantec firewall rules on laptops, but unfortunately we now have SEP (Symantec end point protection on laptops) which is locked globally for any configuration changes. Even windows firewall is disabled thru policy.
In a nutshell we won’t be able to anything with firewall due to global restrictions, even installing a freeware to block the subnet. With the minimum restrictions we have to set the subnet restriction. Is the anything possible thru “netsh” or “route add” to block the subnet of targeted datacenter for the BCP test?
Appreciate your help in advance.
Avatar of Hisham_Elkouha
Hisham_Elkouha
Flag of United Kingdom of Great Britain and Northern Ireland image

why don't you disable the restriction of Symantec
Avatar of Adrian Cantrill
route add datacentre_network mask whatever_the_mask_is 127.0.0.1 ( which should route the traffic at the loopback interface, thus dropping it) <- that should work in theory.
Isn't there a router?
Normally the router (which may also be the gateway) is the place to do something like this, rather than on all individual PCs.

Route the "blocked" subnet back to the local LAN so the packets will be dropped.  Something like that.....
I suggested the local PC as the original poster mentioned 'test users' assuming thats not a whole subnet, it would be easier to make the changes on a few machines - changing it on a router would be a lot less granular in the users it effects.
Yes.  If there are only "test users" and not a "test site" then the only reasonable way to do what I suggested would be to put the "test users" in a sub-subnet that would be a subnet of the existing one and then route their traffic at the router.   At least that generally makes the router entries compact and in one place.
Hi

Xp is equipped with IPSEC and you know how much capable it is.
Simply goto run type mmc and add snap-in for IPSEC policy management and then save it and to see how to work on it use this video.

http://www.youtube.com/watch?v=amHaBmOlfgE&feature=related
SOLUTION
Avatar of hypercube
hypercube
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
It occurs to me that you might also do something like this: (still don't know your "alternative arrangement made".  I do something like this with a fallback system arrangement.

Set up a backup system using the same IP address(es) or subnet as the system to be replaced.
Route from the test client to the backup system like this:

1) Set up a backup system router/VPN device on a *new or different* local IP.

2) Set up a route on the local test computer that points to this device when packets are destined for the server/application.  (This in lieu of being directed to the "normal" route be it direct to a VPN device or to the LAN gateway).

3) Have the backup system set up with the same IP addresses as the normally targeted system.  

This way only the test machines will access only the backup system and there will be no confusion with the "normal" systems still running.
Avatar of moorthy_kulumani
moorthy_kulumani

ASKER

Hi Hisham_Elkouha:
This is possible, but this is length approvals I have to follow, I don’t have time to do that….

Hi woolnoir:
Unable to route add to loopback ip.
route add 110.15.128.0 mask 255.255.128.0 127.0.0.1
The route addition failed: The parameter is incorrect.


Hi fmarshall:
On putting a specific test subnet, I thought about it earlier, Putting a special subnet for test users need to be done with lot of cabling re work etc…and I have more then 80 test users sitting across two buildings…
"Alternative arrangement made" – means some of the system/application going down DR will be invoked from other site. There will not be any VPN or another subnet available on the site which is going down.

acl-puzz:
I will check IP sec and come back..
Depending on the network topology, you should be able to run multiple subnets on the same wires - not even VLANs are necessary.  As long as the switches are Layer 2 then all should be fine.  It's more the routers/firewalls that I'd be more concerned about.

If there is going to be application service from another site, isn't the subnet there different?

The situation is still pretty unclear to me.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Use the -p to make the route permanent.
Thanks a lot everyone