HI,
I facing problem in fc8. i'm trying to change my ip address through GUI and terminal, its not changing the ip, i used this command to change ip.
#/sbin/ifconfig eth0 xxx.xxx.xxx.xxx up
after restarting my pc it will go to old ip address
HI,
I facing problem in fc8. i'm trying to change my ip address through GUI and terminal, its not changing the ip, i used this command to change ip.
#/sbin/ifconfig eth0 xxx.xxx.xxx.xxx up
after restarting my pc it will go to old ip address
the ifconfing sets the ipaddress temporarily, check whether the netconfig command is available in your system and assign the ip address.
netconfig is available in my system..
In the /etc/sysconfig/network-scripts/ifcfg-eth0 file, edit and add your ip number
yes sunil is right you can edit or chnage the ip in /etc/sysconfig/network-scripts/ifcfg-eth0 file, the netconfig command does the same. it changes the entries in the file. before editing any configuration file it is good to have a backup of it so better copy the file in diiferent name and then make the changes.
remember to run
ifdown eth0; ifup eth0;
after changing the ifcfg-eth0
63,000 bugs in the code, 63,000 bugs,
ya get 1 whacked with a service pack,
now there's 63,005 bugs in the code!!
Bookmarks