carenamina
7th November 2011, 11:26 AM
Hello,
i use Fedora8, i tried to change the IP address of my system
ifconfig eth0 192.168.1.4 netmask 255.255.255.0 works well
but i want to change it through the file /etc/sysconfig/network-scripts/ifcfg-eth0
this file contains
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR= ......
ONBOOT=yes
DHCP HOSTNAME=poste1
i tried to change it to
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
HWADDR=....
IPADDR=192.168.1.4
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.1
TYPe=ethernet
IPV6INIT=no
but it does not work
the ip address doesn't change when i try to modify it through this file
Can you help me
Thanks
i use Fedora8, i tried to change the IP address of my system
ifconfig eth0 192.168.1.4 netmask 255.255.255.0 works well
but i want to change it through the file /etc/sysconfig/network-scripts/ifcfg-eth0
this file contains
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR= ......
ONBOOT=yes
DHCP HOSTNAME=poste1
i tried to change it to
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
HWADDR=....
IPADDR=192.168.1.4
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.1
TYPe=ethernet
IPV6INIT=no
but it does not work
the ip address doesn't change when i try to modify it through this file
Can you help me
Thanks