Hello
i want to change eth0 ip address from 192.168.7.143 to 192.168.7.140, but it not changed even i follow the steps in this
tutorial
this is content of file /etc/sysconfig/network-scripts/ifcfg-eth0
*the bold is what i change
Code:
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=dhcp
IPADDR=192.168.7.140
HWADDR=08:00:27:52:09:CF
IPV6INIT=yes
IPV6_AUTOCONF=yes
ONBOOT=yes
NETMASK=255.255.255.0
of course i restart it using "service network restart"
but it not works. (look at red bold text below)
ifconfig result:
Code:
eth0 Link encap:Ethernet HWaddr 08:00:27:52:09:CF
inet addr:192.168.7.143 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe52:9cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:970 errors:0 dropped:0 overruns:0 frame:0
TX packets:681 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:111306 (108.6 KiB) TX bytes:149186 (145.6 KiB)
Interrupt:10 Base address:0xd020
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4119 errors:0 dropped:0 overruns:0 frame:0
TX packets:4119 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:504724 (492.8 KiB) TX bytes:504724 (492.8 KiB)
Thanx before