Page 1 of 2

Wrong client IP address

Posted: Thu Feb 18, 2021 9:09 am
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!

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 9:39 am
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.

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 9:55 am
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 :/

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 9:56 am
by Mikas
And is it possible to switch to that network interface IP then?

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 10:56 am
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?

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 11:06 am
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?

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 11:11 am
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.

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 11:27 am
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?

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 11:42 am
by timurhai
How do you use wolwake?
If you (yourself) passing some address somewhere, why do you can't pass another one?

Re: Wrong client IP address

Posted: Thu Feb 18, 2021 12:07 pm
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?