#58531 - 2001-08-24 05:23 PM
Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
I looked on microsoft knowledge base but didn't find any. Is there a way to log dhcp leases and put it on a separate files/directory? I would also like to have the date and time logged. I know you can use the @wksta @date, etc. on kix on this...I wonder how... If its not possible on kix, possibly resource kits? Thanks for the advice. -jvd[ 24 August 2001: Message edited by: jvd626 ]
|
Top
|
|
|
|
#58535 - 2001-08-24 08:18 PM
Re: Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
Bryce, it doesn't matter which way I guess, as long as we know who has what. I think NTDOCs point makes sense, unless you can query the dhcp database somehow.How about if people try to renew their lease, say, when they type ipconfig /release ipconfig /renew? That couldn't be logged because the user is already logged in.
|
Top
|
|
|
|
#58541 - 2001-08-27 09:25 PM
Re: Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
LL, my boss wanted it so the leasing can be tracked down. I tried the dhcpcmd command but I'm not sure what its supposed to do. It just said: quote:
DHCP server 5.5 Command Successfully completed.
Is there anything else that needs to be done? What type of output does it give out? Thanks. [ 27 August 2001: Message edited by: jvd626 ]
|
Top
|
|
|
|
#58543 - 2001-08-27 10:18 PM
Re: Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
Alright it works I guess its just stupidity in my part. But how can I export the data on to a text file?
|
Top
|
|
|
|
#58545 - 2001-08-28 12:47 AM
Re: Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
cool, That worked, but I have another gripe How come it overrights the file instead of appending to it? Is there away so that it will append the file?
|
Top
|
|
|
|
#58547 - 2001-08-28 07:18 AM
Re: Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
sorry if my english is not good , well, what I mean is add stuff to the file instead of overwriting what It already has. Just like what an event viewer would do?
|
Top
|
|
|
|
#58548 - 2001-08-28 10:03 AM
Re: Log dhcp leases using kixtart
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
I'm sorry JVD,The single > (redirect symbol) creates the file. The double >> (redirect symbol) appends to the file. SAMPLE: D:\>type fileone.txt hello D:\>echo hello again>>fileone.tx D:\>type fileone.txt hello hello again D:\> I hope this makes more since now.
|
Top
|
|
|
|
#58550 - 2001-08-28 07:47 PM
Re: Log dhcp leases using kixtart
|
Anonymous
Anonymous
Unregistered
|
hehe I thought you're trying to correct my grammar... Thanks for the help!
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 569 anonymous users online.
|
|
|