Possible DHCP server and gateway (got DHCP server working though)

Discussion in 'Server Operation' started by j.smith1981, Jul 23, 2010.

  1. j.smith1981

    j.smith1981 New Member

    I would like to know the best tutorial for setting up a decent DHCP server for some kind of maybe hardware firewall?

    I have setup the DHCP server though to get it on my Linux box using Centos v4 but thats all I have done.

    Cant believe how simple it really was, here's my config anyways:

    # DHCP Server Configuration file.
    #   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
    ddns-update-style interim;
    ignore client-updates;
    subnet netmask {
    # --- default gateway
    	option routers;
    	option subnet-mask;
    	option nis-domain		"hsmedia.co.uk";
    	option domain-name		"hsmedia.co.uk";
    	option domain-name-servers;
    	option time-offset		-18000;	# Eastern Standard Time
    #	option ntp-servers;
    #	option netbios-name-servers;
    # --- Selects point-to-point node (default is hybrid). Don't change this unless
    # -- you understand Netbios very well
    #	option netbios-node-type 2;
    	range dynamic-bootp;
    	default-lease-time 21600;
    	max-lease-time 43200;
    	# we want the nameserver to appear at a fixed address
    	host ns {
    		next-server hsmedia.co.uk;
    		hardware ethernet 00:06:4F:65:D7:AF;
    Is this the best way to do the DHCP server part, how would I secure websites being received by the server, ie to help prevent malicious attacks on my work computers so they dont get hacked, ie using some kind of hardware firewall?

    I would really appreciate how to firm this system up so I can not have to bother with firewalls on my computer preferably.

    I look forward to your replies,
  2. j.smith1981

    j.smith1981 New Member

    I have sorted it.

    Just used an example off the web for the proper dhcp configurations.

    This one wasnt behaving (the example above), the way I wanted it to, but it is now.

    Thanks for everyone whos had a look and tried something out though, but just wanted to close this post.

    Kind regards,

Share This Page