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
pppoe-sniff
PPPOE-SNIFF(8) System Manager's Manual PPPOE-SNIFF(8)
NAME
pppoe-sniff - examine network for non-standard PPPoE frames
SYNOPSIS
pppoe-sniff [options]
DESCRIPTION
pppoe-sniff listens for likely-looking PPPoE PADR and session frames and deduces extra options required for pppoe(8) to work.
Some DSL providers seem to use non-standard frame types for PPPoE frames, and/or require a certain value in the Service-Name field. It is
often easier to sniff those values from a machine which can successfully connect rather than try to pry them out of the DSL provider.
To use pppoe-sniff, you need two computers, a DSL modem and an Ethernet hub (not an Ethernet switch.)
If the DSL modem normally connects directly to your computer's Ethernet card, connect it to the "uplink" port on the Ethernet hub. Plug
two computers into normal ports on the hub. On one computer, run whatever software the DSL provider gave you on whatever operating system
the DSL provider supports. On the other computer, run Linux and log in as root.
On the Linux machine, put the Ethernet interface into promiscuous mode and start pppoe-sniff. If the ethernet interface is eth0, for exam-
ple, type these commands:
ifconfig eth0 promisc
pppoe-sniff -I eth0
On the other machine, start your DSL connection as usual. After a short time, pppoe-sniff should print recommendations for the value of
PPPOE_EXTRA. Set this value in /etc/ppp/pppoe.conf. If pppoe-sniff indicates that something special is required in PPPOE_EXTRA, please e-
mail this to pppoe@roaringpenguin.com along with the name of your ISP and the manufacturer and model number of your DSL modem. This infor-
mation will be collated and provided on the PPPoE web page for users who do not have two computers.
After pppoe-sniff finishes (or you stop it if it seems hung), remember to turn off promiscuous mode:
ifconfig eth0 -promisc
OPTIONS
-I interface
The -I option specifies the Ethernet interface to use. Under Linux, it is typically eth0 or eth1. The interface should be "up" and
in promiscuous mode before you start pppoe-sniff.
-V The -V option causes pppoe-sniff to print its version number and exit.
BUGS
pppoe-sniff only works on Linux.
AUTHORS
pppoe-sniff was written by David F. Skoll <dfs@roaringpenguin.com>.
The pppoe home page is http://www.roaringpenguin.com/pppoe/.
SEE ALSO
pppd(8), pppoe(8), pppoe-sniff(8), pppoe-relay(8), /usr/share/doc/pppoe/README.Debian.gz
4th Berkeley Distribution 3 July 2000 PPPOE-SNIFF(8)