0

Hello,

Pls can someone help me.......I want to setup a DHCP server(Linux), to take care of my LAN routing. I also want to install/setup dansguardian(to block pornography), and have a firewall running.

Pls can you advise me on how to install and get my server running.

cheers
toks

2
Contributors
2
Replies
3
Views
11 Years
Discussion Span
Last Post by Tokunbo
0

That's kind of a broad question. Have you tried google searches for each of your topics? I'm not entirely sure that a forum is the best place for step-by-step instructions on ground-up server configuration...

0

hi alc6379,

Yes Pls ive googled a lot, and I cant just put it together. Whenever I try starting my dhcp service, it fails.

I have 2NICs, the first eth0 is configured with a static IP, and I can connect to the web thru it. The second one eth1 is the one i want to use for the dhcp. here is my dhcpd.conf file, i sourced frm the web.
"
# Sample /etc/dhcpd.conf
# (add your comments here)
ddns-update-style ad-hoc;
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";

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;
}
"
referring to http://www.tldp.org/HOWTO/DHCP/x369.html,

If i do a "/usr/sbin/dhcpd eth1", i get the error
"No subnet declaration for eth1 (0.0.0.0).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **"

1) Pls, how can i associate this dhcpd.conf to eth1.
2) which of the option declarations in my file above refers to the default gateway from my ISP and the IP on eth0.

cheers
toks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.