Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Obtain IP Address from DHCP Server via Script

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1000
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Obtain IP Address from DHCP Server via Script
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Obtain IP Address from DHCP Server via Script - 4/8/2004 11:26:45 AM   
  kathijk

 

Posts: 1
Score: 0
Joined: 4/8/2004
From:
Status: offline
I'm trying to create a web app. (using ASP and VBScript) that will allow my co-workers to enter a customers pc MAC address into this web app once clicking on the submit button, it needs to talk to our DHCP server and obtain an IP Address that is available. Wondering if this is possible using VBScript and if so, hwo would I go about doin this. I've been looking into the netsh command, but that doesn't seem to allow be to grab an available IP (I know I can do an "add reservedip" using the netsh, but I need to be able to find the IP Address first).

Is there a way I can do a DHCPDiscover, DHCPOffer, and then possibly reject the DHCPOffer after "collecting" the IP Address that the DHCP server is ready to hand out?



Thanks,
Kathi
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Obtain IP Address from DHCP Server via Script Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts