Hi all,
Ok, I feel kind of silly, I am sure you will laugh but I am new to these kinds of things. I am working on my server and got as far as DHCP, and now I am hung up. My setup: I have two network cards, one will route data from the internet, the other will serve clients. Simple. The routing works great, but DHCP, not so well.
Here is a copy of my dhcp.conf file; the 192.168.254.xxx is the network my FreeBSD will serve. It is supposed to offer 20-150 for the clients. 192.168.255.xxx is the network that is being served. That number will change, for this is a test setup.
dhcpd.conf file:
Ok, I feel kind of silly, I am sure you will laugh but I am new to these kinds of things. I am working on my server and got as far as DHCP, and now I am hung up. My setup: I have two network cards, one will route data from the internet, the other will serve clients. Simple. The routing works great, but DHCP, not so well.
Here is a copy of my dhcp.conf file; the 192.168.254.xxx is the network my FreeBSD will serve. It is supposed to offer 20-150 for the clients. 192.168.255.xxx is the network that is being served. That number will change, for this is a test setup.
dhcpd.conf file:
Code:
#options and netmask
#Place a domain name here if you have one.
#You can make one up. If you do not have a real domain name do not use a real one
#and do not use a real end like .com ,.net ,.org. Use something like "unreal.fakenet"
option domain-name "home.bsd" ;
#replace xxx with the IP of the DNS.
#If you have more than one use a comma between them
option domain-name-servers 66.234.112.70, 66.234.112.71;
#IP of the gateway if you have one comment out this line if you don't have one.
option routers 192.168.255.254 ;
#the dynamic DNS update
ddns-update-style none;
#lease times in seconds for clients
default-lease-time 3800;
max-lease-time 18000;
# IP subnet netmask and lease range of addresses
subnet 192.168.254.0 netmask 255.255.255.0 {range 192.168.254.20 192.168.254.150;}
#The subnet mask for the client
option subnet-mask 255.255.255.0;
#end of dhcpd.conf