hookem1994
Technical User
I am trying to locate my ip address on a Solaris box. The way our boxes are set up i get my computers name (i.e. w2kwucds01.utah.sw.com) instead of the ip address. If I ping the computer name it tells me that it is alive.Also if I ping my ip address it states I am alive.
The reason I need this we use DCHP and our IP's always change and I am wanting to write a script to automate this. Can anyone assist?
I have tried the following:
ifconfig -a .... does not list my current user ip
netstat -rn .... does not list my current user ip
Thanks,
David
The reason I need this we use DCHP and our IP's always change and I am wanting to write a script to automate this. Can anyone assist?
I have tried the following:
ifconfig -a .... does not list my current user ip
netstat -rn .... does not list my current user ip
Thanks,
David