cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4932
Views
0
Helpful
2
Replies
Beginner

VIRL - Talking to External Network - Issue with Flat Network

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
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

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.

Everyone's tags (1)
2 REPLIES 2
Highlighted
Contributor

Re: VIRL - Talking to External Network - Issue with Flat Network

Adam,

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,

Brett

Contributor

Re: VIRL - Talking to External Network - Issue with Flat Network

Adam,

This document should help if the thread discussion doesn't.

Configuring_External_Connectivity_with_Cisco_VIRL-v1.pdf - 30508 - The Cisco Learning Network

Thanks,

Brett

Content for Community-Ad
July's Community Spotlight Awards
This widget could not be displayed.