NB! It seems this console command is not compatible with CS2.
Command Profile

IP_STEAM

CS:GO

This command is used to override the IP that binds Steam profiles on servers with multiple hosts.

Syntax
ip_steam [IP]

Description

This command is used to override the IP that binds Steam profiles on servers with multiple hosts.

How To Use ip_steam

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter ip_steam [IP], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

ip_steam [IP]
IP The IP address of the server's settings that you want to override.