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:

    Code:
    #
    # DHCP Server Configuration file.
    #   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
    #
    ddns-update-style interim;
    ignore client-updates;
    
    subnet 192.168.0.0 netmask 255.255.255.0 {
    
    # --- default gateway
    	option routers			192.168.0.1;
    	option subnet-mask		255.255.255.0;
    
    	option nis-domain		"hsmedia.co.uk";
    	option domain-name		"hsmedia.co.uk";
    	option domain-name-servers	192.168.0.2;
    
    	option time-offset		-18000;	# Eastern Standard Time
    #	option ntp-servers		192.168.1.1;
    #	option netbios-name-servers	192.168.1.1;
    # --- 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 192.168.0.128 192.168.0.254;
    	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;
    		fixed-address 192.168.0.2;
    	}
    }
    
    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,
    Jeremy.
     
  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,
    Jeremy.;)
     

Share This Page