Linux DHCP Release on boot


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Linux DHCP Release on boot
# 1  
Old 04-21-2010
Linux DHCP Release on boot

Hi All-

I have an assigned static IP address on my Linux box and was wondering if there is a way to change that to a DHCP without actually logging in?

Possibly a hot key I can press prioir to login?

I am running Centos

Thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

DHCP option 90 Configuration on Linux

Hello Friends, I am looking for the configuration steps to enable option 90 on Linux DHCP server.Also i need to add secret id to be configured for option 90. can someone help me in providing the steps with parameter values . Thanks in advance, Veera (0 Replies)
Discussion started by: veera_s99
0 Replies

2. Linux

Dhcp in use or not for Linux machine

Hi All. Can anyone let me know the smartest and fullprrof method of checkking whther any given linux machine is using DHCP or not? # ps -ef | grep dhcp gives output like below : root 3251 3128 0 11:02 pts/0 00:00:00 grep dhcp so i dont think its full proof method , please... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

3. 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

4. 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

5. Linux

How to configure Dhcp in linux?

Please let me know step by step, I am new to this configuration.... (2 Replies)
Discussion started by: dhineshcs
2 Replies

6. Linux

Porting DHCP from Linux to VxWorks

Hello All, I have a code of DHCP which is implemented on Linux. During porting this code from Linux to VxWorks, I come up with following errors:- jects\freedom\ap\udhcp\socket.c C:\projects\freedom\ap\udhcp\socket.c: In function `read_interface': C:\projects\freedom\ap\udhcp\socket.c:79:... (1 Reply)
Discussion started by: Sunny Shivam
1 Replies

7. Red Hat

linux will not boot, boot to grub prompt

my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot. The machine come up to grub prompt. I tried the following from grub prompt root (hd0, then press tab key partition num:0 filesystem type unknown, partition type 0x83... (7 Replies)
Discussion started by: hassan2
7 Replies

8. IP Networking

DHCP and unix/linux

I have 5 unix and 1 linux machines and due to requirements I must have static IPs, its necessary for documentation and such. We are looking at going to DHCP but how can I "fool" these computers into thinking they have static Ips? Our lan admin said something about putting a second IP tied to the... (6 Replies)
Discussion started by: kymberm
6 Replies

9. UNIX for Dummies Questions & Answers

How do I set up DHCP on Linux

I have linux box setup and connected to a cable modem via a hub which is shared with other win98 pcs. I need to set up the linux box with dhcp. I have two issues: First: For some reason, every time I activate the eth0 interface, it seems to deactivate itself after some time all by itself.... (1 Reply)
Discussion started by: alam
1 Replies

10. UNIX for Dummies Questions & Answers

DHCP Release/Renew

Are there any UNIX commands that will release and renew a DHCP lease? If not, is there a third party utility that would do this? (4 Replies)
Discussion started by: muffy
4 Replies
Login or Register to Ask a Question
dhcpparm(8)						      System Manager's Manual						       dhcpparm(8)

NAME
dhcpparm - Daemon for client configuration SYNOPSIS
/usr/sbin/dhcpparm [-i interface] tag | symbol | name OPTIONS
Use this option on hardware that has two or more interfaces configurable by the Dynamic Host Configuration Protocol (DHCP), and for a parameter that is interface specific. When no interface is specified, the client daemon returns the name of the first interface it finds on which DHCP has successfully completed: the value(s) displayed will be those of the configuration received on that interface. DESCRIPTION
The dhcpparm command displays the value(s) of the parameter requested on the command line as supplied by the DHCP protocol. If the DHCP parameter implies more than one value (for example, a list of gateways), the values are displayed separated by newline characters. The parameter may be identified either by its numeric value in the DHCP protocol, by its two character symbol, or by its long name. The dhcp- parm command is intended to be used in command substitutions in the shell scripts invoked by init at system boot. It first contacts the DHCP client daemon (joinc) to verify that DHCP has successfully completed. When the -i option specifies a particular interface, the daemon verifies successful DHCP configuration of that interface; otherwise, the client verifies that at least one interface is successfully con- figured, and supplies the name of that interface to dhcpparm. Parameter values echoed by dhcpparm should not be used without checking exit status. See the EXIT STATUS section below. RESTRICTIONS
A cluster member should never be a DHCP client; it should always use static addressing. If a cluster is to support a DHCP server, there can only be one DHCP server for all the cluster members using a common database with failover. If a cluster is to support a DHCP server, there can only be one DHCP server for all the cluster members using a common database with failover. DHCP client is not supported on dataless clients. SYMBOLS
See dhcptags(4) for the list of two letter symbol codes and names of all DHCP parameters. See RFC 1533 for more detail. EXIT STATUS
Exit codes are as follows: Success. DHCP was not successful. The DHCP client daemon may not be running, the interface might have failed to configure, or no satisfactory DHCP responses were received. Bad arguments. A timer was set and the interface had not configured before it expired. Can only be run as root. Some system error (should never occur). SEE ALSO
Commands: dhcpconf(8), joinc(8), showdhc(8), shleases(8) Files: client.pcy(4), dhcptags(4) RFC1533 dhcpparm(8)