OpenVZ Forum


Home » General » Support » [Help] - Ip change (How to change IP from class 10.0.0. to 10.0.1.)
icon9.gif  [Help] - Ip change [message #40694] Tue, 21 September 2010 14:04 Go to previous message
g_dallan@yahoo.com is currently offline  g_dallan@yahoo.com
Messages: 3
Registered: September 2010
Junior Member
Dear Reader,
first of all thank you for you attention and time.

THE PROBLEM(this is just an example - I have some virtual servers):

The main server IP is 1.0.0.40 (not "natted")

The virtual server IP is 10.0.0.38 ("natted", for example 111.111.111.112)

All is working well: the virtual server send and receive (i.e. apache + postfix).

Now I have to change all the IP (the main server and all the virtual servers) from 10.0.0.xxx to 10.0.1.xxx


WHAT I HAVE DONE

I tried to delete the old virtual IP (10.0.0.38) and reassign a new IP (10.0.1.38).

If I try to connect by browser to my website (http://10.0.1.38), I get the (html) page.

But there's an error: (for example) if this page try to send and email (to my yahoo account), inside the page code by php mail, command, the mailq shows the following error:

(delivery temporarily suspended: Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)

I think it depends on gateway, but I do not know how to solve the problem.

The route -n command shows:

Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.1.38 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
0.0.0.0 10.0.0.200 0.0.0.0 UG 0 0 0 eth0


Can you help me?

PS. excuse me for my bad english. I'm a linux newbie. Thank you again.
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kernel Names
Next Topic: running cobbler inside a CT
Goto Forum:
  


Current Time: Wed Aug 14 02:15:37 GMT 2024

Total time taken to generate the page: 0.02795 seconds