Starting from Debian 9, the Network interface naming rules changed from ethxx to ensxx convention. This change was necessitated by the release of systemd/udev newer than v197. You can read more on Systemd Network device naming schemes.
Below is my current network configuration:
$ ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:6b:b7:3d brd ff:ff:ff:ff:ff:ff
inet 192.168.121.52/24 brd 192.168.121.255 scope global dynamic ens5
valid_lft 2747sec preferred_lft 2747sec
inet6 fe80::5054:ff:fe6b:b73d/64 scope link
valid_lft forever preferred_lft forever
If you’re obsessed with old naming, don’t despair since it can be changed. To switch to the old schema, add the following kernel parameters to GRUB_CMDLINE_LINUX variable in /etc/default/grub file.
$ sudo nano /etc/default/grub
......
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
See below screenshot
You need to update grub and reboot your system after making the change.
$ sudo update-grub
$ sudo reboot
Confirm your new network configuration.
$ ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 52:54:00:6b:b7:3d brd ff:ff:ff:ff:ff:ff
inet 192.168.121.52/24 brd 192.168.121.255 scope global dynamic eth0
valid_lft 3563sec preferred_lft 3563sec
inet6 fe80::5054:ff:fe6b:b73d/64 scope link
valid_lft forever preferred_lft forever
That’s how easy it is to change network naming convention to ethXX on Debian 10 (Buster) / Debian 9 (Stretch).
Similar:
How To Configure 802.1q VLAN Tagging on RHEL / CentOS 7/8 & Fedora Interface
How To Customize Qcow2/Raw Linux OS disk image with virt-customize
How To Deploy OpenStack Cloud on CentOS 7 With Packstack RDO