Current location - Trademark Inquiry Complete Network - Futures platform - LINUX setting ip ifcfg-eth0 is open, but it cannot be set, and what file is this ifcfg-lo? I installed RedHat6.0 under the VM virtual machine.
LINUX setting ip ifcfg-eth0 is open, but it cannot be set, and what file is this ifcfg-lo? I installed RedHat6.0 under the VM virtual machine.
Ifcfg-l0 is a local loopback interface, which is equivalent to 127.0.0. 1.

Ifcfg-eth0 first interface of local network card

Need ROOT's permission

The configuration is as follows:

vim /etc/sysconfig/ ....

Press a or I to enter the editing state.

Ipaddr =192.168.0.1(configured IP)

Netmask =255.255.255.0 (mask)

Gateway = 192. 168.0.254 (gateway)

DNS 1 = 192. 168 . 0 . 254(DNS)

:wq

Did you log in with root?