
Configuring a DHCP Client Under Linux
Finding Linux systems in corporate networks, whether on servers or client stations,
is more and more frequent. Therefore, it is important for the administrators of pro-
fessional networks to know how to configure a DHCP client under Linux.
Before starting the configuration of the DHCP client, it should be ensured that
the Ethernet board runs under Linux. If this is not the case, drivers must be installed
for this board.
Under Linux, there are two widespread DHCP clients: dhclient and pump,
which are available in all Linux distributions.
A DHCP client can be configured manually by entering dhclient eth0 or pump
eth0, depending on the client concerned, with eth0 being the network interface, or
automatically, by modifying the /etc/pcmcia/networks.opts file.
As in the case of Windows, just enter ifconfig eth0 to know the status of the
board parameters and to know if this board is actually configured. If the board has
not been configured by the DHCP server, no IP address appears:
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:02:2D:4C:05:B8
inet addr:10.0.0.2 Bcast:10.0.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:3 Base address:0x100
268 PLC for Businesses
Figure 11.16 Story network architecture with several PLC segments
Comentarios a estos manuales