Re: /etc/dhclient.conf not recognised





L.V.Gandhi wrote:
I have dhcp server in my ADSL modem cum router. I have following lines
in /etc/dhclient.conf
lease {
interface "eth1";
option host-name "lvghomepc";
fixed-address 192.168.1.2 <http://192.168.1.2>;
}
But ifconfig gives the following results.
eth1 Link encap:Ethernet HWaddr 00:26:54:0E:8E:C0
inet addr:192.168.1.4 <http://192.168.1.4>
Bcast:192.168.1.255 <http://192.168.1.255> Mask:255.255.255.0
<http://255.255.255.0>

I want to connect a laptop and pc to this dhcp server by their
respective ethernet ports and do lan jobs between pc and laptop.
Where am I doing mistake?
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042

Will your DHCP server allow you to bind to 192.168.1.2? If not, then
your DHCP client won't be able to override the server. Something else
to consider is that if your client already has bound to 192.168.1.4 in
the past, you might have to clear out some old leases in order to get it
to bind to the new IP number.

--John


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Can not logon cause physical address change
    ... > a tcp/ip address from your DHCP server so machine wasn't ... So I deleted the reserviced IP lease for my laptop on the DHCP ... >> could not repair my connection, contact your isp or network administrator. ...
    (microsoft.public.windows.server.networking)
  • Re: Cannot connect to network anymore
    ... Can the laptop connect on any other network? ... Do you know the network topography or the IP of the dhcp server? ... Can you ping anything from your laptop? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: NIC cant connect to workgroup
    ... What is the lease length set to in your DHCP server? ... > used to enable or disable them, suggest you check your laptop user manual ... dynamics are open. ...
    (microsoft.public.windows.mediacenter)
  • Re: New User- Network Problem
    ... WAP for laptop, and several other PC's i've built. ... DHCP server is OFF in the router. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: /etc/dhclient.conf not recognised
    ... > I have dhcp server in my ADSL modem cum router. ... IMost probably lease time was the problem. ... from each computer on your network. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)

Loading