09-15-2001
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 127.0.0.1 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..
10 More Discussions You Might Find Interesting
1. IP Networking
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
2. IP Networking
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
3. IP Networking
DHCP Porting (2 Replies)
Discussion started by: Sunny Shivam
2 Replies
4. Linux
Please let me know step by step, I am new to this configuration.... (2 Replies)
Discussion started by: dhineshcs
2 Replies
5. AIX
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
6. UNIX for Dummies Questions & Answers
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
7. Red Hat
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
8. Linux
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
9. HP-UX
I try to start a integrity vm machine using ignite-ux
and my usual dhcp server on linux.
Ip of server ignite is =192.168.0.16
Ip of dhcpd is = 192.168.0.2
Ip of client vm = 192.168.0.18
I try to boot from lan
Booting over the network
Loading.: lanboot
Client MAC Address: XXXXXXXXXX ..... (5 Replies)
Discussion started by: Linusolaradm1
5 Replies
10. IP Networking
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
LEARN ABOUT DEBIAN
dhcp-helper
DHCP-HELPER(8) System Manager's Manual DHCP-HELPER(8)
NAME
dhcp-helper - A DHCP/BOOTP relay agent.
SYNOPSIS
dhcp-helper [OPTION]...
DESCRIPTION
dhcp-helper is a DHCP and BOOTP relay agent. It listens for DHCP and BOOTP broadcasts on directly connected subnets and relays them to DHCP
or BOOTP servers elsewhere. It also relays replies from the remote servers back to partially configured hosts. Once hosts are fully config-
ured they can communicate directly with their servers and no longer need the services of a relay.
OPTIONS
The only required option is at least one DHCP server to relay to. The simplest way to configure dhcp-helper on a router is just to give the
interface to the network containing the DHCP server with a -b option. All the other interfaces present on the machine will then accept DHCP
requests. On a machine which does not have an interface on the network containing the DHCP server, use a -s option instead.
-s <server>
Specify a DHCP or BOOTP server to relay to. The server may be given as a machine name or dotted-quad IP address. More than one
server may be specified.
-b <interface>
Relay to a DHCP or BOOTP server using broadcast via <interface>. This eliminates the need to give a server address. <interface> is
automatically added to the list of interfaces which will not receive DHCP requests.
-i <interface>
Specify which local interfaces to listen on for DHCP/BOOTP broadcasts. If no -i flags are given all interfaces are used except those
specified by -e flags and those specified by -b flags.
-e <interface>
Specify which local interfaces to exclude.
-p Use alternative ports (1067/1068) for the DHCP client and server.
-v Report the software release version and copyright information.
-d Debug mode, do not change UID, write a pid-file or go into the background.
-r <file>
Specify an alternate path for dhcp-helper to record its process-id in. Normally /var/run/dhcp-helper.pid.
-u <username>
Specify the userid to which dhcp-helper will change after startup. The daemon must normally be started as root, but it will drop
root priviledges after startup by changing id to another user. Normally this user is "nobody" but that can be over-ridden with this
switch.
NOTES
Dhcp-helper requires a 2.2 or later Linux kernel. The "Linux packet filter" and "packet socket" facilities are not required, which is the
chief advantage of this software over the ISC DHCP relay daemon.
AUTHOR
This manual page was written by Simon Kelley <simon@thekelleys.org.uk>.
DHCP-HELPER(8)