Wrong client IP address

General discussions and questions.
Mikas
Posts: 38
Joined: Thu Oct 10, 2019 8:52 am

Wrong client IP address

Post by Mikas »

Hi,

after upgrade to 3.1.1, my afwatch shows wrong IP address in all client nodes. It shows the same IP: 193.122.59.143 for all the nodes, which makes it impossible to start/stop them by IP.
Any ideas how to fix this?

Actually it show correct one in info window as well:
IPv4 Address: 193.122.59.143 - Wrong one!
Status: Online
Priority = 99
WOL operation time = Thu 18 Feb 08:51.25
Idle Time = Thu 18 Feb 08:51.25
Busy Time = Thu 18 Feb 09:12.36
Launched at: Thu 18 Feb 08:20.05
Registered at: Thu 18 Feb 08:51.23
Network Interfaces:
ens3: 00:00:17:01:15:7c
IPv4 Address: 10.0.1.96 - Correct one!
IPv6 Address: fe80::::200:17ff:fe01:157c

Thanks!
Mikas
Renderfarm - Ubuntu 20.04 LTS
Clients - mixed Windows and Linux
Afanasy 3.1.1
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Wrong client IP address

Post by timurhai »

Hi!

The first is the address that server got from a socket that render opened to connect to server.
This socket address is a more actual for the server.
You can connect render from a server machine by it.
But a machine where afwatch was opened can has other render IP to connect.

Network Interfaces list is the list that render got querying local resources on start.
Depending on routing, there can be no one that server got from socket.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Mikas
Posts: 38
Joined: Thu Oct 10, 2019 8:52 am

Re: Wrong client IP address

Post by Mikas »

Hmm,

but why all the clients receive the same IP then? And I don't really have that address on my network at all :/
Mikas
Renderfarm - Ubuntu 20.04 LTS
Clients - mixed Windows and Linux
Afanasy 3.1.1
Mikas
Posts: 38
Joined: Thu Oct 10, 2019 8:52 am

Re: Wrong client IP address

Post by Mikas »

And is it possible to switch to that network interface IP then?
Mikas
Renderfarm - Ubuntu 20.04 LTS
Clients - mixed Windows and Linux
Afanasy 3.1.1
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Wrong client IP address

Post by timurhai »

What do you mean to switch? To switch what?
- "which makes it impossible to start/stop them by IP"
What is "start/stop"? Who and on what machine doing this?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Mikas
Posts: 38
Joined: Thu Oct 10, 2019 8:52 am

Re: Wrong client IP address

Post by Mikas »

I'm using wolwake and wolstop based on IP address of the rendernode. Can I pass that other IP to Afanasy server instead?
Mikas
Renderfarm - Ubuntu 20.04 LTS
Clients - mixed Windows and Linux
Afanasy 3.1.1
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Wrong client IP address

Post by timurhai »

You passing some address to Afanasy server, what does it mean?
(If so, you can pass any address you want)

It seems, I did not what are you doing.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Mikas
Posts: 38
Joined: Thu Oct 10, 2019 8:52 am

Re: Wrong client IP address

Post by Mikas »

Looks like I'm confused there. When I use wolwake for example, how do I pass just this address:
Network Interfaces:
ens3: 00:00:17:01:15:7c
IPv4 Address: 10.0.1.96
IPv6 Address: fe80::::200:17ff:fe01:157c
instead of the one taken from the socket?
Mikas
Renderfarm - Ubuntu 20.04 LTS
Clients - mixed Windows and Linux
Afanasy 3.1.1
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Wrong client IP address

Post by timurhai »

How do you use wolwake?
If you (yourself) passing some address somewhere, why do you can't pass another one?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Mikas
Posts: 38
Joined: Thu Oct 10, 2019 8:52 am

Re: Wrong client IP address

Post by Mikas »

I was passing the one that Afanasy server provided. After last update it changed and I'm not getting the one as before. I'm not sure how to get this one from the info?
Mikas
Renderfarm - Ubuntu 20.04 LTS
Clients - mixed Windows and Linux
Afanasy 3.1.1
Post Reply