• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

psarestore - ip map question

T

Terry@

Guest
Hello all,
I am trying to restore my testing server and I am having issues with the IP map.
My map;



#########################################################################
# The following ip addresses are used for domains:
#########################################################################

# used for domains:asdas.com, asdas.com, asdasd.net
192.168.0.3 -> eth0:192.168.0.3 255.255.255.0 #<-uncomment this netmask to use it as a template ### exclusive



#########################################################################
# The following ip addresses are not required:
#########################################################################


It is a testing server with a single nic with an IP of 192.168.0.3.

The error;
Target ip '192.168.0.3' is found in the system on interface 'eth0' with mask: '255.255.255.0'
Error encountered in the map file: source ip address '192.168.0.3' with type 'exclusive' can't be mapped to ip address '192.168.0.3' with type 'shared'
Errors in ip mapping procedure.

I have been stuck on this problem for quite a while....

any ideas will be much appreciated.

Terry
 
Nevermind,
setting the new machines IP to exclusive allowed it to restore.
Terry
 
I cant quite figure out whats wrong here ... Any help would be appreciated.

Error:
Error encountered in the map file: source ip address '69.182.171.82' with type 'shared' can't be mapped to ip address '192.168.1.5' with type 'exclusive'


ip_map_file
# ATTENTION: all not existing TARGET ip addresses will be added into your system.
# Write target ip addresses for mapping.
# for example:
#
# fxp0:
# 192.168.1.1 -> 195.173.23.200
# eth0:
# 192.168.1.2 -> 193.233.1.130
# 192.168.1.3 -> 193.233.1.131
#
# or simply:
# 192.168.1.1 -> fxp0:195.173.23.200
# 192.168.1.2 -> eth0:193.233.1.130 255.255.255.0
# 192.168.1.3 -> eth0:193.233.1.131 255.255.255.0
#
# 1) if ip address exists in the system then it will be skipped on the old interface.
# 2) if netmask was not specified then used 255.255.255.0





#########################################################################
# The following ip addresses are used for domains:
#########################################################################

# used for domains: ercoalition.servegame.com, twisted.servegame.com, ks3ct.com, support.ks3ct.com, twisted.no-ip.org, homeworksvideo.com, us$
69.182.171.82 -> eth0: 192.168.1.5 255.255.255.0 # 255.255.255.0 #<-uncomment this netmask to use it as a template ### shared



#########################################################################
# The following ip addresses are not required:
#########################################################################
 
Back
Top