Boa tarde galera. sempre utilizei debian e versões antigas do rh, mais agora instalei o rh5 aqui e quando coloco ip statico nele da isso:
vo no diretorio /etc/sysconfig/network/devices abro arquivo da eth0 e edito como abaixo so pra ver se muda.
DEVICE = eth0
ONBOOT = yes
BOOTPROTO = static
IPADDR = 192.168.0.2
NETMASK = 255.255.255.0
NETWORK = 192.168.0.0
BROADCAST = 192.168.0.255
GATEWAY = 192.168.0.1
me retorna isso
[root@localhost network-scripts]# /etc/init.d/network restart
ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
Shutting down interface eth0: ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
[ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
ifcfg-eth0: line 3: DEVICE: command not found
ifcfg-eth0: line 4: ONBOOT: command not found
ifcfg-eth0: line 5: BOOTPROTO: command not found
ifcfg-eth0: line 6: IPADDR: command not found
ifcfg-eth0: line 7: NETMASK: command not found
ifcfg-eth0: line 8: NETWORK: command not found
ifcfg-eth0: line 9: BROADCAST: command not found
ifcfg-eth0: line 10: GATEWAY: command not found
Missing config file ifcfg-ifcfg-eth0.
[ OK ]
[root@localhost network-scripts]#
Já aconteceu com alguem isso ?