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:
auto eth0
iface eth0 inet dhcp
auto eht1
iface eth1 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
The below man page for debian Linux is a good material:
https://manpages.debian.org/buster/ifupdown/interfaces.5.en.html