Sponsored Content
Full Discussion: dhcp client
Operating Systems SCO dhcp client Post 302245696 by jpradley on Friday 10th of October 2008 05:51:57 PM
Old 10-10-2008
Run netconfig, fill in the various items.
 

9 More Discussions You Might Find Interesting

1. IP Networking

DHCP client & ipchains headache

Hi all, I upgraded my SUSE 6.1 to SUSE 7.1 and at once the following things won't work anymore: 1) My DHCP client is not able anymore to retrieve my IP address from the @home server. It times out all the time. If I use a fixed IP I can get on the net, so there is no physical problem. 2) I... (3 Replies)
Discussion started by: Micky
3 Replies

2. IP Networking

Howto configure AIX DHCP Client ?

I use DHCP on my AIX box at home . I want to connect to my Cable ISP as a DHCP Client . the thing I did was this : smit Communications Applications and Services TCP/IP Use DHCP for TCPIP Configuration and Startup "Select the interface you want to use" en0 "Enter a hostname" OK after... (3 Replies)
Discussion started by: zumbi
3 Replies

3. IP Networking

PUMP DHCP Client

I'm currently using red hat 6.1 and PUMP DHCP Client, I have a Cable Modem from which I aquire my leases. I've configured the lcient corrctly to the best of my knowledge and if get assigned an IP address on the subnet for my local Ubr, however when I go to use any HTTP based program all my requests... (1 Reply)
Discussion started by: r00t.$h3ll
1 Replies

4. Solaris

Solaris Install over WAN(where to keep wanboot.conf file for DHCP client)

I am trying to configure my jumpstart server to install Solaris 10 on a T1000 machine(target) over WAN. I do not know the IP address of the client, i wish the client to get the IP address from DHCP. how do i configure my /etc/netboot hierarchy. One option would be to keep the wanboot.conf in... (1 Reply)
Discussion started by: hemalsid
1 Replies

5. UNIX for Advanced & Expert Users

DHCP client question

hi all, In dhcp client , how to specify no of retiral attempts for getting IP ? man dhclient.conf - has rery timeout but i m looking for attempts Also option nwip.autoretries uint8; - i guess this is for dhcpd server I basically want to expire after the first attempt. Any... (1 Reply)
Discussion started by: ramchan10
1 Replies

6. AIX

How to set dhcp client by using commands

Hi, I have used "smit tcpip" to setup dhcp client but it does not work. Don't know why. Now I want to try using commands to do the job. I have studied commands chdev and mktcpip but did not find howto. Please help. Thank you! (1 Reply)
Discussion started by: aixlover
1 Replies

7. Linux

Linux dhcp client boot process with packets traffic

Hi Everybody, I would like to know the entire network packets exchange, sequence between a linux dhcp client workstation & dhcp server as client comes up starting from OS booting stage as network service starts to the time client gets dhcp IP address. This would be in a typical LAN ... (2 Replies)
Discussion started by: sudhirav
2 Replies

8. IP Networking

DHCP client's IP release query

Hi All, I have two doubts here in DHCP Solaris environment.. could anyone please clarify me? 1. If a new client comes up and it needs an IP to be assigned by a DHCP server, how can it communicate with the DHCP server in the first case without any IP? The SUN doc says something about "BOOTP"... (4 Replies)
Discussion started by: satish51392111
4 Replies

9. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies
GETNETPATH(3)						   BSD Library Functions Manual 					     GETNETPATH(3)

NAME
getnetpath, setnetpath, endnetpath -- get /etc/netconfig entry corresponding to NETPATH component LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <netconfig.h> struct netconfig * getnetpath(void *handlep); void * setnetpath(void); int endnetpath(void *handlep); DESCRIPTION
The routines described in this page provide the application access to the system network configuration database, /etc/netconfig, as it is ``filtered'' by the NETPATH environment variable (see environ(7)). See getnetconfig(3) for other routines that also access the network con- figuration database directly. The NETPATH variable is a list of colon-separated network identifiers. The getnetpath() function returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. The netcon- fig entry is formatted as a struct netconfig. On each subsequent call, getnetpath() returns a pointer to the netconfig entry that corre- sponds to the next valid NETPATH component. The getnetpath() function can thus be used to search the netconfig database for all networks included in the NETPATH variable. When NETPATH has been exhausted, getnetpath() returns NULL. A call to setnetpath() ``binds'' to or ``rewinds'' NETPATH. The setnetpath() function must be called before the first call to getnetpath() and may be called at any other time. It returns a handle that is used by getnetpath(). The getnetpath() function silently ignores invalid NETPATH components. A NETPATH component is invalid if there is no corresponding entry in the netconfig database. If the NETPATH variable is unset, getnetpath() behaves as if NETPATH were set to the sequence of ``default'' or ``visible'' networks in the netconfig database, in the order in which they are listed. The endnetpath() function may be called to ``unbind'' from NETPATH when processing is complete, releasing resources for reuse. Programmers should be aware, however, that endnetpath() frees all memory allocated by getnetpath() for the struct netconfig data structure. RETURN VALUES
The setnetpath() function returns a handle that is used by getnetpath(). In case of an error, setnetpath() returns NULL. The endnetpath() function returns 0 on success and -1 on failure (for example, if setnetpath() was not called previously). The nc_perror() or nc_sperror() function can be used to print out the reason for failure. See getnetconfig(3). When first called, getnetpath() returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. When NETPATH has been exhausted, getnetpath() returns NULL. SEE ALSO
getnetconfig(3), netconfig(5), environ(7) BSD
April 22, 2000 BSD
All times are GMT -4. The time now is 08:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy