<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GNS3 &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/gns3/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Wed, 11 Oct 2017 05:53:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>What is a VLAN (part 6)</title>
		<link>https://virtuallyfun.com/2017/10/11/vlan-part-6/</link>
					<comments>https://virtuallyfun.com/2017/10/11/vlan-part-6/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 05:47:13 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[virtual networking]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7658</guid>

					<description><![CDATA[WIth Windows NT installed, it&#8217;s time to look at it on the network side. The killer feature of GNS3 is that we can inspect traffic everywhere we draw a connection.Â  So simply right click on the connection from the Qemu &#8230; <a href="https://virtuallyfun.com/2017/10/11/vlan-part-6/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>WIth Windows NT installed, it&#8217;s time to look at it on the network side.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub.png"><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-7659" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub.png" alt="" width="983" height="746" /></a>The killer feature of GNS3 is that we can inspect traffic everywhere we draw a connection.Â  So simply right click on the connection from the Qemu VM to the Hub, and you can start a packet capture.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub-2.png"><img decoding="async" class="aligncenter size-full wp-image-7660" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub-2.png" alt="" width="502" height="179" /></a>GNS3 will then prompt what the link type media is, in this case it&#8217;s Ethernet, and what the link name is.Â  After hitting OK, it&#8217;ll then start WireShark on the virtual link.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub-3.png"><img decoding="async" class="aligncenter size-large wp-image-7661" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub-3-1024x619.png" alt="" width="584" height="353" /></a>And in no time we can see the NT machine broadcasting on the network.Â  OK everything is looking fine.</p>
<p>As you can see our packet is an 802.3 Ethernet packet, with a LLC header, and a NetBIOS packet.Â  This is what we are expecting as the connection to the hub is &#8216;raw&#8217;.</p>
<p>Now that we have verified that we can connect to the network and capture, we can close Wireshark.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7662" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-start-capture-on-a-hub-4.png" alt="" width="989" height="744" /></a>We then should right click on the link, and tell it to stop capturing.</p>
<p>OK, now what about VLANs?Â  Let&#8217;s start with a simple lab.Â  We are going to get rid of the Hub for now, and add in two switches.Â  One switch will be our &#8216;core&#8217; switch, the other will be our access switch.Â  We will then put our PC onto the access switch, and then setup an 802.1q trunk between the two switches, and then observer the NT broadcase traffic in the trunk so we can see the VLAN tag in action.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7663" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology.png" alt="" width="989" height="745" /></a>Right click on the hub, and delete it.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7664" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-2.png" alt="" width="989" height="745" /></a>Yes we do want to delete it</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-3.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7665" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-3-1024x629.png" alt="" width="584" height="359" /></a>Drag out a switch, and then right click and rename it to core.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7666" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-4.png" alt="" width="202" height="122" /></a>Now we are going to configure the core switch.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-5.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7667" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-5-1024x630.png" alt="" width="584" height="359" /></a>Right click on the core switch, and choose configure.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-6.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7668" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-6.png" alt="" width="691" height="486" /></a>By default every port is on VLAN 1, and is a port type of &#8216;access&#8217;.Â  You would typically connect end devices like servers to access ports.Â  I probably should have deleted them all, but since we are going from my session I deleted ports 0 &amp; 1.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-7.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7669" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-7.png" alt="" width="691" height="486" /></a>Now I&#8217;m going to add port 0 with a native VLAN of 1, but a type of <a href="https://en.wikipedia.org/wiki/IEEE_802.1Q">dot1q</a>. This port will be used to connect to the access switch.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-8.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7670" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-8.png" alt="" width="691" height="486" /></a>And then port 1 will be an access port on VLAN 2.Â  Hit OK and it&#8217;ll close the window.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-9.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7671" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-9.png" alt="" width="691" height="486" /></a>And we are good to go.</p>
<p>*HOWEVER* this is a source of some confusion at least for me.Â  Go back and right click on the core switch, and look at the ports.Â  GNS3 for me changed the port numbers so it did not preserve my port choices, however there is still an access port on VLAN 2, and an 802.1q port.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-17.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7679" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-17.png" alt="" width="691" height="486" /></a></p>
<p>As you can see on the core switch, port 6 is now the dot1q trunk port, and port 7 is the VLAN 2 access port.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-10.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7672" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-10-1024x632.png" alt="" width="584" height="360" /></a>Add in a second switch, and change it&#8217;s hostname to access</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-11.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7673" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-11-1024x632.png" alt="" width="584" height="360" /></a>Now let&#8217;s configure this switch the same way we configured the core.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-12.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7674" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-12.png" alt="" width="691" height="486" /></a>Same steps, in that we delete some ports first</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-13.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7675" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-13.png" alt="" width="691" height="486" /></a>Add in an access port for the Qemu PC on VLAN 2</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-14.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7676" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-14.png" alt="" width="691" height="486" /></a>And then add in a port with a type of dot1q, and a native VLAN of VLAN 1.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-15.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7677" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-15.png" alt="" width="691" height="486" /></a>And our access switch is configured, so you can hit OK.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-16.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7678" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-16.png" alt="" width="691" height="486" /></a>As you can see GNS3 has changed our trunk port to port 7, and our Qemu access port is now port 6.Â  This should be a bug&#8230;</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-18.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7680" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-18-1024x630.png" alt="" width="584" height="359" /></a>So with this confusion in mind we connect port 7 of the access switch to port 6 of the core switch, by selecting the cable tool, and the appropriate ports.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-19.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7681" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-19-1024x631.png" alt="" width="584" height="360" /></a>And we will now have connected the two switches.Â  Now to connect the Qemu PC.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-20.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7682" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-20-1024x627.png" alt="" width="584" height="358" /></a>Again using the cable tool, it&#8217;s the only port on the Qemu VM</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-22.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7683" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology-22-1024x631.png" alt="" width="584" height="360" /></a>And to port 6 of the access switch.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-trunk.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7684" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-trunk-1024x626.png" alt="" width="584" height="357" /></a>Now we can start a capture on the connection between the two switches.Â  Right click on the link and start the capture.Â  It&#8217;ll be the same as last time, the default options are fine, and it&#8217;ll start Wireshark.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-trunk-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7686" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-trunk-2.png" alt="" width="881" height="695" /></a></p>
<p>Now when the NT server sends a packet on the network, the access port is in VLAN 2.Â  Broadcast packets will be sent to all the other member ports on the network, in this case we do have an access port on the core switch in VLAN 2.Â  But while the packet is going between switches it needs a way to identify what VLAN the traffic came from, so as you can see from the capture There is now another protocol layer going on.Â  In this case we have an Ethernet II packet, but now the next layer is the 802.1Q frame, that gives the priority level, along with the VLAN number.Â  Then the NetBIOS packet is under that.Â  As you can see it is *NOT* TCP/IP only, but rather any Ethernet frame can be encapsulated in a VLAN, and then across 802.1q links they can be transmitted by encapsulating the packet in an 802.1q header to keep track of which VLAN the traffic was bound to.</p>
<p>But how about data egressing on the other side?</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology2.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7687" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology2-1024x630.png" alt="" width="584" height="359" /></a>Let&#8217;s take a HUB and drag it out to the infrastructure pane.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology2-2.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7688" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology2-2-1024x631.png" alt="" width="584" height="360" /></a>Now we are going to connect that hub on any port to the core switch.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology2-3.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7689" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-change-topology2-3-1024x630.png" alt="" width="584" height="359" /></a>In this case, port 7 was our access port on VLAN 2.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-access.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-7690" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-access-1024x631.png" alt="" width="584" height="360" /></a>And now we can start a capture on the connection from the core switch to the hub.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-access-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7691" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-capture-on-access-2.png" alt="" width="966" height="771" /></a>And as you can see the NetBIOS arrives on the other side without any 802.1q header, and any machine on the other side wouldn&#8217;t even know it&#8217;s been through an 802.1q trunk, or that it&#8217;s even on a VLAN.</p>
<p>So why use VLANs?Â  Isn&#8217;t it easy enough to add infrastructure for every network as needed?Â  Sure you *could* but it becomes very costly.Â  And you end up supporting quite a number of devices.Â  Then it never fails that you have one user or device in part of the network that doesn&#8217;t warrent a good network connection, but when it breaks, like it always does they generate a lot of heat about it.Â  Just as LAN segmentation is a popular way corporations restrict internal access as they can have firewalls to control traffic entering and leaving each network.Â  But doing this the old way means that every tiny move add and change will require someone to do something physically making it very expensive to maintain.Â  VLANS solve these issues by letting you deploy good infrastructure everywhere that everyone can benefit from as they can share the hardware, however with things like QOS, you can ensure that they do not stomp on each-other for the uplinks, but they are isolated in their own VLANs.</p>
<p>And what is the big deal with 802.1q?Â  Well going back to our VLANs vs using physical switches, if we had 1,000 VLANS on a switch, and we wanted to connect 300 of those VLANs to a single server without 802.1q you would need 300 network cards.Â  Just as adding another switch would require you to use 1,000 ports to carry all those VLANs from one switch to another.Â  By using 802.1q to tag each VLAN through the trunk port it lets you use a single physical connection, and appear on each network.</p>
<p>Hopefully this is enough to get you started, both in terms of how to set things up, but what to look for.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/10/11/vlan-part-6/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>What is a VLAN (part 5)</title>
		<link>https://virtuallyfun.com/2017/10/11/vlan-part-5/</link>
					<comments>https://virtuallyfun.com/2017/10/11/vlan-part-5/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 05:47:07 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7619</guid>

					<description><![CDATA[With the textmode setup complete, it&#8217;s time to do the graphical setup of Windows NT 4.0 Next You can use any name/org Select how many licenses you have for your NT Server. Give the server a name I&#8217;m not going &#8230; <a href="https://virtuallyfun.com/2017/10/11/vlan-part-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>With the textmode setup complete, it&#8217;s time to do the graphical setup of Windows NT 4.0</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-14.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7620" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-14.png" alt="" width="642" height="542" /></a>Next</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-15.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7621" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-15.png" alt="" width="642" height="542" /></a>You can use any name/org</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-16.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7622" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-16.png" alt="" width="642" height="542" /></a>Select how many licenses you have for your NT Server.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-17.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7623" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-17.png" alt="" width="642" height="542" /></a>Give the server a name</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-18.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7624" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-18.png" alt="" width="642" height="542" /></a>I&#8217;m not going to build a domain, so a stand alone server is fine.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-19.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7625" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-19.png" alt="" width="642" height="542" /></a>You can give the Administrator account a password if you so desire.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-20.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7626" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-20.png" alt="" width="642" height="542" /></a>I don&#8217;t need any emergency repair disk, as this server is the epitome of disposable.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-21.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7627" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-21.png" alt="" width="642" height="542" /></a>I added all the components.Â  Again for this test it really doesn&#8217;t matter.</p>
<div id="attachment_7628" style="width: 652px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-22.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7628" class="wp-image-7628 size-full" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-22.png" alt="" width="642" height="542" /></a><p id="caption-attachment-7628" class="wp-caption-text">Configure the networking</p></div>
<p>Now for the fun part, we are going to configure the networking.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-23.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7629" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-23.png" alt="" width="642" height="542" /></a>I&#8217;m sticking to &#8216;wired&#8217; networking.Â  I&#8217;ll save RAS for another lifetime.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-24.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7630" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-24.png" alt="" width="642" height="542" /></a>Everyone wants to be a webserver.Â  Sure why not.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-25.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7631" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-25.png" alt="" width="642" height="542" /></a>You can either manually select a NIC, or just let it auto-detect.Â  We are going to auto-detect it though.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-26.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7632" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-26.png" alt="" width="642" height="542" /></a></p>
<p>And it&#8217;ll correctly identify the AMD PCNet card.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-27.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7633" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-27.png" alt="" width="642" height="542" /></a>I selected all the protocols available.Â  I didn&#8217;t bother adding other ones like AppleTalk.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-28.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7634" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-28.png" alt="" width="642" height="542" /></a>Next..</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-29.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7635" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-29.png" alt="" width="642" height="542" /></a>Next</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-30.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7636" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-30.png" alt="" width="642" height="542" /></a>It&#8217;ll prompt for the media type and duplex.Â  The card isn&#8217;t real and it&#8217;ll work fine no matter what.Â  I just leave the options alone.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-31.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7637" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-31.png" alt="" width="642" height="542" /></a>Our network doesn&#8217;t have any DHCP server.Â  Since we are plugged into a simple hub.Â  DHCP requests will fail.Â  Let&#8217;s give it a static address.Â  For Advanced people, yes you could wireshark on the wire to observe the DHCP.Â  We will touch on how to do that later, as I just want to get NT installed .</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-32.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7638" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-32.png" alt="" width="642" height="542" /></a>There is no need for a gateway.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-33.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7639" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-33.png" alt="" width="642" height="542" /></a>We don&#8217;t have any bindings that need adjusting, so you can just hit Next</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-34.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7640" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-34.png" alt="" width="642" height="542" /></a>And Next again</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-35.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7641" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-35.png" alt="" width="642" height="542" /></a>Again, no domain, so run in workgroup mode.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-36.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7642" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-36.png" alt="" width="642" height="542" /></a>Finish, although it&#8217;s far from over.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-37.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7643" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-37.png" alt="" width="642" height="542" /></a>IIS components to install.Â  I just hit OK for the defaults.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-38.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7644" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-38.png" alt="" width="642" height="542" /></a>Confirm the creation of the directory</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-39.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7645" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-39.png" alt="" width="642" height="542" /></a>And the child directories</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-40.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7646" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-40.png" alt="" width="642" height="542" /></a>And creating the IIS child directories</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-41.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7647" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-41.png" alt="" width="642" height="542" /></a>Gopher isn&#8217;t happy without a domain name, but I don&#8217;t care.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-42.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7648" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-42.png" alt="" width="642" height="542" /></a>Select your timezone.Â  Or don&#8217;t.Â  This is from 1996, so many of the timezones are no-longer correct.Â  Just as DST has changed so many times.Â  But it really doesn&#8217;t matter yet again.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-43.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7649" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-43.png" alt="" width="642" height="542" /></a>The display adapter is SVGA compatible.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-44.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7650" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-44.png" alt="" width="642" height="542" /></a>Move the resolution slider to 800&#215;600</p>
<p>Then hit OK.Â  It&#8217;ll want to test the resolution</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-45.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7651" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-45.png" alt="" width="802" height="662" /></a>Everything looks good</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-46.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7652" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-46.png" alt="" width="642" height="542" /></a>YES I saw the bitmap</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-47.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7653" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-47.png" alt="" width="642" height="542" /></a>OK</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-48.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7654" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-48.png" alt="" width="642" height="542" /></a>OK to accept the display at 800&#215;600</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-49.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7655" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-49.png" alt="" width="642" height="542" /></a>Files will finally start to copy</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-50.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7656" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-50.png" alt="" width="642" height="542" /></a>And now we can finally restart are computer.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-51.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7657" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-51.png" alt="" width="722" height="462" /></a>By default the NT Loader will wait for 30 seconds.Â  You can hit enter to get it to load right away or wait.</p>
<p><a href="https://virtuallyfun.com/2017/10/11/vlan-part-6/">But we have now completed installing Windows NT, so we can now move on to capturing some traffic, aka part 6.</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/10/11/vlan-part-5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a VLAN (part 4)</title>
		<link>https://virtuallyfun.com/2017/10/11/vlan-part-4/</link>
					<comments>https://virtuallyfun.com/2017/10/11/vlan-part-4/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 05:47:01 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7602</guid>

					<description><![CDATA[In this post we are going to install Windows NT 4.0 Server into our VM. The first step is to turn the VM on.Â  Simply right click on the VM, and choose Start. The red dot will then turn green.Â  &#8230; <a href="https://virtuallyfun.com/2017/10/11/vlan-part-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>In this post we are going to install Windows NT 4.0 Server into our VM.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-5.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7601" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-5.png" alt="" width="986" height="749" /></a>The first step is to turn the VM on.Â  Simply right click on the VM, and choose Start. The red dot will then turn green.Â  Although it may appear that nothing is happening we just can&#8217;t see it yet.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-6.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7603" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-6.png" alt="" width="987" height="751" /></a>Right click again, and choose the console, and VNC will then connect to the Qemu VM, and we can now interact with it.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7604" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0.png" alt="" width="722" height="458" /></a>And here is where we start installing Windows NT 4.0.Â  I&#8217;ll just put the keys in parenthesis of what I&#8217;m doing. In this case just hit:</p>
<p>(enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7605" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-2.png" alt="" width="722" height="458" /></a>(enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-3.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7606" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-3.png" alt="" width="722" height="458" /></a>(c)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7607" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-4.png" alt="" width="722" height="458" /></a>(page down) until you get to the end, then hit (f8) to agree to the license</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-5.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7608" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-5.png" alt="" width="722" height="458" /></a>The default options are OK.Â Â (enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-6.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7609" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-6.png" alt="" width="722" height="458" /></a>(c)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-7.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7610" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-7.png" alt="" width="722" height="458" /></a>(enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-8.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7611" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-8.png" alt="" width="722" height="458" /></a>I chose NTFS for my server.Â  Although I&#8217;m not interested in creating a domain, so FAT will work too.Â  It really doesn&#8217;t matter.</p>
<p>(enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-9.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7614" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-9.png" alt="" width="722" height="458" /></a>(enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-10.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7615" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-10.png" alt="" width="722" height="458" /></a>(enter)</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-11.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7616" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-11.png" alt="" width="722" height="458" /></a>Waiting for the files to copy</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-12.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7617" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-12.png" alt="" width="722" height="458" /></a>(enter)</p>
<p>On reboot if you have selected NTFS it&#8217;ll convert the filesystem like this:</p>
<div id="attachment_7618" style="width: 732px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-13.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7618" class="size-full wp-image-7618" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-install-NT-4.0-13.png" alt="" width="722" height="462" /></a><p id="caption-attachment-7618" class="wp-caption-text">converting FAT to NTFS</p></div>
<p>After the conversion, NT will reboot again, then it&#8217;ll continue the setup process.</p>
<p>Otherwise you&#8217;ll just reboot directly into the <a href="https://virtuallyfun.com/2017/10/11/vlan-part-5/">graphical setup of Windows NT, and we can continue in part 5.</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/10/11/vlan-part-4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a VLAN (part 3)</title>
		<link>https://virtuallyfun.com/2017/10/11/vlan-part-3/</link>
					<comments>https://virtuallyfun.com/2017/10/11/vlan-part-3/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 05:46:54 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7595</guid>

					<description><![CDATA[In our previous post, we configured a Qemu template for Windows NT. With the NT template ready we will be prompted to give this project a name. So I called this one &#8216;what-is-a-vlan&#8217; sticking with the theme. Now we can &#8230; <a href="https://virtuallyfun.com/2017/10/11/vlan-part-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://virtuallyfun.com/?p=7579">In our previous post, we configured a Qemu template for Windows NT</a>.</p>
<p>With the NT template ready we will be prompted to give this project a name.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-save-project.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7596" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-save-project.png" alt="" width="522" height="333" /></a></p>
<p>So I called this one &#8216;what-is-a-vlan&#8217; sticking with the theme.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7597" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan.png" alt="" width="986" height="747" /></a></p>
<p>Now we can drag components out.Â  I selected the NT template that I&#8217;ve created, and dragged it out to the design pane.Â  Now we have a computer!</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7598" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-2.png" alt="" width="986" height="747" /></a>I then selected a simple Ethernet hub, to begin verifying that our configuration is working.Â  Just drag it out to the toplogy pane.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-3.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7599" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-3.png" alt="" width="986" height="749" /></a>Now for the fun part, we are going to connect the Windows NT VM to the Hub.Â  Right click on the Qemu VM, and it&#8217;s available Ethernet interfaces will pop up.Â  It only has one, so select Ethernet 0.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7600" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-what-is-a-vlan-4.png" alt="" width="985" height="745" /></a>Now you can select the Hub to complete the connection.Â  Hubs repeat every packet they receive, and don&#8217;t change anything.Â  They offer zero intelligence, and have no way to save you from yourself, if you do anything stupid (see creating a loop).Â  Every packet that comes into a hub is sent to every port going out.Â  They don&#8217;t care about protocols, or anything they just simply repeat.</p>
<p>&nbsp;</p>
<p>So this will be our simple network.Â  The next thing to do is to turn on our PC, and install Windows NT 4.0.Â  I&#8217;ll save that for <a href="https://virtuallyfun.com/?p=7602">the next step which you can follow here</a>.Â  If you don&#8217;t care about installing Windows, <a href="https://virtuallyfun.com/?p=7658">then you can skip to the following step where we will do a simple packet capture of the NT machine connected to the hub</a> so we can observe how it&#8217;s packets look.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/10/11/vlan-part-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a VLAN (part 2)</title>
		<link>https://virtuallyfun.com/2017/10/11/vlan-part-2/</link>
					<comments>https://virtuallyfun.com/2017/10/11/vlan-part-2/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 05:46:49 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Windows NT 4.0]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7579</guid>

					<description><![CDATA[In the last post, we quickly went over the default install of GNS3. We are now going to configure a QEMU template for Windows NT.Â  I&#8217;m going with Windows NT as its pretty resource low, has TCP/IP and other protocols &#8230; <a href="https://virtuallyfun.com/2017/10/11/vlan-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://virtuallyfun.com/?p=7571">In the last post</a>, we quickly went over the default install of GNS3.</p>
<p>We are now going to configure a QEMU template for Windows NT.Â  I&#8217;m going with Windows NT as its pretty resource low, has TCP/IP and other protocols like IPX/SPX which can be routed and NetBEUI which has to be bridged.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7580" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0.png" alt="" width="460" height="379" /></a>We are going to use the Qemu option</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7581" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-2.png" alt="" width="502" height="119" /></a>Although we do get this warning, it really doesn&#8217;t matter.Â  NT runs fine.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-3.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7582" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-3.png" alt="" width="625" height="449" /></a>Give the machine a name</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7583" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-4.png" alt="" width="625" height="449" /></a>The default 256MB of RAM is more than enough.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-5.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7584" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-5.png" alt="" width="625" height="449" /></a>Set the console to VNC, as NT is graphical</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-6.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7585" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-6.png" alt="" width="537" height="401" /></a></p>
<p>I set it to use the included qemu-2.4.0&#8217;s Qcow2 image format for the virtual hard disk</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-7.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7586" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-7.png" alt="" width="537" height="401" /></a>The default options are fine.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-8.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7587" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-8.png" alt="" width="537" height="401" /></a>I&#8217;m not going to try to build anything that sophisticated, so 500MB is more than enough for NT 4.0 .Â  If you do want something more involved 2GB is the effective limit for a boot disk for NT 4.0 SP1</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-9.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7588" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-9.png" alt="" width="625" height="449" /></a>The default name is fine too.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-10.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7589" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-10.png" alt="" width="982" height="712" /></a>We do however need to make some changes.Â  The network card needs to be the AMD PCnet version, and we need to add an additional flag to Qemu to restrict the CPU functionality to a 486 so that NT will install without any issues.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-11.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7590" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-11.png" alt="" width="587" height="615" /></a>So the networking tab will let you change the type.Â  AMD PCNet is the one that is supported out of the box, and verified working!</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-12.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7591" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-12.png" alt="" width="587" height="615" /></a>On the Advanced settings tab, is where you can add the -cpu 486 flag, as indicated above.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-14.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7593" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-14.png" alt="" width="587" height="615" /></a>On the CD/DVD tab, you will want to point it to an ISO of Windows NT.Â  It doesn&#8217;t matter if it&#8217;s Workstation, Server, Enterprise, Terminal Server.Â  They all install the same.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-13.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7592" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-13.png" alt="" width="502" height="119" /></a>It will prompt you if you want to copy the ISO into the default images directory.Â  It really doesn&#8217;t matter one way or the other.</p>
<div id="attachment_7594" style="width: 992px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-15.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7594" class="size-full wp-image-7594" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-configure-NT-4.0-15.png" alt="" width="982" height="712" /></a><p id="caption-attachment-7594" class="wp-caption-text">Qemu image configured for NT</p></div>
<p>Now the image is configured for NT.</p>
<p><a href="https://virtuallyfun.com/?p=7595">Now we can continue to building our first topology (AKA Part 3)</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/10/11/vlan-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a VLAN (part 1)</title>
		<link>https://virtuallyfun.com/2017/10/11/vlan-part-1/</link>
					<comments>https://virtuallyfun.com/2017/10/11/vlan-part-1/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 05:46:43 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[virtual networking]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7571</guid>

					<description><![CDATA[I got this question the other day, and I thought I&#8217;d make something of it. &#8220;What is a VLAN?&#8221; And more importantly&#8230; Do you know of a good tutorialÂ  / tool / game that I can use to understand vlans? &#8230; <a href="https://virtuallyfun.com/2017/10/11/vlan-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>I got this question the other day, and I thought I&#8217;d make something of it.</p>
<p style="padding-left: 30px;"><em>&#8220;What is a VLAN?&#8221;</em></p>
<p>And more importantly&#8230;</p>
<p style="padding-left: 30px;"><em>Do you know of a good tutorialÂ  / tool / game that I can use to understand vlans?</em></p>
<p>Sure do, <a href="https://www.gns3.com/">GNS3</a>.Â  So in this series as I know I&#8217;ll have to break it up as it&#8217;s going to be a LOT of images, I&#8217;m going to go over the installation of GNS3 on Windows (I&#8217;m not interested in obsolete package versions on whatever distro of the minute is the fancy in Linux world), I&#8217;ll go over how to use QEMU to install a Windows NT VM, go over how networking works with a simple hub, then install two switches, a trunk connection, and show how to observe the VLAN tagging in action.Â  Then add in other VM&#8217;s and more VLANs and then go over bridging vs routing.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7572" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup.png" alt="" width="499" height="388" /></a>The installation options are pretty simple.Â  I&#8217;m going to just stick with the default.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7573" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup-2.png" alt="" width="499" height="388" /></a>You can install it wherever you like.Â  You don&#8217;t have to install it on the C drive if you do not wish to.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup-3.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7574" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup-3.png" alt="" width="499" height="388" /></a>And with that, hit next and it&#8217;s installed.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup-4.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7575" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-default-setup-4.png" alt="" width="499" height="388" /></a>Im not interested in the solar winds stuff, so I just declined.Â  Nothing was missed.Â  After that go ahead and launch GNS 3, and you are welcomed with this screen.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-run-everything-local.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7576" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-run-everything-local.png" alt="" width="756" height="558" /></a>I&#8217;m going to run everything on my computer.Â  I&#8217;m not going to get into slave machines, or even wondering why they don&#8217;t just launch multiple instances of dynamips where needed.Â  Or even what capabilities there are or even at the moment trying to force my <a href="https://sourceforge.net/projects/dynamips-mingw/">MinGW Dynamips</a> into the project.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-run-everything-local-2.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7577" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-run-everything-local-2.png" alt="" width="756" height="558" /></a>It&#8217;ll pick a port and host binding.Â  It&#8217; really doesn&#8217;t matter too much, maybe you want it for a proper LAN connection.Â  again I&#8217;m focused on using this as a self contained thing so the default option ought to work.</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-run-everything-local-3.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-7578" src="https://virtuallyfun.com/wp-content/uploads/2017/10/gns3-2.0.3-run-everything-local-3.png" alt="" width="756" height="558" /></a>And with that said we can now move onto <a href="https://virtuallyfun.com/?p=7579">configuring a QEMU template for Windows NT (part 2)</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/10/11/vlan-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting started with cisco VIRL L2 virtual Ethernet switches</title>
		<link>https://virtuallyfun.com/2017/03/06/getting-started-cisco-virl-l2-virtual-ethernet-switches/</link>
					<comments>https://virtuallyfun.com/2017/03/06/getting-started-cisco-virl-l2-virtual-ethernet-switches/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 06 Mar 2017 05:42:16 +0000</pubDate>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco networking]]></category>
		<category><![CDATA[GNS3]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[virtual networking]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=6901</guid>

					<description><![CDATA[Well for the longest time there was no generally available way to emulate a cisco L2 switch. right beforeÂ Dynamips was abandoned, in 0.28RC1, there was actually some work on the the Catalyst 6000 Supervisor 1 line card, although no interfaces &#8230; <a href="https://virtuallyfun.com/2017/03/06/getting-started-cisco-virl-l2-virtual-ethernet-switches/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Well for the longest time there was no generally available way to emulate a cisco L2 switch. right beforeÂ Dynamips was abandoned, in <a href="http://unix.superglobalmegacorp.com/cgi-bin/cvsweb.cgi/cf/dev_c6sup1.c?rev=1.1.1.1;cvsroot=Dynamips;only_with_tag=dynamips_028-rc1">0.28RC1</a>, there was actually some work on the the <a href="http://www.cisco.com/c/en/us/products/interfaces-modules/catalyst-6500-series-supervisor-engine-1a/index.html">Catalyst 6000 Supervisor 1 line card</a>, although no interfaces are supported, and it was largely seen as impossible at the time.</p>
<p>While there may have been leaks of the internal IOU or IOS on UNIX, these are even more dubious than buying your own cisco 7200 and running that IOS on Dynamips. Â Indeed in the old days you&#8217;d no doubt find people with home labs that look something like this:</p>
<div id="attachment_6902" style="width: 2314px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/IMG_20170304_120222.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6902" class="size-full wp-image-6902" src="https://virtuallyfun.com/wp-content/uploads/2017/03/IMG_20170304_120222.jpg" alt="" width="2304" height="1296" /></a><p id="caption-attachment-6902" class="wp-caption-text">My sad lab.</p></div>
<p>So yeah, I know it&#8217;s not new but it was new to me. Â But yes, VIRL is something us mere mortals can buy without a CCIE on hand, or a multi-million dollar contract on hand. Â Although it isn&#8217;t free, but compared to everything else cisco sells it&#8217;s cheap&#8230;</p>
<p><a href="http://virl.cisco.com/getvirl/"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-6903" src="https://virtuallyfun.com/wp-content/uploads/2017/03/purchase-VIRL.png" alt="" width="1245" height="701" /></a></p>
<p>So VIRL comes in a few different flavors. Â They do have an ISO to run on bare metal x86 machines, OVAs for deployment on VMWare Workstation, and ESXi (Although for player you&#8217;ll have to get VIX and the vmnet config util from workstation, as I went through <a href="https://virtuallyfun.com/2014/05/25/gns3-vmware/">here</a> &amp; <a href="https://virtuallyfun.com/2016/01/19/getting-dot1q-to-work-between-vmware-and-gns3/">here</a>).</p>
<p>Although that&#8217;s not so much what I&#8217;m interested in. Â As always I&#8217;m more interested in something that lets me run it on my own.</p>
<div id="attachment_6904" style="width: 1046px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/Download-Cisco-Virtual-Internet-Routing-Lab-IOSvL2.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6904" class="size-full wp-image-6904" src="https://virtuallyfun.com/wp-content/uploads/2017/03/Download-Cisco-Virtual-Internet-Routing-Lab-IOSvL2.png" alt="" width="1036" height="770" /></a><p id="caption-attachment-6904" class="wp-caption-text">Downloading the l2 image</p></div>
<p>So as of today, the latest file isÂ vios_l2-adventerprisek9-m.vmdk.SSA.152-4.0.55.E, with the MD5 checksum ofÂ 1a3a21f5697cae64bb930895b986d71e.</p>
<p>So as a first test, you can run the L2 image with Qemu/KVM! Â I found it works better renamingÂ vios_l2-adventerprisek9-m.vmdk.SSA.152-4.0.55.E toÂ vios_l2-adventerprisek9-m.vmdk.SSA.152-4.0.55.E.vmdk otherwise there was some issues with Qemu picking up the image.</p>
<p>The command line for a switch can be a little crazy so it&#8217;ll break some of it up onto separate lines. Â This way you can see that I bound a few interfaces to listen on UDP, while most of them are unbound, but you get the idea. Â Naturally it being a cisco product, it drives with a serial console.</p>
<p style="padding-left: 30px;">qemu-system-i386w.exe<br />
-m 768M<br />
-smp cpus=1<br />
-boot order=c<br />
-drive file=vios_l2-adventerprisek9-m.vmdk.SSA.152-4.0.55.E.vmdk,if=ide,index=0,media=disk<br />
-serial telnet:127.0.0.1:5000,server,nowait<br />
-monitor tcp:127.0.0.1:51492,server,nowait<br />
-net none -device e1000,mac=00:2e:3c:92:26:00<br />
-device e1000,mac=00:2e:3c:92:26:01,netdev=gns3-1<br />
-netdev socket,id=gns3-1,udp=127.0.0.1:10003,localaddr=127.0.0.1:10002<br />
-device e1000,mac=00:2e:3c:92:26:02<br />
-device e1000,mac=00:2e:3c:92:26:03<br />
-device e1000,mac=00:2e:3c:92:26:04<br />
-device e1000,mac=00:2e:3c:92:26:05,netdev=gns3-5<br />
-netdev socket,id=gns3-5,udp=127.0.0.1:10000,localaddr=127.0.0.1:10001<br />
-device e1000,mac=00:2e:3c:92:26:06 -device e1000,mac=00:2e:3c:92:26:07<br />
-device e1000,mac=00:2e:3c:92:26:08 -device e1000,mac=00:2e:3c:92:26:09<br />
-device e1000,mac=00:2e:3c:92:26:0a -device e1000,mac=00:2e:3c:92:26:0b<br />
-nographic</p>
<p>In some ways, this is very much like running <a href="http://gunkies.org/wiki/Installing_Solaris_2.4_on_Qemu_SPARC">Solaris on QEMU via a serial console</a>. Â Once booted up, if you grab the console you&#8217;ll see:</p>
<div id="attachment_6905" style="width: 671px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/l2-grub-console.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6905" class="size-full wp-image-6905" src="https://virtuallyfun.com/wp-content/uploads/2017/03/l2-grub-console.png" alt="" width="661" height="418" /></a><p id="caption-attachment-6905" class="wp-caption-text">l2&#8217;s grub console</p></div>
<p>Now, while I think it&#8217;s interesting to play with, but I know many people don&#8217;t like to setup and run a dozen programs manually, so how do we get this to run underÂ GNS3!</p>
<p>As of right now the current version is 1.5.3, so let&#8217;s step through this real quick</p>
<div id="attachment_6906" style="width: 390px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/GNS-153.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6906" class="size-full wp-image-6906" src="https://virtuallyfun.com/wp-content/uploads/2017/03/GNS-153.png" alt="" width="380" height="266" /></a><p id="caption-attachment-6906" class="wp-caption-text">Version 1.5.3</p></div>
<p>First when you fire it up (by default) you&#8217;ll get the option to specify using a local server</p>
<div id="attachment_6907" style="width: 776px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/use-local-server.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6907" class="size-full wp-image-6907" src="https://virtuallyfun.com/wp-content/uploads/2017/03/use-local-server.png" alt="" width="766" height="218" /></a><p id="caption-attachment-6907" class="wp-caption-text">use local server</p></div>
<p>Next you will want to check the box to add a Qemu VM</p>
<div id="attachment_6908" style="width: 731px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/Add-a-Qemu-VM.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6908" class="size-full wp-image-6908" src="https://virtuallyfun.com/wp-content/uploads/2017/03/Add-a-Qemu-VM.png" alt="" width="721" height="317" /></a><p id="caption-attachment-6908" class="wp-caption-text">Add a Qemu VM</p></div>
<p>give it a name like adventerprisek9-m.vmdk.SSA.152-4.0.55.E&#8230; Or anything else you wish to call it.</p>
<div id="attachment_6909" style="width: 635px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/give-it-a-name-like-adventerprisek9-m.vmdk_.SSA_.152-4.0.55.E.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6909" class="size-full wp-image-6909" src="https://virtuallyfun.com/wp-content/uploads/2017/03/give-it-a-name-like-adventerprisek9-m.vmdk_.SSA_.152-4.0.55.E.png" alt="" width="625" height="449" /></a><p id="caption-attachment-6909" class="wp-caption-text">give it a name</p></div>
<p>Next I set the emulator to qemu-system-i386.exe and give it 768MB of RAM.</p>
<div id="attachment_6910" style="width: 635px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/set-to-the-i386-and-768MB-of-RAM.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6910" class="size-full wp-image-6910" src="https://virtuallyfun.com/wp-content/uploads/2017/03/set-to-the-i386-and-768MB-of-RAM.png" alt="" width="625" height="449" /></a><p id="caption-attachment-6910" class="wp-caption-text">set the Qemu emulator &amp; RAM</p></div>
<p>hit next, and then it&#8217;ll prompt to select a disk image. Â In this example, remember I had renamed the downloaded VIRL image to have a VMDK extension.</p>
<div id="attachment_6911" style="width: 836px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/select-the-image-added-a-VMDK-extension.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6911" class="size-full wp-image-6911" src="https://virtuallyfun.com/wp-content/uploads/2017/03/select-the-image-added-a-VMDK-extension.png" alt="" width="826" height="518" /></a><p id="caption-attachment-6911" class="wp-caption-text">select the image</p></div>
<p>Then GNS3 will prompt to add it to the default images directory</p>
<div id="attachment_6913" style="width: 512px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/add-VMDK-to-the-default-images-directory.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6913" class="size-full wp-image-6913" src="https://virtuallyfun.com/wp-content/uploads/2017/03/add-VMDK-to-the-default-images-directory.png" alt="" width="502" height="119" /></a><p id="caption-attachment-6913" class="wp-caption-text">add it to the images directory</p></div>
<p>After that the wizard is complete.</p>
<div id="attachment_6914" style="width: 635px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/hit-finish.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6914" class="size-full wp-image-6914" src="https://virtuallyfun.com/wp-content/uploads/2017/03/hit-finish.png" alt="" width="625" height="449" /></a><p id="caption-attachment-6914" class="wp-caption-text">Then finish</p></div>
<p>However there is still a bunch of settings that still need to change. Â If you don&#8217;t make these changes you&#8217;ll have a switch with a single Ethernet port, and you will only be able to deploy a single switch, so that won&#8217;t be any fun!.</p>
<p>Once the wizard has finished you&#8217;ll be in the Preferences. Â Just hit edit, on the template we just added, or otherwise it&#8217;s under Edit-&gt;Preferences.</p>
<div id="attachment_6915" style="width: 992px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/hit-edit.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6915" class="size-full wp-image-6915" src="https://virtuallyfun.com/wp-content/uploads/2017/03/hit-edit.png" alt="" width="982" height="712" /></a><p id="caption-attachment-6915" class="wp-caption-text">Hit edit</p></div>
<p>First thing is kind of cosmetic, but go ahead and set the Category to Switches, so that way it &#8216;flows&#8217; nice in the UI.</p>
<div id="attachment_6916" style="width: 597px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/set-category-to-switches.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6916" class="size-full wp-image-6916" src="https://virtuallyfun.com/wp-content/uploads/2017/03/set-category-to-switches.png" alt="" width="587" height="565" /></a><p id="caption-attachment-6916" class="wp-caption-text">set category</p></div>
<p>Next hit the Network tab, and then add some adapters.</p>
<div id="attachment_6917" style="width: 597px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/set-the-adapters-to-something-more-usable-like-12.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6917" class="size-full wp-image-6917" src="https://virtuallyfun.com/wp-content/uploads/2017/03/set-the-adapters-to-something-more-usable-like-12.png" alt="" width="587" height="565" /></a><p id="caption-attachment-6917" class="wp-caption-text">set the adapters to something more usable like 12</p></div>
<p>I&#8217;ve set the switch to 12 adapters. Â The default of 1 isn&#8217;t too useful. Â Next up hit the Advanced settings tab. Â Be sure to un-check the &#8216;Use as a linked base VM&#8217; . This will let you deploy multiple copies. Â On Windows there is some weird issue where changes are seemingly not saved, so be sure to have a config backup strategy beyond saving the config locally.</p>
<div id="attachment_6918" style="width: 597px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/03/uncheck-the-Use-as-linked-base-VM.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6918" class="size-full wp-image-6918" src="https://virtuallyfun.com/wp-content/uploads/2017/03/uncheck-the-Use-as-linked-base-VM.png" alt="" width="587" height="565" /></a><p id="caption-attachment-6918" class="wp-caption-text">uncheck the Use as linked base VM</p></div>
<p>Great, hit OK, and now we&#8217;ve got our L2 template for GNS3!</p>
<p>As a bonus, I put it on Linux, and it&#8217;ll run under KVM, however if you use the cisco downloaded files, you&#8217;ll see this error while booting:</p>
<p class="p1" style="padding-left: 30px;"><span class="s1">-Traceback= 1DBB7C8z 8DBFE5z 90522Ez 904F50z 904D5Dz 900F45z 901B7Bz 901B0Fz 8D7C0Dz 8D7B0Dz 887061z 8BAE73z 8B9FD7z 8B7827z 8BCCC4z 8C0587z &#8211; Process &#8220;Async write process&#8221;, CPU hog, PC 0x008D7D62</span></p>
<p class="p1">Over and over, and it&#8217;ll be generally slow. Â For some reason KVM/Qemu on Linux is struggling with the VMDK. Â So the solution is to simply convert it from a VMWare VMDK into a Qcow2 image with:</p>
<p class="p1"><span class="s1"> qemu-img convert -f vmdk -O qcow2 vios_l2-adventerprisek9-m.vmdk.SSA.152-4.0.55.E.vmdk<span class="Apple-converted-space">Â  </span>vios_l2-adventerprisek9-m.vmdk.SSA.152-4.0.55.E.qcow2 </span></p>
<p class="p1">Now using the qcow2 file, the switch will boot up just fine!</p>
<p class="p1">For any reference I&#8217;m runningÂ <span class="s1">Ubuntu 16.10</span></p>
<p class="p1">and the KVM version is:</p>
<p class="p1"><span class="s1"># kvm &#8211;version</span></p>
<p class="p1" style="padding-left: 30px;"><span class="s1">QEMU emulator version 2.6.1 (Debian 1:2.6.1+dfsg-0ubuntu5.3), Copyright (c) 2003-2008 Fabrice Bellard</span></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/03/06/getting-started-cisco-virl-l2-virtual-ethernet-switches/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Getting dot1q to work between VMware and GNS3</title>
		<link>https://virtuallyfun.com/2016/01/19/getting-dot1q-to-work-between-vmware-and-gns3/</link>
					<comments>https://virtuallyfun.com/2016/01/19/getting-dot1q-to-work-between-vmware-and-gns3/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 19 Jan 2016 15:27:47 +0000</pubDate>
				<category><![CDATA[GNS3]]></category>
		<category><![CDATA[VMWare]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5794</guid>

					<description><![CDATA[So I had this fun episode where I was using Qemu to emulate an ASA, and it worked OK but it was incredibly slow, and I couldn&#8217;t put in multiple gigabytes of RAM. Â So I thought I&#8217;d just dump Qemu &#8230; <a href="https://virtuallyfun.com/2016/01/19/getting-dot1q-to-work-between-vmware-and-gns3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>So I had this fun episode where I was using Qemu to emulate an ASA, and it worked OK but it was incredibly slow, and I couldn&#8217;t put in multiple gigabytes of RAM. Â So I thought I&#8217;d just dump Qemu and load it up on VMWare.</p>
<p>Well simple ethernet connections work just fine, but the dot1q interface (as this setup has about 50 different connections) doesn&#8217;t work at all.</p>
<p>The closest thing I could find <a href="https://communities.vmware.com/thread/505772?start=0&amp;tstart=0">was this interesting post</a>, which states:</p>
<blockquote><p>As I have attached previously there are 802.1q packets leaving the GNS emulated 7200 router but they are not being interpreted by the HOST-ONLY Adapter that is installed with workstation 11 nor does the HOST-ONLY adapter then TAG the l2 frames with the 802.1q ID.</p></blockquote>
<p>So the host only adapters that I&#8217;m creating to give VMWare interfaces that GNS3 can latch onto, strip dot1q!</p>
<p>Well this is no good!</p>
<p>So I thought I&#8217;d try the older standby solution, which is the MS Loopback adapter, and try it that way.</p>
<p>Adding the adapter wasn&#8217;t too hard in 10, but they renamed it to theÂ KM-TEST Loopback Adapter for some reason. Â Anyways with the adapter installed, I removed all the bindings other than the VMware Bridge Protocol.</p>
<div id="attachment_5790" style="width: 373px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-5790" class="size-full wp-image-5790" src="https://virtuallyfun.com/wp-content/uploads/2016/01/KM-TEST-Loopback-Adapter.png" alt="bindings for the loopback" width="363" height="468" /><p id="caption-attachment-5790" class="wp-caption-text">bindings for the loopback</p></div>
<p>With that done, the next thing to do was run <a href="https://virtuallyfun.com/2014/05/25/gns3-vmware/">vmnetcfg</a>, and bind the tunnel interface to a VMnet interface but not in the Host-only connection but bridged directly to the loopback adapter.</p>
<div id="attachment_5791" style="width: 600px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-5791" class="size-full wp-image-5791" src="https://virtuallyfun.com/wp-content/uploads/2016/01/vmnetcfg-to-configure-Loop.png" alt="vmnetcfg" width="590" height="526" /><p id="caption-attachment-5791" class="wp-caption-text">vmnetcfg</p></div>
<p>Now with the VMware part configured, it&#8217;s a matter of configuring a Cloud object in GNS3, and binding it to the loopback adapter, which in my case has the great name of &#8216;Ethernet 2&#8217;.</p>
<div id="attachment_5792" style="width: 720px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-5792" class="size-full wp-image-5792" src="https://virtuallyfun.com/wp-content/uploads/2016/01/GNS3-config-to-bind-cloud-to-loop.png" alt="vmnetcfg" width="710" height="532" /><p id="caption-attachment-5792" class="wp-caption-text">GNS3 bindings</p></div>
<p>From there I just attach the cloud to a dot1q &#8216;trunk&#8217; interface on a GNS3 virtual ethernet switch.</p>
<p>With this proverbial house of cards built up,Â I can fire-up another VMware machine, in this case a Windows 2000 computer that is bound to a &#8216;normal&#8217; VMnet adapter, with no fancy dot1a and..</p>
<div id="attachment_5793" style="width: 1229px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-5793" class="size-full wp-image-5793" src="https://virtuallyfun.com/wp-content/uploads/2016/01/Windows-2000-through-the-firewall.png" alt="It works!" width="1219" height="719" /><p id="caption-attachment-5793" class="wp-caption-text">It works!</p></div>
<p>I can get IE6 and all it&#8217;s glory on the internet.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2016/01/19/getting-dot1q-to-work-between-vmware-and-gns3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
