This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.
Having done a few tests here with our DNS-345 it appears that you can NOT have separate lan ports. Yes, you can combine them or use a single port.If you connect them both to a managed switch and set a default gateway you can get the second port to take over if the default port has problems.There is absolutely no way that they can be connected to separate subnets and work. That requires much more sophistication on the main board and usually requires special a setup even on a server with dedicated lan cards.So the answer to cexpo's question is no, you can't connect to two subnets.
Be aware that if you are unfortunate enough to enable link aggregation, it can't be undone.I found that out the hard way when I changed some network hardware and wanted to revert back to separate NICs.Another "feature" of the DNS-345.