07-01-2012
On a Unix system of a standard flavour it can get its own ip address usig the ifconfig command.
If the ip address of the target machine (your server) is not constant then you will need some "lookup" service running either maintained locally or remote (ie, a DNS server). You can set up a "dynamic DNS service" on a machine locally or remote which can "resolve" the nodename of the target into its current ip address.
This kind of dynamic service is not recommended but from what you describe, I don't think that there's much choice.
Of course, you might have a DHCP server (maybe a router) which also runs a name resolution service which will track the changing ip addresses.
Let's see what others on this forum say.
Last edited by hicksd8; 07-01-2012 at 08:04 AM..
This User Gave Thanks to hicksd8 For This Post:
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to find the x25 address of a server. Presumably this is stored in some sort of config file - and while I can find the IP and OSI addresses - I cannot work out where to find the x25 address.....any ideas? (Unix on Solaris) (1 Reply)
Discussion started by: peter.herlihy
1 Replies
2. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
what is the comamnd to get the server address using the IP address ?
Please help.
Thanks,
Sona. (3 Replies)
Discussion started by: Sona
3 Replies
4. Shell Programming and Scripting
Hi,
I want to know the IP of my Unix server in my script programming.
Below are the my trial and i didn't find anything useful for me.because i want only IP.
hostname -> Giving the name of the server and
hostanme -i -> Giving the error message that..i am not super user.
ipConfig ->... (7 Replies)
Discussion started by: Balamani
7 Replies
5. IP Networking
Hello,
I have a server in C that is listening on a socket using s_addr = INADDR_ANY, and clients connect to it. How can I know which address did the client use to connect to that socket?
It might be 127.0.0.1 (if the server is running locally), 192.168.x.x (if the client is from inside the... (1 Reply)
Discussion started by: royger
1 Replies
6. HP-UX
I am moving an HP UX 9000 server to a new subnet. How do I change the server's IP address??
Many thanks in advance
:confused: (3 Replies)
Discussion started by: ldaliosmane
3 Replies
7. AIX
Dear all experts,
Recently the daily batch run process (run using Java Runtime Execution)suddenly run slow. Our apps vendor came in and check and request to reboot the server. After rebooting of the server, the batch run back to normal.
May I know is periodically rebooting of pSeries server is a... (9 Replies)
Discussion started by: kwliew999
9 Replies
8. Red Hat
Where can you find your DHCP Server address? I checked all of the files that this mentioned with no luck.
Quick HOWTO : Ch08 : Configuring the DHCP Server - Linux Home Networking (6 Replies)
Discussion started by: cokedude
6 Replies
9. Shell Programming and Scripting
Hi,
I am trying to find the external IP address of a server "XXX".
I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45
Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22
Out of these two numbers, what number... (1 Reply)
Discussion started by: forums123456
1 Replies
10. Red Hat
Hi,
How to find ip address of Linux servers ?
I know by ping command we can find ip address but wanted to check with you.
Thanks,
Maddy (5 Replies)
Discussion started by: Maddy123
5 Replies
LEARN ABOUT HPUX
dhcpv6client_ui
dhcpv6client_ui(1) General Commands Manual dhcpv6client_ui(1)
NAME
dhcpv6client_ui - DHCPv6 client interface for requesting configuration parameters from the DHCPv6 server
SYNOPSIS
interface_name
interface_name config_options]
vendor_specific_options]
list_of_addresses
DESCRIPTION
is the interface through which a user contacts the client daemon, to obtain IPv6 addresses and other configuration parameters from the
server. The default configuration parameters are specified as command line options when the DHCPv6 client daemon is invoked.
When requests for IPv6 addresses or other configuration parameters, the client daemon obtains them from the server and stores in the file.
is executed on the same machine on which the client daemon is configured. Ensure that the client daemon is up and running before is exe-
cuted.
Options
supports the following options:
Request the client daemon to obtain IPv6 addresses
for the named interface, interface_name, from the DHCPv6 server daemon if the option is not specified.
Specify the other configuration parameters that
the client daemon must request from the server daemon.
This option must be used in conjunction with the option.
The configuration parameters that the client can request are listed below:
Obtain one or more DNS server addresses
Obtain the DNS domain list
Obtain one or more SIP server addresses
Obtain the SIP domain list
Obtain one or more NIS server addresses
Obtain the NIS domain name
Obtain one or more NIS+ server addresses
Obtain the NIS+ domain name
Obtain all the above listed parameters
Obtain all the default parameters configured in the dhcpv6 client daemon
Specify the vendor-specific options that
the client daemon must request from the server daemon.
This option must be used in conjunction with the option.
Release the specified IPv6 addresses.
Get the temporary addresses from the dhcpv6 client daemon.
Print the version information of the client daemon.
Request only the other configuration parameters. Do not
request IPv6 addresses.
Notify the client daemon to utilize the IPv6 addresses
already obtained for an interface instead of requesting new IPv6 addresses from the server.
This option must be used in conjunction with the option.
Get both temporary and non-temporary addresses from the client daemon.
When there is no or option specified obtains only non-temporary addresses.
RETURN VALUES
returns 0 on success and 1 on failure.
EXAMPLES
obtains IPv6 address for the interface:
obtains IPv6 address for the interface and additional configuration parameters:
obtains only the DNS parameters for the interface:
AUTHOR
was developed by Hewlett-Packard.
FILES
All the data obtained from the server daemon is saved to this file.
SEE ALSO
dhcpv6clientd(1M), dhcpv6db2conf(1M), dhcpv6d(1M).
dhcpv6client_ui(1)