Configuración fija de Linux IP

  

# vi /etc /sysconfig /network-scripts /ifcfg-eth0

DEVICE = eth0

BOOTPROTO = static

IPADDR = 192.168.0.116

NETMASK = 255.255.0.0

GATEWAY = 192.168.0.1

ONBOOT = yes

TYPE = Ethernet

Reinicie el archivo de configuración para que Efectivo

# /etc/init.d/network restart

Apagando la interfaz eth0: [OK]

Apagando la interfaz de loopback: [OK]

Configuración de los parámetros de red: [OK]

Activar interfaz de bucle invertido: [OK]

Activar interfaz eth0: [OK]
zh-CNzh-CN

Copyright © Conocimiento de Windows All Rights Reserved