dhcp.conf help
as a school project i am currently working on setting up a linux server (fedora 11) that will be used as both a web server and a file server. The project is set up as a scenario therefore i'm doing it with VMWare. The server will have two network cards, one of which will connect directly into my school's (CMT) network and get a 192.168.121.something address, and the other will have following information set in it statically.
IP Address: 10.1.2.1
Subnet Mask: 255.255.255.0
Gateway: (leave blank)
DNS: 161.109.127.11 and 161.109.128.2
however hopefully i already have that part set up correctly. The issue came up after installing dhcpd and i had to make the dhcp.conf file with the following information, which i haven't successfully done. I'd be greatfull for any any help given on making the file work properly.
=======================
Install the DHCP server (called dhcpd). Create a configuration file (/etc/dhcpd.conf) and configure it with the following information:
DNS server: 161.109.127.11 and 161.109.128.2
WINS server: 10.1.2.1 (which is the Linux server, by the way)
The configuration file will have three sections.
The top options, which apply to all DHCP clients that get information from this server, and then a section for each subnet you are connected to (in other words, each network card you have in the computer).
One subnet section will be for the 192.168.121.0/255.255.255.0 subnet, which is the CMT network, and you will need to leave this section blank. Put the section in, but don't have anything inside the brackets.
The other subnet section will be for the 10.1.2.0/255.255.255.0 network, and you will need to add a range of IP addresses that the workstations will get, as well as what their gateway will be.
==========================
soo thats about it, if you need any more info just ask and i'll do my best to supply it.
|