Lab 7 - Networking

Lab 7 - Networking

In this lab we will take a look at runlevels and networking.

1. Log in as root (or su -). Edit /etc/inittab to change your default mode to TUI.

2. We will change networking to static IP. Red Hat have a program redhat-config-network-tui to make this easier. The RPMs for this are on Disc 1 if you need to install it. Start this program and set your IP to static, 10.11.9.x, netmask 255.255.0.0, gateway 10.11.0.1.

Restart your network with the command service network restart.

3. There is also a graphical program called redhat-config-network. (The RPMs for these are on Disc 1 if you need to install it.) Run startx to start the graphical interface, then start this program and have a look at it. Make sure that your settings are okay. With the GUI version you do not need to restart your network.

4. Change your DNS zone file(s) to use your new IP address. While you are in there, set your MX to mail and the IP for mail to your computer. Check that it is working using a web browser and your virtual domain names.

5. Have your work checked by the instructor.