I'm trying to listen to two different interfaces that are loopbacks on a single Linux machine using wireshark.  Since I'll need to listen to the new interface, I'll need to be able to send data to the interface.  Meaning it will require an ip address that I can send data to via netcat.I've seen a method to add different loopback interfaces here, but that doesn't actually add an interface option, just seems to assign a separate ip address to the single lo interface.  I also tried adding the lo2 loopback interface to /etc/network/interfaces file, and after reboot, it didn't appear to do anything.  Also, sudo ifup lo2 didn't work either. This is Ubuntu 16.04 desktop, and I need to keep it to a desktop version of a Debian based distro.Is there a way to add an additional loopback with a separate interface name?
How can I create an additional lo interface?
bash;ubuntu;networking;network interface