theres my dhcpd.conf file....# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
I do not really understand it too well.
Heres the deal. I got eth0 wich gets IP via dhcp from my ISP. I got eth1 wich is assigned the usual 192.168.1.1/255.255.255.0 subnet mask. Mt hostname is "gtwy2k1" and the domain name I gave it was "tampabay.rr.com".
As I said before, the firewall/routing works great if I configure the clients manually, so I do not belive there is anytihng wrong with the normal net settings (do let me know if I am wrong here)
Also....
do I enter my external ethernet IP? Or do I use the internal (LAN) IP here?option routers $YOUR_IP;
and..
I got that part right didn't I ?option broadcast-address $SUBNET_BCAST;
next...
Now for this, I assume I need to enter "tampabay.rr.com"? Is this actually needed? And am I even using the right domain name? are there rules for picking a domain name?option domain-name $YOUR_DOMAIN;
and finally..
this is pretty self-explainatory - right? Just plug in my DNS server list?option domain-name-servers $DNS_SERVER_IP;
thx again...
oh.. yeah...
You said the stuff mentioned goes into the "subnet" section? Ort do I just modify the file as mentioned earlier?




