I have been using RHEL Linux for a long time. However, I seldom have a chance to use a Debian Linux. These days I am working on an application deployed in Debian Linux. To make this application applicable by outside, I have to setup the IP address for the network interface in the Debian Linux.
For RHEL Linux, the file /etc/sysconfig/network-script/ifcfg-eth0 should be edited. But for Debian Linux, the file /etc/network/interface should be used. The below configuration can be referenced:
iface eth0 inet dhcp
iface eth1 inet static
The below man page for debian Linux is a good material: