PC Review


Reply
Thread Tools Rate Thread

Change gateway ONLY

 
 
Tom Jones
Guest
Posts: n/a
 
      17th Jul 2003
Hi there,
I want users to connect to a differnet internet connection depending on
their user group (i.e. pupils, teachers). We are using DHCP so need to
change the gateway to alter the connection. I've been looking at NETSH
INTERFACE IP SET ADDRESS and was hoping to put it in the logon script along
with IFMEMBER but it looks as though I can only change the gateway if I use
static addresses. Is this true and does anyone know how I might chage the
gateway setting if I'm otherwise using DHCP?
Thanks for your time
Tom


 
Reply With Quote
 
 
 
 
Ritchie
Guest
Posts: n/a
 
      17th Jul 2003
"Tom Jones" <(E-Mail Removed)> wrote in message news:fcuRa.361830$(E-Mail Removed)...
> I want users to connect to a differnet internet connection depending on
> their user group (i.e. pupils, teachers). We are using DHCP so need to


Out of curiosity, why's that then?

--
Ritchie


 
Reply With Quote
 
Tom Jones
Guest
Posts: n/a
 
      17th Jul 2003
Pupils will go through a content filtered internet connection and we have an
'open' connection for staff.
Before you say remove the filtering for the staff on the proxy, the filtered
proxy is not on site but maintained by the local council so we can not alter
it's settings.

"Ritchie" <(E-Mail Removed)> wrote in message
news:bf61qn$bas09$(E-Mail Removed)...
> "Tom Jones" <(E-Mail Removed)> wrote in message

news:fcuRa.361830$(E-Mail Removed)...
> > I want users to connect to a differnet internet connection depending

on
> > their user group (i.e. pupils, teachers). We are using DHCP so need to

>
> Out of curiosity, why's that then?
>
> --
> Ritchie
>
>



 
Reply With Quote
 
Ritchie
Guest
Posts: n/a
 
      17th Jul 2003
"Tom Jones" <(E-Mail Removed)> wrote in message news:K_vRa.366291$(E-Mail Removed)...
> Pupils will go through a content filtered internet connection and we have an
> 'open' connection for staff.
> Before you say remove the filtering for the staff on the proxy, the filtered
> proxy is not on site but maintained by the local council so we can not alter
> it's settings.


Don't the council have a proxy server?

On Win2000 you can change the default gateway with the ROUTE command:-

route change 0.0.0.0 mask 0.0.0.0 <new gateway>

Whether you're able to do that via a logon script, I wouldn't like to
say.

--
Ritchie




 
Reply With Quote
 
Tom Jones
Guest
Posts: n/a
 
      21st Jul 2003

"Ritchie" <(E-Mail Removed)> wrote in message
news:3f169bb1$0$3135$(E-Mail Removed)...
> "Tom Jones" <(E-Mail Removed)> wrote in message

news:K_vRa.366291$(E-Mail Removed)...
> > Pupils will go through a content filtered internet connection and we

have an
> > 'open' connection for staff.
> > Before you say remove the filtering for the staff on the proxy, the

filtered
> > proxy is not on site but maintained by the local council so we can not

alter
> > it's settings.

>
> Don't the council have a proxy server?


Er.. Yeah, that's what I said in my post?

>
> On Win2000 you can change the default gateway with the ROUTE command:-
>
> route change 0.0.0.0 mask 0.0.0.0 <new gateway>
>

Cheers for the reply,
Couldn't get that to work for us though. We've sorted it now though
using:

netsh interface ip delete address "local area connection" gateway=all

netsh interface ip add address "local area connection" gateway=100.1.1.5
gwmetric=2


 
Reply With Quote
 
Ritchie
Guest
Posts: n/a
 
      21st Jul 2003
"Tom Jones" <(E-Mail Removed)> wrote in message news:khTSa.686947$(E-Mail Removed)...
> > Don't the council have a proxy server?

>
> Er.. Yeah, that's what I said in my post?


Shame you can't just change the browser settings to use the proxy.

> Couldn't get that to work for us though. We've sorted it now though
> using:
>
> netsh interface ip delete address "local area connection" gateway=all
>
> netsh interface ip add address "local area connection" gateway=100.1.1.5
> gwmetric=2


Nice one. Just being curious again. How have you implemented the above,
with a logon script?

--
Ritchie


 
Reply With Quote
 
Tom Jones
Guest
Posts: n/a
 
      22nd Jul 2003

> Nice one. Just being curious again. How have you implemented the above,
> with a logon script?
>


Sort of - we used the "run these programs at logon" option in a group
policy.
Cheers


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AD server subnet mask and default gateway change =?Utf-8?B?bXRsZXI=?= Microsoft Windows 2000 Active Directory 5 2nd Jul 2007 04:50 PM
change static ip, and gateway www.fijaksoft.prv.pl :) Microsoft Dot NET Framework 0 3rd Apr 2006 03:31 PM
Tray icon to change IP Gateway? Noozer Microsoft VB .NET 1 19th Jan 2006 06:38 AM
Can not change default gateway(URGENT!!!) =?Utf-8?B?V2luZ3MgVGlnZXI=?= Windows XP Networking 5 17th May 2005 11:30 AM
Gateway change =?Utf-8?B?ZmF3YWQ=?= Microsoft Windows 2000 Networking 3 21st Dec 2004 09:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:38 PM.