Yes, between panels that is how it works. Ethernet to Ethernet connections.
And also RS485 to RS485 (MSTP) connections.
If you are working with Ethernet to RS485 subnet connection or vice versa it will be best to use the bacnet instance.
You can read more about network programming here: https://forums.temcocontrols.com/t/network-programming-overview/316