We have a debian server server with 2 NICs. The Server should be configured with 2 IP addresses, one internal address for the communication in our LAN, and one public IP accessible from the internet.
I'm thinking about 2 different setups:
Use bonding to bundle the physical NICs to a logical one and then assign both IP's (internal and external) to the logical interface.
Setup one physical network card with the external IP and the other one with the internal IP.
For me, solution 1. looks more reliable, because if one physical NIC get's out of order, the server can still reach both networks. But what about security, is it in general a good idea to add an external and an internal ip address to the same NIC? What are the pitfalls and security issues here?