#34623 - 2002-12-26 11:34 AM
Ip Address
|
Anonymous
Anonymous
Unregistered
|
Hi, Is there option check if the client is on out LAN network address. (10.33.16.0). Thank you. Eran.
|
|
Top
|
|
|
|
#34627 - 2002-12-31 08:35 PM
Re: Ip Address
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
A script without UDF is
code:
IF (@ipaddress0 = ' 10. 33. 16. 0') ? "user is on LAN 10.33.16.0" ELSE ? "user has another ip address" ENDIF
greetings.
|
|
Top
|
|
|
|
#34628 - 2003-01-01 08:13 AM
Re: Ip Address
|
Anonymous
Anonymous
Unregistered
|
Thank you, Much easy then the UDF. Eran.
|
|
Top
|
|
|
|
#34632 - 2003-01-02 12:58 AM
Re: Ip Address
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
the main point of a UDF, is that it is precanned...
It isn't too complex, once the UDF is pasted in, it merely acts as any of the other commands that exists in Kixtart.
|
|
Top
|
|
|
|
#34636 - 2003-01-03 05:27 PM
Re: Ip Address
|
Anonymous
Anonymous
Unregistered
|
Hi guys, thank you all for the help here. I just was looking for a easy way to find client IP. thank you all again, Eran.
|
|
Top
|
|
|
|
#34637 - 2003-01-06 10:35 AM
Re: Ip Address
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
For more addresses we don't need more IF statements. Another example
code:
IF (Instr("-"+@ipaddress0+"-","- 10. 22. 16. 0- 10. 22. 16. 5- 27. 34.129. 1-") <> 0) ? "found ip-address" ELSE ? "no member of specified ip-address" ENDIF
Of course everybody understand that you should search for a shorter version, when you want to manage a lot of computers. Mostly the way of managing those values is more complex. Of course the UDF forum contains hardly any UDF to get any part of your network configurations. It is a good idea for looking "how other persons has solved some specific situations". Of course "10.22.16.0" isn't an ip-address in normal situations. For us it is only an example. Eran was also talking about ip-address. greetings.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 867 anonymous users online.
|
|
|