[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Blue Yonder + Linux



Hi,

> > I'm using SuSE 6.2  and managed to get dhclient to pick up an IP address
for
> > my ethernet card last night. As I have heard people say use dhcpcd
rather
> > than "pump" i was wondering what issues there may be with dhclient that
I am
> > unaware of.

I have used "pump" on the sheffield university net with no problems but then
again I've never tried dhcpcd so I could not compare - but as you I have
heard it is more robust.

> I had problems getting dhclient to renew the lease properly - when
> sending a DHCP_RENEW, no response was received...still trying to bottle
> this one down as it seems that any DHCP request sent straight to a
> server, rather than broadcasted, doesn't get a response...dhcpcd exhibits
> the same behaviour but if a direct send fails it does a broadcast and
> that works. Still trying to trace this one.

>From my knowledge of DHCP then this is exactly how it should work according
the standards that define the DHCP protocol.
1. The client (whether renewing or not IIRC) *broadcasts* a request
2. Server/s broadcasts a reponse with an offer (of an IP address)
3. Client considers the offer/s it has received (there may be more than one
DHCP server on the network) and then tells each server (via broadcast)
whether it has accepted/rejected its offer.

(Don't forget the client doesn't have valid IP address until after step 4)

Simple - well not really but you get the idea. ;-)

> > Also I'm wondering how best to set up the /etc/rc.config, and configure
the
> > start up stuff so that dhcp is done before IP masquerading and ip
chains.
> >
> > At the moment I have set up in rc.config eth0 to have ip adress 0.0.0.0
> > subnet 0.0.0.0 and gw 0.0.0.0 and then run  dhclient eth0 manually.
> >
> > Surely there is a better way though - any pointers?
> >

Redhat (and Mandrake) have a file in /etc/sysconfig/network IIRC which
allows you to select your chosen protocol (i.e. BOOTP/DHCP/NONE).  So when
the interface is ifup'd the ip address is set automatically. Unfortuantly
Suse not a clue - sorry.

Mark

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.