[96844] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: DHCP accross router??

daemon@ATHENA.MIT.EDU (Josh Kuperman)
Thu Oct 29 15:31:59 1998

Date: Thu, 29 Oct 1998 15:24:34 -0500
To: redhat-list@redhat.com
From: Josh Kuperman <sar_kuper@sals.edu>
In-Reply-To: <Pine.LNX.4.04.9810271851350.28645-100000@sparrow.websense.
 net.>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

This gets weirder and weirder. The router lets bootp work accross the
router as well so I'm pretty sure the message is getting through to the
DCHP server. I tried repeatedly to change the configs and restart the
networking. The DHCP server is on a Dec Alpha VAX. I tried to run
/sbin/dhcpcd with numerous options including -r, but the result was always
the same. I would get a message to the log that said

no DHCPOFFER

and then it would die. The only option I can imagine is something to do
with the Identification. I don't know how the machine identifies itself to
the server in Windows 95. 

I downloaded the a version of DHCP that included a client and server from
http://www.isc.org/dhcp.html

At 07:11 PM 10/27/98 -0500, you wrote:
>Good day, Josh,
>
>On Tue, 27 Oct 1998, Josh Kuperman wrote:
>
>> I was a little unclear. My problems are as follows:
>> 1. I don't have access to any configuration information about the router or
>> the DHCP server.
>> 2. Windows 95 works fine. I can run the program winipcfg.exe and it will
>> allow me to release and to gain an IP from the DHCP server. I don't know of
>> a similar program that runs under linux, other running
>> /etc/rc.d/init.d/network to start and stop the networking.
>
>	If you've got W95 to get a dynamic address, Linux can probably do
>so as well.  Try the following:
>	- make sure the dhcpcd packages is installed.  Note: this is the
>dhcpcd (DHCP Client Daemon) that _gets_ an address from a server; not the
>dhcpd (DHCP Daemon), which _hands out_ addresses to other clients.
>	- edit /etc/sysconfig/network-scripts/ifcfg-eth0 (replace eth0
>with the appropriate ethX if you have more than one network card) and make
>sure it has the lines:
>DEVICE=eth0		#Or whatever your interface is
>ONBOOT=yes
>BOOTPROTO=dhcp
>	I'd suggest having the rest of the lines end at "=", like:
>IPADDR=
>
>	- run "tail -f /var/log/messages" on another terminal to see any
>diagnostic messages that come up if you'd like.
>	- run "/etc/rc.d/init.d/network stop ; /etc/rc.d/init.d/network
>start"
>	- "ifconfig eth0" should show your new IP address, and "route -n"
>should show your new default gateway in the "Gateway" column.
>
>> 3. The only DHCP specific link I could find at
>> http://sunsite.unc.edu/LDP/links.html was
>> http://www.sghms.ac.uk/~mpreston/tools.htm which is a dead link.
>
>	http://www.isc.org/dhcp.html has some good info and a dhcp client,
>server, and relay package.  Note: you do not need to install the software
>from here; the dhcpcd package should be all you need for the moment.
>
>> 4. I downloaded all the latest drivers from
>> http://cesdis.gsfc.nasa.gov/linux as well as the diagnostic programs for my
>> card and couldn't find anything interesting, i.e. they ran and I still
>> don't have a clue.
>
>	The dhcp protocol doesn't depend on specific features in your
>network card driver [*]; it just needs the dhcpcd software to run.
>	By the way, there's probably an easier way to configure this via
>control-panel, but it's easier to give instructions this way.
>	Let me know if you have any more problems.  Cheers,
>	- Bill
>
>
>> At 11:14 AM 10/27/98 -0500, I wrote:
>> >I need my Linux machine to get its IP address through DHCP. The DHCP
server
>> >is only reachable through a router. I am having trouble finding out how to
>> >configure machines to use DHCP and how to debug DHCP in general. I have
>> >found nothing on how to do this. Any pointers are 
>> >appreciated.
>
>
>[*] Not strictly true; the card and driver do need to be able to handle (I
>think) broadcasts and promiscuous mode; you'd be hard pressed to find an
>Ethernet card that was supported under linux that _couldn't_ handle these
>standard requirements.
>
>

--
Josh Kuperman        Saratoga Springs Public Library
sar_kuper@sals.edu   49 Henry St  
518.584.7860x211     Saratoga Springs, NY 12866
http://www.library.saratoga.ny.us 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post