Re: Setting Gateway by User Group



Don't believe the hype. There are lots of ways to do what you want that do
not involve stsaic IPs.

With what you say you have running now, I would use class ids in dhcp.
You can use the log in script to set the class id on the client and se your
2000 or 2003 based dhcp to do what you need to do.

I'll get ya started, ipconfig /?. See the option for setclassid? Now explore
your dhcp servers properties.

Or if thats too twisty, and you have the time to do statsic IPs , try using
DHCP reservations and setting options that way.

or even

Don't give a gateway adress at all through DHCP, but use route add commands
in the login script to add a new default route to the local routing table of
the PC.


Thats just what I can think of off the top of my head. I am sure there are
more ways to do it.

"charles kuchar" wrote:

> So the only logical thing for me to do is have to eliminate DHCP? I only
> have a hundred workstations for the students and 20 or so for staff. I can
> hard code a local IP address in each computer for the students and the
> staff. The only problem is when i change the DNS server or something like
> that... At least school is out and i have time to do that. Thank you,
> charlie
>
> "Daniel" <daniel@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:uJGs8g3aFHA.3280@xxxxxxxxxxxxxxxxxxxxxxx
> > charles kuchar wrote:
> >> When the students log on to the network a script runs to map the drives
> >> needed for their work. I need to set the Gateway for them. I have two
> >> gateways in the network and wish to separate them, staff from students.
> >> Can i do this in a logon script? Or what other method should i be
> >> pursuing? Thank you, charlie
> >
> > You can only set gateways via DHCP. You could set up reservations for the
> > MAC addresses of the computers so that they switch. However, this is only
> > set on boot.
> >
> > If you are doing it for security, then specify what your concerns are and
> > maybe someone can help you with them.
> >
> > --
> >
> > Daniel
> > MCSE, MCP+I, MCP in Windows 2000/NT
> >
> > --------------------------------------
> > remove the 2nd madrid from my mail address to contact me.
>
>
>
.



Relevant Pages

  • always_on.sh script in DD-WRT not working
    ... I have a odd problem with always_on.sh script. ... The problem is that when my modem disconnects, ... gateway address, yet I cant ping google. ... WAN Connection Type: Auto Config - DHCP ...
    (alt.internet.wireless)
  • RE: Ooooopppps. Rights not right...
    ... I understand you want to assign different gateway address for the students ... the client machine will contact the DHCP to obtain ... in the startup script instead of the logon script, ...
    (microsoft.public.windows.server.general)
  • Re: Networking question
    ... # Add routes obtained by DHCP ... route add -host $host gw $gateway ... NEVER needed to do this with DHCP, as it will provide basic networking ... I'm just curious as to WHY you need to use a script ...
    (Ubuntu)
  • Re: weird network problem in FC4
    ... > Why do you set private address space IP data? ... And you set a GATEWAY ... IP through dhcp, and the script is wrong and even though the ...
    (Fedora)
  • Re: Unable to Ping Network from Outside
    ... Those clients should not have the router gateway in their gateway settings; ... Check DHCP, Scope options and make sure that 003, 006 and 044 are pointing ... >>Post the ipconfig/all from the server. ...
    (microsoft.public.windows.server.sbs)

Loading