You are on page 1of 20
22192018 (Cisco 10S XRv with GNS3 and VMware Fusion | Binary Nature 18th March 2014 Cisco IOS XRv with GNS3 and VMware Fusion EIGRP 10 “OSPF Area 0 i 172.17.3.0/24 10.16.2.0/24 ve nme reer 4 Been i 2 Teriscead tape nnett2 Etherneta, sm 9172.17.4.0/24 © stp) samnet33 10.16.1.0/24 <2 [hstos/res coudinary.com/binarynature/image/upload/¥1503008397 /redis-os-xrv-top_shsSkh png] ‘The title is somewhat misleading as this post goes beyond simply integrating Cisco IOS XRV with GNS3. We will construct a GNS3 lab that llustrates the implementation of mutual route redistribution with EIGRP and OSPF, Some of the material may be redundant from my previous post (Implement a Multivendor OSPF Lab with GNS3 and VMware Fusion [httpd/binarynature blogspot con/2014/02/implement rmultivendor-osptlab-gnss-vmware-usion htm), but this post will also include a couple of new gems that werent included in the prior one. Let's get started Core components required for this tutorial: + Mac 0S X 10.9 (Mavericks) [ntpy/wwwmapple.convosx] + VMware Fusion 6.0 Professional (ntpy/varwevmware.com/products/fusion) + GNSS [htoz/wew.gns8 net] + Tuntap (rutpy/munteposxsoureetorgenet} (or Set the Maximum Number of TAP Virtual Network Interfaces for Mac OS x [hetpz/binarynature Blogspot con 2014/03/set-max-number-tap-interaces-for-mac-osxntml} ‘The following table maps each device to its GNS8 object, hypervisor, and software relationship Device | GNS3 Object | Hypervisor | Software Ri__| Router ©3700 | Dynamips _| c3725-adventerpriseiS-mai24-15714bin [hap emwscacon] R2__| Router 3700 | Dynamips _| c5725-adventerprisek-na.i24-15.71A bin nepdwoleo com) xR) | Host ‘vMware | Cisco 105 Xv papowe So conven Gecs eo al cont 432, Chapter OREM St | Host ‘VMware | Microso® Windows Server 2012 R2 (Server Core hpi meat confeibrar/MnS 46825 85598) S2__| Host ‘veware | Debian 72 codename ‘wheezy nupimmaebansra/ SW1 - SW4 are generic GNS3 Ethernet switches, and also note the R1 and R2 devices can be any recent Dynamips-compatible Cisco 108 router image, 1. GNS3 Topology Create a new GNS3 project. Drag and drop the GNS3 objects onto the blank Workspace. Arrange them so it looks similar to the layout of the network diagram. Configure each of the GNSS objects with their specific atributes (e.g., hostname and symbol). You will also need to bind TAP network interfaces for the XR1, $1, and $2 GNS3 objects. hitpioinarynatce blogspot.com/2014/03Iesco.os-xevwth-gns3-and-vmware-fusion An 420 22192018 (Cisoo 10S XRV with GNSS and VMware Fusion | Binary Nature Unttosi/res clousinarycom/binarynature/image/upload/1503008247/xr1-taps_pmadel png} Connect the objects with the Add a link tool. The GNS3 Host objects will be using their particular TAP network interface(s) to connect to the Ethemet switches. By connecting a GNS3 Host object to the switch with a TAP network interface, the Dyramips [nwov/enwixipedia oc/wik/Oynamips) process will create the TAP network interface on the host operating system, We can verity this by running the following commands from the terminal: $ echo "What is the process ID (pid) for Dynamips? $(pgrep dynanips)" What is the process 10 (pid) for Dynamips? 20643 $ for i in {0..3}; do ifconfig tap$i; done ‘apo: Flags-8842 mtu 1500 ether 7a:18:e1:1F: nedia: autoselect status: active open (pid 20643) tapi: Flags=8842 mtu 1508 ether Se:60:1#:58:5e:61 media: autoselect status: active ‘open (pid 20643) ‘tap2: Flags=8242 mtu 1500 ether 76:06:¢F:9F:90:27 hitpioinarynatce blogspot.com/2014/03Iesco.os-xevwth-gns3-and-vmware-fusion An 20 22192018 (Cisco 10S XRv with GNS3 and VMware Fusion | Binary Nature nnedia: autoselect status: active open (pid 20683) ‘tap3: Flags=8842 ether de:9e:8a:41:3d:4b media: autoselect status: active ‘open (pid 20643) 1500 2. VMware Fusion ‘The R1 and R2 devices are ready, from the perspective of GNS3 (Dynamips) connectivity, so we will zero in on creating the XR virtual appliance and also the server virtual machines (with their associated vmnats). #24 Virtual Network Switches Our lab configuration will use host-only network switches. A host-only network (switch) is a network that is completely contained within the host computer. Host-only networking provides a network connection between the virtual appliance/machine and the host system by using a virtual network adapter that is visible on the host operating system. As the network diagram shows, we will be using vmnet10 to vmnet13. ‘Add a virtual switch with the following steps: 4. Open the Preferences window for VMware Fusion Professional 2, Select the Network tab 3. Click the + symbol to add a new virtual switch. Keep the Allow virtual machines on this network to connect to external networks using NAT) and Provide addresses on this network via DHCP options unchecked to create the host-only virtual switch (vmnet) 4, Click the Apply button to save the setting Close the Preferences window when you're finished creating the virtual switches. We can verify the virtual switches have been created by running the following command from the terminal $ for 1 in {(40..13}; do ifconfig vanet$i; done #2.2XR1 Import the VMware virtual appliance with the following steps: Click File > Import... rom the VMware Fusion menu bar. lick the Choose File... button. Navigate to and solect the fosxrv-k9-demo-5.1.1.0va ie. Click the Open button, Click the Continue button Rename the package to XR1 Click the Save button to save the virtual appliance in the default Virtual Machines folder. lick the Customize Settings button to madity the virtual appliance settings. By default, the virtual appliance is configured with two virtual network adapters. Network Adaptor is the management interface (MgmtEt0/0/CPUOIO), and Network Adapter 2 Is a trafic interface (GI0/0/0/0). The management interface won't be used In our lab because we will be accessing the device via the console port connection. Another trafic interface (Gi0/0/0/1) will need to be created for our topology, though ‘Add the network adapter withthe following steps: 4, Click the Add Device... button. 2. Select Network Adapter from the Add Device menu: 3, Click the Add... button to add the device. 4, Click the vmnettt radio button. 5, Click the Show All button to return to the virtual machine settings menu. Network Adapter and Network Adapter 2 wil also need to be modified from their default configuration. Since we won't be using Network ‘Adapter in our lab, we can set it to connect to the default VMware Fusion host-only virtual network, Network Adapter 2 will use vmnett0 ‘as shown in our network diagram. hitpioinarynatce blogspot.com/2014/03Iesco.os-xevwth-gns3-and-vmware-fusion An 20

You might also like