Obtaining IP address

Thread Tools Search this Thread
Special Forums IP Networking Obtaining IP address
# 1  
Old 05-31-2001
Question Obtaining IP address

How can UNIX systems obtain IP addresses? Can it obtain from Win 2000 Server, DHCP service, dynamically?
# 2  
Old 05-31-2001
You can configure a UNIX machine to get it's IP address from a DHCP server. In each flavour of UNIX there is a file which details hostname information as well as info relating to the ip address, subnet mask, broadcast address etc for each NIC card. In HP-UX this is the netconf file.

Each entry for each NIC card should have a DHCP enable function which you can set. That interface will then obtain it's IP address from the DHCP server either as the machine boots up, or you can restart network services to have it pick it up. This is on the UNIX side of things, I'm not sure how the Win 2k server would be configured, but I assume it would pretty self explanatory.

One thing to take into consideration is that unless you add more complex rules to IP address allocation on the DHCP server (such as range address allocation) DHCP is not entirely suited to a server since clients generally connect on one or two IP addresses, which is not good if those are constantly in flux. However DHCP can be tightened down, as I suggested, to hand over a certain range IP addresses to certain machines. Take a look at this.

Hope this helps.

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Obtaining day before a given date

Hi all, is there a way using GNU (Solaris 8) methods of obtaining the day before a given day? i.e. 2007-09-09.... I would like the date a day before it so output would be 2007-09-08. Format YYYY-MM-DD I know I can subtract the day number using cut and expr but it would get tricky if the... (3 Replies)
Discussion started by: muay_tb
3 Replies

2. IP Networking

Obtaining your external IP address using a Unix Utility

Hello, this is my first post on the Unix forums. This is something that's been bothering me for a while, is there any particular UNIX/Linux application that will allow you to see you external IP address? :confused: ( The address beyond your router ) Thank you in advance, I could not find a... (4 Replies)
Discussion started by: inquen
4 Replies

3. IP Networking

Obtaining IP address from both my network interface

HI folks, I am developing a software which one of the module is to interchange the ip address of another active network interface's when making a socket connection. I would like to know whether there is any function call that would enable me to retrieve the ip address that is obtained by a... (2 Replies)
Discussion started by: citiz3n
2 Replies

4. Shell Programming and Scripting

obtaining a particular day

hello guys am totally new to this script programming so help me i want to write a script that obtain a particular day and schedule a task that day at particular time .. my problem is i don't know to get time and particular day in script ... 2. how i ll print the time taken by executing a... (2 Replies)
Discussion started by: johnray31
2 Replies

5. Shell Programming and Scripting

obtaining a line number in ksh programming

Hi People, how do i obtain the line number of a ksh shell script that i am working on For example in C,when u key in __LINE__ will return u the current line number of the src code. regards wilson (1 Reply)
Discussion started by: wilsontan
1 Replies

6. What is on Your Mind?

Obtaining Security Clearance

I'm looking to move down to the Baltimore, MD area and have been looking for a job for about a week. Many of the opportunities require some form of security clearance, because many of the jobs are government work. My question is how do I go about obtaining the proper clearance? I'm a U.S.... (6 Replies)
Discussion started by: dangral
6 Replies

7. Programming

Obtaining Process information on AIX

I have written a program to collect some performance metrics on and AIX box, but I'm having difficultly getting the process information. I'm lead to believe that I'm not getting the correct information because I'm trying to run the program on AIX 5.1 (5100-03), but I'm not convinced as the... (0 Replies)
Discussion started by: StuBob
0 Replies

8. SCO

Looking for guidance in obtaining a job in Unix Administration

I recently took a training through a college, and have obtained the CUSA certification, but I've been looking and don't see any jobs in unix out there! Does anyone know of hidden job markets in the unix administration area, located in the Detroit - Michigan area? (4 Replies)
Discussion started by: pkali290
4 Replies

9. UNIX for Advanced & Expert Users

Obtaining A Process ID (PID)

Is there any way I can get UNIX to return the Process ID of a process when I actually issue the command to invoke the process? For example, if I was to launch an emacs process in batch mode, by issuing the UNIX command : % emacs file.txt& then UNIX would return the Process ID (PID).... (7 Replies)
Discussion started by: 1cuervo
7 Replies
Login or Register to Ask a Question