How to make TorBrowser and console-run tor appear under the same IP address


For my specific task, I need to make TorBrowser and console tor look as having the same IP address for a specific site.

If I run curl -i -L in bash, I see

...  Congratulations. This browser is configured to use Tor.
  <p>Your IP address appears to be:  <strong></strong></p> ...

Simultaneously I click IP check on the Whonix Welcome Page in Torbrowser and see

Congratulations. This browser is configured to use Tor.

Your IP address appears to be:

These addressess are different every single time.
How to make them be the same?

P.S. Another issue I have is that curl -i -L shows differernt IP addresses every time I run it. Even if run it every 5 seconds it prints out different IP!

How to make console tor hold on the same IP at least a few minutes?

IP selection is done by Tor feature. Whonix does not change that mechanism.

This is a Tor specific question. Whonix does not interfere with this.

Therefore this question is mostly unspecific to Whonix.

You’re attempting to use Tor in a non-standard, advanced way. The only way to accomplish this is to become an advanced Tor user.

Only chance is to resolve as per

This is probably possible using the Tor control protocol / control port, which can be accessed from Whonix too.

But the actual Tor control commands are out of scope for Whonix support.