Saturday, September 30, 2006
4:47 AM

Red Hat Network Setup

Personally I think Red Hat's network configuration utilities in no where compare to Knoppix or Ubunto for instance.

Setting up networking is a very manual task. Here are the list of important files I needed to change to setup my Red Hat Enterprise Linux RHEL machine...

>> /etc/sysconfig/network
NETWORKING=yes
DHCP_HOSTNAME=tsrd-rhel4-1
DOMAINNAME=jf.intel.com

>> /etc/sysconfig/networking/profiles/default/hosts
127.0.0.1 localhost.localdomain tsrd-vmrhel localhost
134.134.25.201 tsrd-vmrhel.jf.intel.com tsrd-vmrhel localhost

>> /etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=Ethernet
DOMAINNAME=jf.intel.com
HOSTNAME=tsrd-rhel4-1
DHCP_HOSTNAME=tsrd-rhel4-1

Also use the /sbin/route command to set up the kernel routing table

0 comments:

Post a Comment