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

DHCP Servr configuration



I am attempting to set up a dhcp server and its going rather
slowly.

Would like to have the bare minimum config for a single networked
(windows) machine which I want to give internet access to from my 
debian server.

The debian runs the dhcpcd and is configured thus by the ISP:
  inet addr:24.132.170.14  Bcast:24.132.171.255  Mask:255.255.254.0
So now this machine has internet access.

I configure eth0 as follows:
 ifconfig  eth0 204.254.239.10  up

Here is the dhcp.conf which I had a go at:
---
option domain-name "loots.com";

default-lease-time 600;
max-lease-time 7200;

subnet 128.164.1.0 netmask 255.255.255.0 {
  range 128.164.1.0  128.164.1.20;
  option broadcast-address 128.164.1.10;
}
---
I am sure the broadcast-address is wrong.

/usr/sbin/dhcpd eth0

This manages to configure the client windows machine and I
may telnet from it to the debian.  To get internet access, however,
I experimented manually adding a default route (to both eth0
and eth1 of the debian).  Nothing works to give the windows machine
internet access.

What could I be missing?


-- 
Eric Smith



Reply to: