Entry
Operating system: Linux:Network: IP:Refresh: DHCP: Pump: What is 'pump' command? [dhclient / VMWare]
Dec 3rd, 2003 17:52
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 22 November 2003 - 10:52 pm -------------------
Operating system: Linux:Network: IP:Refresh: DHCP: Pump: What
is 'pump' command? [dhclient / VMWare]
---
If you want to get a new IP address assigned from your DHCP server,
use the command
pump
or also
dhclient
---
DHCP (Dynamic Host Configuration Protocol) and BOOTP (Boot Protocol)
are protocols which allow individual devices on an IP network to get
their own network configuration (IP address, subnetmask, broadcast
address, etc...) from network servers.
The overall purpose of DHCP and BOOTP is
to make it easier to administer a large network.
Pump is a combined BOOTP and DHCP client daemon, which allows your
machine to retrieve configuration information from a server.
You should install this package if you are on a network, which uses
BOOTP or DHCP.
---
[book: source: Red Hat Linux installation guide - p. 324]
---
---
Note: you might have to wait a while after typing this command,
until it the cursor returns on the command line.
---
---
Note
If you are using VMWare (v4.0.5 for Windows workstations), and you get
the message 'Network is unreachable' or similar, check if your VMWare
Network settings is set to 'NAT': goto VMWare, menu 'Edit'->'Removable
devices'->'NIC'->'Edit', enable option 'NAT: Used to share the host's
IP address'->'OK', and make sure that it is connected.
---
---
Tested in:
Linux Debian v3: use 'dhclient'
---
Linux Mandrake v9: 'dhclient' and 'pump' are not known
(Solution:
Install the DHCP packages:
1. run 'drakconnect' from the command line, and enable
option 'dhcp' in your network card, this will install
(using grpmi) the DHCP programs from CD1, click 'OK' to install.
2. That will install the package
/var/cache/urpmi/rpms/dhcpcd-1.3.22pl1-3mdk.i586.rpm
3. Then enable radio button 'Yes' to restart the network.
4. Click button 'Finish' when finished)
---
Linux Red Hat v8: use 'dhclient'
---
Linux Red Hat v9: use 'dhclient'
e.g. type the commands:
cd /sbin
./dhclient
---
Linux Slackware v9: use 'dhclient'
---
Linux SuSE v9: 'dhclient' and 'pump' are not known
(this because you have to choose 'dhcp' when installing SuSE v9, and I
skipped this step).
(Tried as a solution:
Install the DHCP packages:
1. -run 'yast' from the command line
2. -select from list 'Network services'
3. -<TAB> to move to the right pane
4. -choose 'DHCP'
5. -this will install the DHCP package
6. -<ENTER> to continue
7. -this will ask to install SuSE CD3
8. -this will install the packages
dhcp-server-3.0.1rc12-9.i586
9. -but this seemed to install the
dhcp server, and not the dhcp client.
10. -after restarting SuSE it still did
not let it work correctly
---
Linux Turbolinux v8: use 'dhclient'
---
---
If you can not find dhclient or pump, search it on the
installation CDs and install it with
draknet in Mandrake
apt-get in Debian
rpm in Red Hat and Turbo Lunix
yast in SuSE
and so on.
---
---
Note: you might have to connect and disconnect your VMWare
network card (NIC), via VMWare menu 'Edit'->'Removable devices'->
'NIC'->'Disconnect' then 'connect again', then type the command
again, if this command does not react.
---
---
Internet: see also:
---
QED Quick Config of Your NIC!
http://www.informit.com/isapi/guide~linux/seq_id~63/guide/content.asp
http://www.informit.com/isapi/guide~linux/seq_id~64/guide/content.asp
----------------------------------------------------------------------