Florin Grad wrote:

> [EMAIL PROTECTED] (Udo Weber) writes:
>
> >
> > Hi,
> > I read all replys and all talked about my or differnt other netmasks.
> > I think it does not make sense to talk about if and which netmask I should use,
> > fact is that my netmask is legal and should work.
> > Maybe this was a little bit confusing, I had put the netmask it in my ifcfg-tr0.
> > But now I have removed it from there and pump take the netmask
> > provided from the dhcp-server. This netmask 255.255.240.0 is the
> > offical netmask which is used by all clients in our network.
> > So I have to use this netmask too.
> >
> > In the past I think, the dhclient got the netmask correctly and
> > was working well without special config-files.
> > Should I now create a dhclient.conf ?
> > or is this a bug in dhclient ?
> >
> > Udo
>
> Hi there,
>
> as I said:
>
> I physically isolated a network and tried dhcp-(server|client) with your
> exact IPs and netmask and it worked without any /etc/dhclient.conf
> present. It surely took about 3-4 seconds while getting the dynamical IP but
> it surely worked for me.
>
> You said before that dhclient client worked for some previous releases
> and then you said it doesn't work anymore even with 7.1 packages.
>
> I found some little bugs in the initscripts (the /sbin/ifup and
> /etc/sysconfig/network-scripts/ifcfg-eth0 files and sent them to chmouel) but only
> concerning dhcpcd. The syntax was correct for pump but not for dhcpcd...
>
> Do you have dhcpcd package installed ? This may inhibit the dhclient for doing
> its correct job.
>
> --
> Florin                          http://www.linux-mandrake.com

Hi,
currently I have installed only following files:
[root@mumpel 2]# rpm -qa |grep dhcp
dhcp-client-3.0b2pl9-2mdk
[root@mumpel 2]# rpm -qa |grep pump
pump-0.8.2-1mdk
pump-devel-0.8.2-1mdk

with the result that ifup tr0
use as default pump to get the IP and it works.
without installed pump the result is the dhclient get the IP and after this silence.

Now I installed additional dhcpcd, result:
[root@mumpel /root]# ifup tr0
Determining IP information for tr0 via dhcpcd... failed.

Nothing else.

It's very confusing to me that there are so much different different dhcp-related
rpm-packages,
all other distributions (e.g. SuSE or RedHat ) have not more as 3 rpm's which are
working after
a default installation - not in Mandrake.
What rpm's do I have to install in Mandrake, how can I specify which client should be
take as default ?

I have some add. infos here - maybe this will help to find the problem:
I have another system running RedHat 7.0 and SuSE 7.0 in the same network also with
tr0.

RedHat also works only if pump is installed, the plain dhclient don't works, this
means same
problem like in Mandrake.

SuSE has only installed the dhclient (dhclient-2.0pl3-3) , no pump binary installed
and it
works well without any additional config-work.

cat /var/lib/dhcp/dhclient.leases
lease {
  interface "tr0";
  fixed-address 9.165.172.28;
  option subnet-mask 255.255.240.0;
  option routers 9.165.160.1;
  option domain-name-servers 9.165.160.2,9.165.160.3,9.165.1.20;
  option host-name "dhcp1-29";
  option domain-name "berlin.de.ibm.com";
  option dhcp-lease-time 3600;
  option dhcp-message-type 5;
  option dhcp-server-identifier 9.165.160.2;
  renew 1 2000/10/23 13:51:58;
  rebind 1 2000/10/23 14:14:28;
  expire 1 2000/10/23 14:21:58;
}


Should this tell us that all RedHat-based distributions (inc. Mandrake) have a
problem in the
netconfig (or dhcp-client config) ?

Udo

Reply via email to