How do I set up DHCP on Linux

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How do I set up DHCP on Linux
# 1  
Old 09-15-2001
Question 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.
Second: when I am able to activate the eth0 interface and run the ifconfig command from the xterm screen, I always get the ip address associated with the lo interface. For some reason, it doesn't recognize the eth0 and even try to get an ip over dhcp.

finally, if I try to ping another machine on the network, I always get network unreachable.

thank you.

Last edited by alam; 09-15-2001 at 11:55 AM..
# 2  
Old 09-15-2001
From you questions, I gather that you are new to
networking in general. Here are a couple of links
to check out that will help you get started...

Linux DCHP...

Linux and Windows DHCP networking...

I would recommend further research as well.
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. HP-UX

Ignite-ux and dhcp server Linux

I try to start a integrity vm machine using ignite-ux and my usual dhcp server on linux. Ip of server ignite is = Ip of dhcpd is = Ip of client vm = I try to boot from lan Booting over the network Loading.: lanboot Client MAC Address: XXXXXXXXXX ..... (5 Replies)
Discussion started by: Linusolaradm1
5 Replies

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

4. Red Hat

How to set DHCP by using Virtualbox?

Hi, Guys, I met a question. I've installed the Oracle Virtualbox in my laptop, whose OS is Windows XP. And I've installed two CentOS 6.4 in the virtualbox : test1, test2. I wanted the test1 to be the DHCP server and assigned IP Address to the test2. I knew the principle : step 1: install... (3 Replies)
Discussion started by: franksunnn
3 Replies

5. UNIX for Dummies Questions & Answers

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! (0 Replies)
Discussion started by: jvpike
0 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

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

8. IP Networking

Porting DHCP from Linux to VxWorks

DHCP Porting (2 Replies)
Discussion started by: Sunny Shivam
2 Replies

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

10. IP Networking

DHCP Linux and cable modem

I can do all this in windows, but Im trying to run the SuSe 8.0 professional as a gateway. I have the local (private) LAN setup with no problems, but Im having troubles getting it to use DHCP to go out on the external card to the service provider, which only uses Dynamic IP's. WHere, what and how... (3 Replies)
Discussion started by: ftn96
3 Replies
Login or Register to Ask a Question