Porins are water-filled protein channels across the outer membrane of gram-negative bacteria. They facilitate the uptake of nutrients and essential ions. Solutes are filtered by a constriction loop L3 at the mid of a pore. Porins are heat-stable and resistant to toxic agents and detergents. Most porins are trimer, but no clear explanation why trimeric form is preferable. In this work, we thus studied effects of oligomerization on porin structure and function in microscopic detail. A well-studied OmpF (general porin from Escherichia coli) and well-characterised OprP (phosphate-specific pore from Pseudomonas aeruginosa) are used as samples from 2 types of porins found in gram-negative bacteria. MD simulations of trimeric and monomeric pores in pure water and 1M NaCl solution were performed. With a salt solution, the external electric field was applied to mimic a transmembrane potential. Expectedly, OprP is more stable than OmpF. Interestingly, being a monomer turns OmpF into an anion-selective pore. The dislocation of D113’s side chain on L3 in OmpF causes the disruption of cation pathway resulting in the reduction of cation influx. In contrast, OprP's structure and function are less dependent on oligomeric states. Both monomeric and trimeric OprP can maintain their anion selectivity. Our findings suggest that trimerization is crucial for both structure and function of general porin OmpF, whereas being trimer in substrate-specific channel OprP supports a pore function.