Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - Fedora17

36 bytes added, 10:28, 25 March 2011
no edit summary
{{Admon/note | Note! | Even though DHCP gives out IP address dynamically, it also has the ability to reserve an IP address for a certain computer. In this sense it's almost as if the client computer has a static IP even though it uses DHCP to get it. This is useful if you want to be able to put entries in your /etc/hosts file and not have to worry about the entry becoming invalid over time. In Linux we refer to this as supplying a fixed address to a host. Microsoft calls it a reservation.}}
* # Create a host declaration for fedora2. Make sure you record the correct <code>hardware ethernet</code> setting that corresponds to the MAC address of the interface in fedora2.* # Give it the fixed-address 192.168.235.12
{{Admon/tip | Note! | When supplying fixed-address it is important that the address assigned is exclusive of any ranges that have been declared. Otherwise it may be possible for 2 different hosts to receive the same address.}}
* # Start your service and test the address assignment by releasing your current address on fedora2 and then requesting a new address. Use the following commands on fedora2:*::* <code>dhclient -r eth1</code>*::* <code>dhclient eth1</code>* <ol><li value="4">Confirm that you received the fixed address you were supposed to.</li>* <li>Answer the Investigation 7 question in your log book.</li></ol>
== Completing the lab ==
13,420
edits