Proxmox cluster join showing wrong IP

harethl1s

New Member
Feb 2, 2022
5
0
1
26
Hello guys I have 2 dedicated servers with public IP, configured right
However my main node has IP of 0.0.98.165 which is wrong
but in the cluster main page the IP is right
 

Attachments

  • Screenshot 2022-02-03 194257.png
    Screenshot 2022-02-03 194257.png
    37.3 KB · Views: 18
  • Screenshot 2022-02-03 194353.png
    Screenshot 2022-02-03 194353.png
    41.6 KB · Views: 19
Hi,
However my main node has IP of 0.0.98.165 which is wrong
Then your DNS and/or /etc/hosts (takes priority) is quite probably resolving that nodename to that incorrect IP and should be fixed there.
 
Hi,

Then your DNS and/or /etc/hosts (takes priority) is quite probably resolving that nodename to that incorrect IP and should be fixed there.
/etc/host is configured right, except the red thing i highlighted which is IP I don't know but is not 0.0.98.165

Screenshot 2022-02-03 201114.png
 
The issue here is with the digit-only hostname (25253) - if at all possible I would really really suggest to change that to something with a digit inside.

I think this is best seen when you try to `ping 25253` on a shell:
Code:
ping 25253
PING 25253 (0.0.98.165) 56(84) bytes of data.
 
  • Like
Reactions: t.lamprecht
You're right, good catch! One can maybe even better see that by splitting that number into the lower two 8-bit parts of an IPv4 address notation:
Bash:
echo $[25253 & 0xFF] $[25253>>8 & 0xFF]
165 98
 
  • Like
Reactions: Stoiko Ivanov
The issue here is with the digit-only hostname (25253) - if at all possible I would really really suggest to change that to something with a digit inside.

I think this is best seen when you try to `ping 25253` on a shell:
Code:
ping 25253
PING 25253 (0.0.98.165) 56(84) bytes of data.
You are right it produce this results, what's the solution?