Here’s yet another way to generate loopback interfaces using Tcl. This time we add interfaces from a custom list of subnet IDs.
When doing networking labs you often need to configure a series of loopback interfaces to simulate connected subnets and so on. Configuring them manually on every router or using Notepad with search and replace can be a pain. Here’s another way to do it!