-->

Berita Kocar Kacir

Motivasi Menulis

Setting IP on Linux

To set the IP Address on Linux RedHat 9 operating system, there are 2 (two) ways, namely through the graphics mode and text mode. Graphic mode allows users to perform the setting of the pen, because the user will be exposed to a dialog windows on the screen so the user can directly fill or pen-an-setting. While in text mode, the user must type the commands concerned with the things you want done.

Therefore, given the settings via text mode is more difficult than the graphic mode, then my opinion will only discuss the setting of the IP address via text mode.

To do so type the following command and you must log in text mode:


# Vi / etc/sysconfig/networking/devices/ifcfg-eth0

The above command is the command to edit the settings on the Ethernet card no.1.

If the PC there are two or more Ethernet card and Ethernet card that is used is No. 2, the word 'eth0' is replaced with a no. Serial Ethernet card is used, for example 'eth1' to No. 2, 'eth2' to No. 3, and so on. After that you will be faced with any entries that you need to fill.

Once completed, this setting will not be activated until you restart your PC, then have to restart your PC to activate it first or use the command:

# Etc / init.d / network restart

The above command serves to activate the setting that you create without having to restart the PC
Labels: Network

Thanks for reading Setting IP on Linux. Please share...!

0 Komentar untuk "Setting IP on Linux"

Back To Top