Permanently change IP address on SuSE 10

Posted by Long Ngo on Server Fault See other posts from Server Fault or by Long Ngo
Published on 2011-03-15T19:31:51Z Indexed on 2011/03/16 0:12 UTC
Read the original article Hit count: 584

Filed under:
|
|
|
|

I am trying to change IP address of a SuSE 10 machine that is running Tomcat. I need to create a shell script to do this so could not use YaST.

As some sites suggested on my Google search, I edited the files in /etc/sysconfig/network/ifcfg-eth-* to change the IP address. After that, I restarted the network service by calling /etc/init.d/network restart.

The network card restarting just fine. I, then, restarted tomcat web service. However, when I browsed the new IP address using browser, I got an "Request denied" message.

Can anyone please tell me how I could do this?

Thanks

© Server Fault or respective owner

Related posts about linux

Related posts about networking