• RSS
  • Twitter
  • FaceBook

Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

getting IP address of Internal/external NIC

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming >> getting IP address of Internal/external NIC Page: [1]
Login
Message << Older Topic   Newer Topic >>
getting IP address of Internal/external NIC - 27.Jul.2004 11:41:00 PM   
Guest
how can I programatically find the IP address (or MAC address) for the Internal and external NICs that ISA has configured? (this is in edge configuration)

thanks
Alan
  Post #: 1
RE: getting IP address of Internal/external NIC - 28.Jul.2004 2:17:00 AM   
manguonden

 

Posts: 59
Joined: 10.May2004
From: Viet Nam
Status: offline
Select Menu Start ---> Run, type cmd --> ipconfig /all

(in reply to Guest)
Post #: 2
RE: getting IP address of Internal/external NIC - 31.Jul.2004 12:31:00 AM   
Guest
>> how can I programatically find the IP address

> Select Menu Start ---> Run, type cmd --> ipconfig /all

umm, thanks, but I'm asking how to do it [B}from a program[/B], not by hand -- any ideas please?

alan

(in reply to Guest)
  Post #: 3
RE: getting IP address of Internal/external NIC - 2.Aug.2004 9:41:00 PM   
pradeep_gj

 

Posts: 2
Joined: 16.May2003
Status: offline
use the command ipconfig /all in a batch file and run it.

U can also send it to a tect file like this

ipconfig /all > Result.txt

(in reply to Guest)
Post #: 4
RE: getting IP address of Internal/external NIC - 16.Aug.2004 3:52:00 PM   
fesnouf@hotmail.com

 

Posts: 64
Joined: 14.Jan.2002
From: Paris
Status: offline
You can also use the winsock API to get this ... or if you are doing WSH sciprs (.VBS) you also get this.

Check microsoft web site /scripting

Frederic
frederic@esnouf.net

(in reply to Guest)
Post #: 5
RE: getting IP address of Internal/external NIC - 29.Aug.2004 5:27:00 PM   
Jim Harrison

 

Posts: 271
Joined: 5.May2001
From: Redmond, WA
Status: offline
You can't use Winsock from Windows script.
WMi can get you the IPs, but ISA 2004 provides this internally.

Drag out your ISA SDK and search down into the FpcAdapter object; I think you'l be pleasantly surprised.

(in reply to Guest)
Post #: 6

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming >> getting IP address of Internal/external NIC 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