Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - Fedora17

1,256 bytes added, 15:49, 24 March 2010
no edit summary
* Study the sample <code>dhcpd.conf</code> file to see examples of how these options are used.
* Answer the Investigation 2 question in your log book.
 
=== Investigation 3: How do I configure dhcpd settings to be applied to all subnets?===
{{Admon/note | Note! | Complete the following steps on your fedora3 VM.}}
 
* Edit <code>/etc/dhcp/dhcpd.conf</code> and examine the top section of the file.
* Make the following changes to the global settings:
** <code>domain-name</code> should be set to "ops235.org"
** <code>domain-name-servers</code> should be set to 192.168.235.1
** <code>default-lease-time</code> should be set to 20 minutes
** <code>max-lease-time</code> should be set to 1 hour
* Answer the Investigation 3 question in your log book.
 
{{Admon/note | Note! | As global settings these will affect all subnets unless they are separately declared for individual subnets.}}
 
=== Investigation 4: How do I configure dhcpd to provide IP configuration to my virtual network?===
{{Admon/note | Note! | Complete the following steps on your fedora3 VM.}}
 
* Edit <code>/etc/dhcp/dhcpd.conf</code> and add a new subnet delcaration for your virtual network
* The network address is 192.168.235.0/255.255.255.0 and the range of host addresses should be from 51 to 60
* Also add a default gateway for the virtual network of 192.168.235.1
* Save the file and attempt to start the <code>dhcpd</code> service.
9
edits