Setting up a RedHat Linux and Apache Web Server

Linux Installation (continued):
Bringing Up the Network
Once you are sure that your ethernet card is recognized by the kernel, you will want to bring up your network. I recommend to start by bringing up a connection between two machines on your internal network. There are several ways to do this:
 
1. Do it by hand.
2. Use Linuxconf.
3. Use the Control Panel
 
On RedHat 5.2, I would recommend against using Linuxconf or using it with caution as it tends to make errors and can mess up your configuration. With each release of Linuxconf, this situation is improving. If you have the X Window System up and running, I recommend using the Control Panel. It is quite simple, but does an excellent job of configuring the network as well as printers. In my case, I started by bringing up the network by hand as outlined in the trouble shooting chapter (2) of "LINUX Network Toolkit", by Paul G. Sery. In brief the procedure is to enter the command:
  ifconfig
   
which should give something that looks roughly like the following:
  eth0      Link encap:Ethernet  HWaddr 00:A0:5F:C8:7A:95  
            inet addr:194.38.85.183  Bcast:194.38.85.191  Mask:255.255.255.224
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:1376643 errors:0 dropped:0 overruns:0 frame:0
            TX packets:5364 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100 
            Interrupt:5 Base address:0x300 

  eth1      Link encap:Ethernet  HWaddr 00:A9:5A:B9:2B:9C  
            inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:3798103 errors:1 dropped:0 overruns:0 frame:1
            TX packets:3932138 errors:0 dropped:0 overruns:0 carrier:435
            collisions:0 txqueuelen:100 
            Interrupt:10 Base address:0xe400 

  lo        Link encap:Local Loopback  
            inet addr:127.0.0.1  Mask:255.0.0.0
            UP LOOPBACK RUNNING  MTU:3924  Metric:1
            RX packets:7526 errors:0 dropped:0 overruns:0 frame:0
            TX packets:7526 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 

  
If your "ifconfig" command does not print something similar, it is probably because you do not have the ethernet cards installed; they were not recognized because of conflicts or what ever; the appropriate drivers were not available; or you did not setup the initial network configuration when loading the operating system. If you have gotten this far, I assume that your cards are installed, and you have the appropriate kernel drivers already installed. If not, please see the explanation on "Ethernet drivers".

Page 5 of Install Page 7 of Install Home

Home: http://www.sibbald.com/
Contact: kern at sibbald dot com
Last Update: