man ifconfig
man netstat

Li' trovi tutte le opzioni che ti servono.