On Linux systems the routing table maps destinations to the router and network interface that IP must use to reach that destination.
netstat is a useful tool for checking your network configuration and activity. It is in fact a collection of several tools lumped together.
Identifying a ethernet MAC address in Solaris as a non-root user is not as difficult as people think. arp, netstat and prtpicl are your friends.