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

/etc/dhclient.conf not recognised



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;
}
But ifconfig gives the following results.
eth1      Link encap:Ethernet  HWaddr 00:26:54:0E:8E:C0
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask: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
Reply to: