LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't change ip 10.0.2.15 to 192.168.0.x (https://www.linuxquestions.org/questions/linux-newbie-8/cant-change-ip-10-0-2-15-to-192-168-0-x-699479/)

windstory 01-23-2009 05:41 PM

[RESOLVED]can't change ip 10.0.2.15 to 192.168.0.x
 
I've installed centos 5.2 x86 on vbox at windows 6 x64.

I've installed all adapters - adapter1 nat, adapter2 HIF, adapter3 internal network.

http://www.postimage.org/gx8nRJr.jpg

For server's dns configuration, I want change one of these adapters ip to 192.168.x.x.

I've changed 10.0.2.15 to 192.168.0.11, but could not connect to internet.

Please let me how I can solve this problem.

cheftec 01-23-2009 06:34 PM

I can't see your photo clearly. Can you please post the output of ifconfig (I assume that's what you're posting with your image, at least)

pcunix 01-23-2009 07:09 PM

Quote:

Originally Posted by windstory (Post 3419139)
I've installed centos 5.2 x86 on vbox at windows 6 x64.

I've installed all adapters - adapter1 nat, adapter2 HIF, adapter3 internal network.

http://www.postimage.org/gx8nRJr.jpg

For server's dns configuration, I want change one of these adapters ip to 192.168.x.x.

I've changed 10.0.2.15 to 192.168.0.11, but could not connect to internet.

Please let me how I can solve this problem.


Did you power cycle your router/modem/dsl to clear its arp cache?

windstory 01-23-2009 09:53 PM

cheftec,

I will upload athor format.




pcunix,

About your suggestion -"Did you power cycle your router/modem/dsl to clear its arp cache?", I cannot understand what you mean.

I rebooted router 2 times.

If select adapter1 to NAt and disable adapter 2 and 3, the IP is set to 10.0.2.15 and the sonnection to web is able.

cheftec 01-23-2009 11:02 PM

Here's power cycling:

http://www.schrockinnovations.com/po...e_computer.php

I dont' think it's really what your problem is, but it can't hurt.

windstory 01-24-2009 01:28 AM

cheftec,

Thanks!

Resolved after powering cycling.


Quote:

Originally Posted by cheftec (Post 3419321)
Here's power cycling:

http://www.schrockinnovations.com/po...e_computer.php

I dont' think it's really what your problem is, but it can't hurt.


cheftec 01-24-2009 02:20 AM

Really. Ha!

JulianTosh 01-24-2009 04:46 AM

A reboot is probably excessive in this case. For others that might read this later, you might try 'service network restart' first..


All times are GMT -5. The time now is 07:45 AM.