Hello Teepaco and welcome to the forum!

The ethernet boards are "connected" to Mach3 through a plugin. And the programmer of that board/plugin had chosen what mach3 pin and port corresponds to each input/output on that board. Whatever numbers they wanted, there are no rules. You need the documentation from your ethernet board manufacturer regarding ports and pins.