MacBook Air's Mini Display vs Thunderbolt
It is only possible with the Thunderbolt port. You cannot run an ethernet adapter on a Mini Display Port.

However, you can use a USB Ethernet Adapter and connect to your network with that.