Trying to get one of my VIRL VM routers to connect to my physical network. Got VIRL running in a VM on Windows 10 host machine. The private network on host machine is 192.168.1.0/24. Want devices on this network to be able to access my VIRL VM router. Created a VMNet2 interface in Virtual Network Editor and bridged it to physical NIC on the host.
Done the following to virl.ini file:
## Second flat connection (AKA flat1) ## Physical Port and virtual bridge for L2 bridge l2_port2_enabled: True ## Default is enabled l2_port2: eth2 ## l2 network (AKA flat1) ## l2_network format is address/cidr format x.x.x.x/x l2_network2: 192.168.1.0/24 l2_mask2: 255.255.255.0 l2_network_gateway2: 192.168.1.1 ## l2 bridge first and last address for dhcp allocation l2_start_address2: 192.168.1.200 l2_end_address2: 192.168.1.255 ## address on the second L2 bridge port for debugging? ## Default is l2_address2: 192.168.1.254/24
Did the 'vinstall rehost'. It ran fine with no errors. Rebooted the VIRL VM.
Launched VM Maestro and created a one-node IOSv topology. Added a 'flat-1' connection. By default, it is putting 'flat-1' into the management network range of 172.16.1.0/24.
Selected 'flat-1' and added a new extension with a key value of "host_network" and a value of "flat1" . When trying to run the simulation 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 to get the flat1 network to be within the 192.168.1.0/24 network.
Please check this thread as the issue appears to be similar : ARP Reply / FLAT Network - 97656 - The Cisco Learning Network
Or check the below Document
Configuring_External_Connectivity_with_Cisco_VIRL-v1.pdf - 30508 - The Cisco Learning Network
Please sign in to leave a comment.