Jump to content


Website routing through different gateway.


  • Please log in to reply
3 replies to this topic

#1 StrikedOut


    Outside the box

  • Joined: 09-December 08
  • Location: Southampton

Posted 31 January 2013 - 16:05


I think this is a simple one but want to check my train of thought.

I am in the middle of a data centre change and part of this is a new ISP. Now out of the blue I am being asked to route one of our teams traffic through the new GW for a single site until the migration is complete when everyone will be going through the same GW. Can I use the HOST file and persistent routing to achieve this?

e.g. In the HOST file, www.secure-site.com
Then route add mask -p

Will this work, is it the easiest route and can this be pushed out using scripts?

#2 sc302


    Neowinian Senior

  • Tech Issues Solved: 57
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 31 January 2013 - 16:24

sounds good. Test it out on a machine first then you can add it to a script, but you may be better off doing it at the router or the switch, which ever manages the routes for the site.

If they are off-site accessing this, you may be able to create a batch file or a zip file that will execute and extract.

#3 +BudMan


    Neowinian Senior

  • Tech Issues Solved: 130
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 31 January 2013 - 16:26

why do you need the host file? Is this a different IP for www.secure-site.com that would normally resolve? Or does that site not resolve to that IP you want to use via normal means.

Do these clients use a proxy to access the internet?

Is this gateway on the same segment as the clients you want to use that gw, ie are they on 192.168.10 ?

#4 OP StrikedOut


    Outside the box

  • Joined: 09-December 08
  • Location: Southampton

Posted 31 January 2013 - 16:38

Thanks guys.

sc302, waiting for the info regarding the actual site address and URL. then I will test.

BudMan, Still waiting for the full details, not sure how they have this setup.

Now here is the killer. I am told that this site is so secure that we have to give them our public IP hence the need to route this site through the new and soon to be used GW before the migration is complete. However, it only works with IE6. The other tool we have to use is a different site and requires IE9 with Silverlight. No problem Win 7 with XP mode, just found it amusing that the secure site only works with IE6.