Re: AD-DNS-DHCP
- From: "Ferg" <ferguson@xxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Jul 2009 06:48:32 -0400
Great answers.
Thanks again everyone for your kind attention.
'preciate it.
G'Day
"Jorge Silva" <jorgesilva_pt@xxxxxxxxxxx> wrote in message
news:6E221962-38E0-49A2-B15E-2D0927A0CC20@xxxxxxxxxxxxxxxx
ahhh...
Ok, right, using IPConfig...
I thought that Antony was talking about GUI...
--
I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MVP Directory Services
"Anthony [MVP]" <anthony@xxxxxxxxxxxx> wrote in message
news:76F35845-617A-4CA7-8E45-94D5C8374B78@xxxxxxxxxxxxxxxx
Ipconfig will show a second default gateway.
You could set a metric for the additional gateway, or you could run Route
Delete 0.0.0.0 first,
Anthony,
http://www.airdesk.com
"Jorge Silva" <jorgesilva_pt@xxxxxxxxxxx> wrote in message
news:E8390B8E-B268-4C14-8DAD-09C4D7886D2C@xxxxxxxxxxxxxxxx
The route add cmd DOESN'T add any gateway to your NIC config, the path
to be chosen by windows will be based on the Metric that is defined on
the route table. If the default gateway provided by your DHCP server is
100 and the route used in the script is 1, then the route set by the
script wins.
If you define more specific routes, eg: 10.10.0.0 mask 255.255.255.0
192.168.0.1 Metric 10, then all requests to 10.10.0.0/24 address will
take 192.168.0.1 gateway because this route is more specific than
0.0.0.0 even with a Metric of 10.
--
I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MVP Directory Services
"Ferg" <ferguson@xxxxxxxxxxxxxxxxx> wrote in message
news:e73wOjvDKHA.4792@xxxxxxxxxxxxxxxxxxxxxxx
This is the question:
If I do NOT remove the gateway configuration(192.168.131.21) from my
DHCP scope but add route command to my logon script, which one will
ultimately prevail, the DHCP gateway configuration or the route add
command in the logon script?
"Jorge Silva" <jorgesilva_pt@xxxxxxxxxxx> wrote in message
news:D8979CC2-E061-4918-8BE0-DB9458D97881@xxxxxxxxxxxxxxxx
The flush cmd will clear all route config, in some scenarios you'll
need to reboot the system or the gateway won't work. What is the
question?
The -f switch doesn't remove the TCPIP config, it only cleans the
route table.
--
I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MVP Directory Services
"Ferg" <ferguson@xxxxxxxxxxxxxxxxx> wrote in message
news:ulk75QvDKHA.4004@xxxxxxxxxxxxxxxxxxxxxxx
G'Day All,
Here is a followup question, even though I could run a test to see
the outcome,:
If I do NOT remove the gateway configuration(192.168.131.21) from my
DHCP scope but add the following to my logon script, which one
will ultimately prevail, the DHCP gateway configuration or the route
add command in the logon script.
route command added to my logon script: route -f add 0.0.0.0 mask
0.0.0.0 192.168.131.22.
Thanks
"Meinolf Weber [MVP-DS]" <meiweb(nospam)@gmx.de> wrote in message
news:ff16fb662b1368cbdcdcbe06960f@xxxxxxxxxxxxxxxxxxxxxxx
Hello Ferg,
You're welcome.
Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and
confers no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
About 75.
Anyway, all the replies have benefitted me quite a bit. I have many
options,
but for now the logon script rout command is good enough.
I will work on getting my Cisco switches configured with VLANS and
go
that
route later on.
Jorge, Meinolf, Grant, Anthony and Ace, thanks very much to you
"guys". I
appreciate your help.
Cheers and best wishes.
"Jorge Silva" <jorgesilva_pt@xxxxxxxxxxx> wrote in message
news:390A120F-78D2-4AA8-AD30-C047AD3609DE@xxxxxxxxxxxxxxxx
Another thing, how many DHCP clients are we talking about?
--
I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MVP Directory Services
"Joe Dunn" <JoeDunn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C7E1C046-AAA3-47B3-80C7-957176F7DBD8@xxxxxxxxxxxxxxxx
If you wanted to the keep the management of the default gateway
addresses
in
DHCP look at setting up User Classes. Then use a logon script
via
GPO
with
the ipconfig \setuserclass command. You can then have different
default
gateway address Options in the same scope but applied to
different
computers
depending on OU.
Best Regards
Joe Dunn
MCSE, MCTS, CCNA
"Jorge Silva" wrote:
Hi Ferg,
Please always respond here.
Answer:
Simple, example: for DHCP clients, remove the gatway
configuration
from
your
DHCP scope, then you can setup a logon or startup script/batch
file
that
defines a static route to general gateway something like this:
#---------------------------------------------------
route -p add 0.0.0.0 mask 0.0.0.0 192.192.192.77
#---------------------------------------------------
The "-p" switch means persistent, event after a reboot the route
will be
there.
--
I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MVP Directory Services
"Ferg" <ferguson@xxxxxxxxxxxxxxxxx> wrote in message
news:uAZpn9GDKHA.4792@xxxxxxxxxxxxxxxxxxxxxxx
G'Day All,
Greetings and best wishes.
I have searched high and low for a solution here and am
stumpped.
I
have
not found anything. I am trying to accomplist the following.
In my AD I have 3 OU - <Staff>, <Associates>, <Partners>
I also have two different internet connections each with their
own
firewall, LAN IP, and range of WAN IPs.
192.192.192.77 Internet Connection #1
192.192.192.87 Internet Connection #2
How can I, through AD, Logon Scripts, DNS, DHCP or whatever,
set
<STAFF>
to ALWAYS use Internet Connection#2 as the default gateway,
<Associates> and <Partners> to ALWAYS use Internet Connection#1
as
the
default gateway.
Many thanks
Mike
.
- Follow-Ups:
- Re: AD-DNS-DHCP
- From: Jorge Silva
- Re: AD-DNS-DHCP
- References:
- Re: AD-DNS-DHCP
- From: Ferg
- Re: AD-DNS-DHCP
- From: Meinolf Weber [MVP-DS]
- Re: AD-DNS-DHCP
- From: Ferg
- Re: AD-DNS-DHCP
- From: Jorge Silva
- Re: AD-DNS-DHCP
- From: Ferg
- Re: AD-DNS-DHCP
- From: Jorge Silva
- Re: AD-DNS-DHCP
- From: Anthony [MVP]
- Re: AD-DNS-DHCP
- From: Jorge Silva
- Re: AD-DNS-DHCP
- Prev by Date: Re: Event id 4 KRB_AP_ERR_MODIFIED
- Next by Date: Re: the effects on running dcpromo to fix anAD issue.
- Previous by thread: Re: AD-DNS-DHCP
- Next by thread: Re: AD-DNS-DHCP
- Index(es):
Relevant Pages
|