Mengkonfigurasi network pada red hat


Mengkonfigurasikan hostname :

File Location: #vi /etc/sysconfig/network

[tambahkan/edit]

HOSTNAME=muhartin [nama dari komputer]

File Location: #vi /etc/hosts

[tambahkan/edit]

127.0.0.1        muhartin localhost.localdomain localhost

Konfigurasi Default Gateway :

Tambahkan file “default-route” pada direktori /etc

10.28.0.1 [alamat IP Gateway]

File Location: #vi /etc/sysconfig/network

[tambahkan/edit]

GATEWAY=10.28.0.1 [ip gateway yang digunakan]

GATEWAYDEV=eth0 [perangkat yang diberikan untuk alamat gateway]

FORWARD_IPV4=yes [mengaktifkan IP Forwarding]

Mengkonfigurasikan IP Address :

File Location: #vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0 [ID perangkat jaringan]

BOOTPROTO=static [menyatakan protokol yang digunakan]

BROADCAST=10.28.0.255 [IP Broadcast]

IPADDR=10.28.0.1 [IP Address]

NETMASK=255.255.255.0 [subnetmask]

NETWORK=10.28.0.0 [IP network]

ONBOOT=yes [mengontrol apakah device dari eth0 akan dijalankan sejak komputer di boot]

Restart Service :

#service network restart

4 thoughts on “Mengkonfigurasi network pada red hat

  1. udah tu babon….

    pa kabar??

  2. Redhat, masih pake juga yah ternyata

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s