I'm trying to get one of my VIRL VM routers to connect to my physical network.
I have VIRL running in a VM on my Windows 10 host machine. My private network on my host machine is 192.168.1.0/24. I want devices on this network to be able to access my VIRL VM router. I created a VMNet2 interface in Virtual Network Editor and bridged it to my physical NIC on the host.
I've done the following to my virl.ini file:
## Second flat connection (AKA flat1)
## Physical Port and virtual bridge for L2 bridge
## Default is enabled
## l2 network (AKA flat1)
## l2_network format is address/cidr format x.x.x.x/x
## l2 bridge first and last address for dhcp allocation
## address on the second L2 bridge port for debugging?
## Default is
After this edit, I did the 'vinstall rehost'. It ran fine with no errors. I rebooted the VIRL VM.
I launched VM Maestro and created a one-node IOSv topology. I added a 'flat-1' connection. By default, it is putting 'flat-1' into the management network range of 172.16.1.0/24.
I selected 'flat-1' and added a new extension with a key value of "host_network" and a value of "flat1" - as I read elsewhere. When I try to run the simulation now, I get the following error:
(ERROR) [Nov/05/2015 14:02:22] Failed to start session "My_Topologies@test2-NTzBpc": Exactly 1 subnet needed for public FLAT network "flat1"
How do I get the flat1 network to be within the 192.168.1.0/24 network? I think that is what the error is telling me.
Please check this thread as the issue appears to be similar to yours: ARP Reply / FLAT Network - 97656 - The Cisco Learning Network
Hope this helps,
This document should help if the thread discussion doesn't.