<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4589233933784916889</id><updated>2025-10-07T00:30:57.580-07:00</updated><category term="How To"/><category term="Apple"/><category term="GNS3"/><category term="iPhone"/><category term="Juniper Networks"/><category term="cisco"/><category term="junOS"/><category term="Qemu"/><category term="Vmware"/><category term="IOS"/><category term="Hakintosh"/><category term="Simulator"/><category term="juniper olive"/><category term="Dynamips"/><category term="VoIP"/><category term="Google"/><category term="Kindle"/><category term="Amazon"/><category term="Jailbreak"/><category term="Juniper"/><category term="Kindle Fire"/><category term="Microsoft"/><category term="iPhone 4S"/><category term="Hypervisor"/><category term="MAC OS X"/><category term="Android"/><category term="ScreenOS"/><category term="skype"/><category term="social network"/><category term="Adsense"/><category term="Asterisk"/><category term="AsteriskNOW"/><category term="FreeBSD"/><category term="Kqemu"/><category term="Multiple Olives"/><category term="Siri"/><category term="Virtualization"/><category term="skype gateway"/><category term="winpcap"/><category term="3cx"/><category term="Adwords"/><category term="Drivers"/><category term="Linux"/><category term="Mac OSx86"/><category term="Social Media"/><category term="TAP Interfaces"/><category term="iPhone 5"/><category term="AsteriskNOW GUI"/><category term="Blog"/><category term="Cisco ACS"/><category term="Citrix"/><category term="Facebook"/><category term="Microsoft OCS"/><category term="Microsoft OCS 2007"/><category term="Netscreen"/><category term="Pemu"/><category term="RADIUS"/><category term="Rumors"/><category term="Samsung Galaxy S3"/><category term="advertising"/><category term="Emulators"/><category term="Fedora"/><category term="IP SLA"/><category term="Linksys"/><category term="Load Balancing"/><category term="OSx86"/><category term="SLA"/><category term="Untethered"/><category term="VDI"/><category term="Vmware View"/><category term="Webmaster"/><category term="Webtraffic"/><category term="Xendesktop"/><category term="google adsense"/><category term="google adwords"/><category term="iPad"/><category term="iPad 3"/><category term="iPad Mini"/><category term="itunes"/><category term="leopard"/><category term="online advertising"/><category term="Adsense Alternatives"/><category term="Altiris"/><category term="Android Market"/><category term="App-V"/><category term="Bing"/><category term="Blog Traffic"/><category term="Blogs"/><category term="BurritoRoot"/><category term="Carrier IQ"/><category term="CentOS"/><category term="Cisco ASA"/><category term="DMG"/><category term="Flipboard"/><category term="Fring"/><category term="Google Currents"/><category term="H1Siri"/><category term="Hyper-V"/><category term="IPO"/><category term="InstallFree"/><category term="J-Web"/><category term="J-series"/><category term="Junkebox"/><category term="Kindle Touch"/><category term="MAC"/><category term="MRTG"/><category term="Mcafee"/><category term="Multicast"/><category term="NSM"/><category term="NSRP"/><category term="Nokia"/><category term="Nokia Lumia"/><category term="Nook Tablet"/><category term="PIX"/><category term="Pwnage"/><category term="Python"/><category term="RHEL"/><category term="Redhat"/><category term="Redsn0w"/><category term="Review"/><category term="SEO"/><category term="Samsung Galaxy S II"/><category term="SemiTethered"/><category term="Sitemaps"/><category term="Snow Leopard"/><category term="Software"/><category term="Spire"/><category term="Streaming"/><category term="Tandberg"/><category term="Tethered"/><category term="ThinApp"/><category term="Tiger OSX"/><category term="Twitter"/><category term="Ultrasn0w"/><category term="VPN"/><category term="Windows"/><category term="Windows 8"/><category term="Windows Phone"/><category term="Wireless"/><category term="XenApp"/><category term="Xencode"/><category term="Xenserver"/><category term="i"/><category term="iPad 4"/><category term="iPhSamsung Galaxy S II"/><category term="iPhone 3G"/><category term="iPhone 3GS"/><category term="iPhone 4Sone"/><category term="iPod"/><category term="install os x on pc"/><category term="intel"/><category term="limera1n"/><category term="osx project"/><category term="ping"/><category term="vSphere"/><title type='text'>BLOG OUT LOUD!</title><subtitle type='html'>ahsantasneem&#39;s Blog - Technology That Matters</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ahsantasneem.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default?max-results=5&amp;redirect=false'/><link rel='alternate' type='text/html' href='http://ahsantasneem.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default?start-index=6&amp;max-results=5&amp;redirect=false'/><author><name>Ahsan Tasneem</name><uri>http://www.blogger.com/profile/07824424780627183103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>116</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>5</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4589233933784916889.post-1592120161313533418</id><published>2012-11-10T10:36:00.002-08:00</published><updated>2012-11-10T10:40:03.385-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="GNS3"/><category scheme="http://www.blogger.com/atom/ns#" term="How To"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Qemu"/><title type='text'>How To – Create Cisco Switch with IOU [IOS On Unix] Loaded on CentOS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The tutorial describes steps
required for creating Cisco switch based on IOUl2. The Qemu image with
installed CentOS Linux is loaded with IOU image. The IOU (IOS&amp;nbsp;on UNIX)&amp;nbsp;instances are attached
to the network using iou2net.pl script written by Jeremy L. Gaddis. The script
forwards frames between a IOU instance and a Qemu network adapters. The script
is started using tap mode when Qemu interfaces are bridged with virtual tap
interfaces.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;1. Create Qemu
image&lt;/strong&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/local/bin/qemu-img
create -f qcow2 ./centos6.0-ioul2.img 2000M&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;2. Download CentOS
6.0 minimal install CD&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;wget http://centos.arcticnetwork.ca/6/isos/i386/CentOS-6.0-i386-minimal.iso&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Start Qemu image with attached
CentOS minimal CD. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;qemu-kvm -no-acpi
-boot d -hda centos6.0-ioul2.img -cdrom ./Download/CentOS-6.0-i386-minimal.iso
-m 1G&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;3. Install CentOS
6.0&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I am not going to describe all
the necessary steps required for CentOS installation. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configure following settings
during installation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- hostname – centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- root password – centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- /dev/sda1 – ext4 – 1500 MB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- swap – 499 MB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After installation, shutdown
CentOS and update it using yum. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;qemu-kvm -no-acpi
-boot c -hda centos6.0-ioul2.img -m 1G&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;dhclient eth0&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;yum update&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;4. Console support
and autologin configuration on tty0 and ttyS0&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;We want to redirect console
output to serial port and allow autologin on both tty0 and ttyS0.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Add line to /etc/inittab&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;S0:12345:respawn:/sbin/agetty
ttyS0 9600 vt100&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;Modify in
/etc/init/tty.conf&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;exec /sbin/mingetty
–autologin root $TTY&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c) &lt;u&gt;Modify line &quot;exec /sbin/agetty
/dev/$DEV $SPEED vt100-nav&quot; in /etc/init/serial.conf&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;exec /sbin/mingetty
–autologin root /dev/$DEV $SPEED vt100-nav&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;d) &lt;u&gt;Allow root login on serial
port&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo
&quot;ttyS0&quot; &amp;gt;&amp;gt; /etc/securetty &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;e) &lt;u&gt;Edit /etc/sysconfig/init
and prevent graphical startup to blow up a terminal&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Substitute BOOTUP=color with
BOOTUP=serial. Use the command below or edit /etc/sysconfig/init manually.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sed -i
`s/BOOTUP=color/BOOTUP=serial/g` /etc/sysconfig/init&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;f) &lt;u&gt;Edit /etc/grub.conf to
redirect console output to the serial port – /dev/ttyS0&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- Comment out these 2 lines by
putting # at the beginning of the line:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;#&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;splashimage=(hd0,0)/grub/splash.xpm.gz&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;#&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;hiddenmenu&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- Set timeout to 0 seconds &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;timeout=0&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- Add this line end at the end of
line starting with &quot;kernel&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;console=ttyS0,9600n8&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- Shutdown Centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;halt&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;5. Disable
Firewall and SElinux&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;qemu-kvm -no-acpi
-boot c -hda centos6.0-ioul2.img -serial telnet:0.0.0.0:3000,server,nowait&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;telnet localhost 3000&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Disable ipv4 and ipv6
firewall&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/etc/init.d/iptables
stop&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/etc/init.d/ip6tables
stop&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;chkconfig –level 2345
iptables off&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;chkconfig –level 2345
ip6tables off&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;Disable SElinux &lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Change parameter &lt;span style=&quot;color: olive;&quot;&gt;SELINUX=enforcing&lt;/span&gt; to &lt;span style=&quot;color: olive;&quot;&gt;SELINUX=disabled&lt;/span&gt;
in /etc/selinux/config&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;6. Change default
behaviour of presented Ethernet cards&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;if the MAC address of Ethernet
interface changes, system keeps the pair – the name of interface and its MAC
address unchanged. It means that it creates the new interface with the new MAC
address. As the script in GNS3 responsible for staring Qemu – qemuwrapper
always starts the Qemu Ethernet interfaces with completely new MAC addresses,
the names of interfaces are always changed. This behaviour is not desired and
we have to changed to avoid confusion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add following line to
/lib/udev/rules.d/75-persistent-net-generator.rules, right after line
ENV{MATCHIFTYPE}=&quot;$attr{type}&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;ENV{MATCHADDR}==&quot;*&quot;,
ENV{MATCHADDR}=&quot;&quot;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Edit
/etc/sysconfig/network-scripts/ifcfg-eth0 and delete line starting with &lt;span style=&quot;color: olive;&quot;&gt;HWADDR&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;7. Additional
CentOS configuration&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Pair hostname with loopback
ip address&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo &quot;127.0.0.1
centos&quot; &amp;gt;&amp;gt; /etc/hosts&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;load 8021q module&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;modprobe 8021q&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c) &lt;u&gt;Allow forwarding between
interfaces&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sysctl -w
net.ipv4.ip_forward=1&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sysctl -w
net.ipv6.conf.all.forwarding=1&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To keep enabled forwarding after
next boot of CentOS, you need to edit /etc/sysctl.conf and change/add the
following line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;net.ipv4.ip_forward =
1&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;net.ipv6.conf.default.forwarding
= 1&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;8. IOU L2
installation&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Create symbolic link which
points libcrypto.so.4 to libcrypto.so.10&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;ln -s
/usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.4&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;Create license file&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo -e
&quot;[license]\n$(uname -n) = 0000000000000000&quot; &amp;gt; iourc&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c) &lt;u&gt;Create NETMAP file&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The NETMAP file is generated by
perl script. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;d) &lt;u&gt;Copy cracked IOU L2, wrapper,
perl script – iou2net.pl to CentOS image&lt;/u&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Please, don’t ask me to provide
any IOU images. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As for cracking IOUl2 on Linux
Fedora, you might read this tutorial:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;http://brezular.wordpress.com/2011/04/30/hacking-cisco-iou-on-fedora-linux-for-educational-purpose-only/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Perl script connecting IOU to the
real network is available here:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;a href=&quot;http://inetpro.org/wiki/Connect_IOU_with_real_networks_or_dynamips&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;http://inetpro.org/wiki/Connect_IOU_with_real_networks_or_dynamips&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;e) &lt;u&gt;Install necessary packages&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;yum install telnet
wget tunectl&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;9. Install perl
and dependencies&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;dhclient eth0&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Install perl, libpcap&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;yum install perl
perl-Time-HiRes libpcap libpcap-devel&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;Add rpmforge repository –
needed for package perl-net-pcap&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;wget
http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;rpm -ihv
rpmforge-release-0.5.2-2.el6.rf.i686.rpm &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;rm
/root/rpmforge-release-0.5.2-2.el6.rf.i686.rpm&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c) &lt;u&gt;Install perl-net-pcap&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;yum install
perl-Net-Pcap.i686 perl-Net-PcapUtils.noarch&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;10. IOU L2
configuration&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Perl script for creating
IOU topology file – NETMAP&lt;/u&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Script
&quot;check_netmap.pl&quot; creates NETMAP file if it doesn’t exist. Every time
a script is started, it generates unique local ID for IUOl2 instance and unique
pseudo ID for each instance of iou2net.pl. IDs are generated in range from 10
to 1010. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If NETMAP file exists, nothing is
done.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Note: All IDs in your topology
must be unique numbers otherwise problem with duplicate MAC can occur. You can
find more about it in part &quot;Interface MAC addresses&quot;, here: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;a href=&quot;http://inetpro.org/wiki/Connect_IOU_with_realnetworksordynamipsTAPmode&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;http://inetpro.org/wiki/Connect_IOU_with_realnetworksordynamipsTAPmode
&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;/root/check_netmap.pl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;#!/usr/bin/perl&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;my $range = 1000;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;my $minimum = 10;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;my $i = 0;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;my $j = 0;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;my $count = 0;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;unless (-e &quot;/root/NETMAP&quot;)
{&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;print &quot;NETMAP
doesn’t exists, so we are going to create it \n&quot;;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$local_id=
int(rand($range)) + $minimum;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$pseudo_id=
int(rand($range)) + $minimum;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;opendir
(DIR,’/sys/class/net/’) or die &quot;open failed : $!\n&quot;;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;while (defined($dir =
readdir(DIR))) {&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;if ($dir =~ m/eth/) {&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;print &quot;Found
valid interface $dir in /sys/class/net \n&quot;;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;open NETMAP,
&quot;&amp;gt;&amp;gt;/root/NETMAP&quot;;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;if ($count &amp;lt;= 3) {&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$i = 0; &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;elsif (($count &amp;gt;=
4) &amp;amp;&amp;amp; ($count &amp;lt;= 7)) {&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$i = 1; &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;} &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;elsif (($count
&amp;gt;=8) &amp;amp;&amp;amp; ($count &amp;lt;= 11)) {&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$i = 2;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;print NETMAP
&quot;$local_id:$i/$j&quot;,’@centos’,&quot;
$pseudo_id:0/0&quot;,’@centos’,&quot; \n&quot;;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;close NETMAP;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$count++; $j++;
$pseudo_id++;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;if (($count == 4) ||
($count == &lt;/span&gt;&lt;code&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;8&lt;/span&gt;&lt;/code&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;) || ($count == 12)) {&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;$j = 0;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;close (DIR)&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Assign privilegies to script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;chmod +x
check_netmap.pl&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;NETMAP file could possibly
looks like this&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:0/0@centos 20:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:0/1@centos 21:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:0/2@centos 22:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:0/3@centos 23:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:1/0@centos 24:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:1/1@centos 25:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:1/2@centos 26:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:1/3@centos 27:0/0@centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;Explanation&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10:0/0@centos 20:0/0@centos &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;local instance IOUl2 with ID 10
is running on PC with hostname centos and it is connected with its interface
Ethernet0/0 to pseudo interface 0/0 of pseudo IOUl2 instance with ID 20. Pseudo
IOUl2 instance with ID 200 is a script iou2net.pl running on the same PC with
hostname centos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The number of rows in NETMAP file
matches the number of ethernet interfaces found in /sys/class/net/ directory.
For example if there is only one interface eth0 presented in Qemu image, NETMAP
file contains only one row.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This table matches IOU interfaces
with corresponding CentOS interfaces:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;IOU – CentOS&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 0/0 – eth0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 0/1 – eth1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 0/2 – eth2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 0/3 – eth3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 1/0 – eth4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 1/1 – eth5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 1/2 – eth6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eth 1/3 – eth7 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;Bash script for starting
IOU&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This script is responsible for
these jobs:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- starting script check_netmap.pl
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- starting IOU image on port –
i86bi_linuxl2-upk9-ms.M with local IOU ID on port 6000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- bringing up ethernet interfaces
in /sys/class/net directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- creating as many tap interfaces
and bridges br as they are ethernet interfaces &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- adding a particular ethernet
interface e.g eth0 and tap interface e.g tap0 to the particular bridge e.g br0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;- starting iou2net.pl script for
particular tap ineterface e.g tap0 with particular unique pseudo ID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;/root/iou_start.sh&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;#!/bin/sh &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;#export
NETIO_NETMAP=/root/NETMAP &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/root/check_netmap.pl
&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;local_id=$(echo `head
-n 1 /root/NETMAP` | cut -d &quot;:&quot; -f1) &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;remote_id=$(echo
`head -n 1 /root/NETMAP` | cut -d &quot;:&quot; -f2 | cut -d &quot; &quot; -f2)
&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;cd /root/ &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/root/wrapper -m
/root/i86bi_linuxl2-upk9-ms.M -p 6000 — -s 0 $local_id &amp;amp; &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sleep 5 &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;for dir in
/sys/class/net/*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;do &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;interface=$(echo $dir
| cut -d &quot;/&quot; -f5)&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;if [[ $interface ==
eth* ]]; then&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;lastchr=${interface#${interface%?}}&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/tunctl -t
tap$lastchr&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/sbin/ifconfig
$interface 0.0.0.0 promisc up&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/sbin/ifconfig
tap$lastchr 0.0.0.0 promisc up&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/brctl addbr
br$lastchr&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/brctl stp
br$lastchr off&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/brctl setfd
br$lastchr 1&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/brctl
sethello br$lastchr 1&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/brctl addif
br$lastchr $interface&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/usr/sbin/brctl addif
br$lastchr tap$lastchr&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/sbin/ifconfig
br$lastchr up&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/root/iou2net.pl -t
tap$lastchr -n /root/NETMAP -p $remote_id &amp;amp;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;((remote_id++))&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;fi&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;done &lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Assign privilegies to script and
start the script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;chmod +x /root/iou_start.sh&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;/root/iou_start.sh&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Allow script to by automatically
started during the boot of CentOS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo

&quot;/root/iou_start.sh&quot; &amp;gt;&amp;gt; /etc/rc.local&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you wish to start IOUL2 after
boot, put this line to /etc/rc.local&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo &quot;telnet
localhost 6000&quot; &amp;gt;&amp;gt; /etc/rc.local&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Telnet to switch.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;telnet localhost 6000&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;Note&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Always delete NETMAP file before
shutdown, if you start your base centos6.0-iuol2.img image outside of GNS3.
Otherwise script check_netmap.pl doesn’t create a valid NETMAP file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;11. Optional steps
– cleaning CentOS&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;u&gt;Remove .ssh/known_hosts&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;rm
/root/.ssh/known_hosts&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) &lt;u&gt;Delete temporary files&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;rm -rf /tmp/*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c) &lt;u&gt;Clean content of files in
directory /var/log/&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;for file in
/var/log/*; do echo &quot;&quot; &amp;gt; $file; done&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;d) &lt;u&gt;Delete bash history&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo &quot;&quot;
&amp;gt; /root/.bash_history&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;strong&gt;Article Source&lt;/strong&gt;: http://brezular.wordpress.com&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;clicksor_enable_adhere=1;clicksor_enable_pop=1;clicksor_ebable_layer_pop=1;clicksor_frequencyCap=0.3;clicksor_enable_text_link=1;clicksor_layer_banner=1;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;amp;pid=150416&amp;amp;sid=225459&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ahsantasneem.blogspot.com/feeds/1592120161313533418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4589233933784916889/1592120161313533418?isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/1592120161313533418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/1592120161313533418'/><link rel='alternate' type='text/html' href='http://ahsantasneem.blogspot.com/2012/11/how-to-create-cisco-switch-with-iou-ios.html' title='How To – Create Cisco Switch with IOU [IOS On Unix] Loaded on CentOS'/><author><name>Ahsan Tasneem</name><uri>http://www.blogger.com/profile/07824424780627183103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4589233933784916889.post-9010785171841832566</id><published>2012-10-24T00:18:00.001-07:00</published><updated>2013-02-15T03:48:05.051-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="iPad"/><category scheme="http://www.blogger.com/atom/ns#" term="iPad 4"/><category scheme="http://www.blogger.com/atom/ns#" term="iPad Mini"/><title type='text'>iPad Mini Vs iPad 2 Vs iPad 4 - [Detailed Comparison]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here’s a detailed comparison chart from Apple themselves which compares the iPad mini, 
iPad 2 and iPad 4 together. But,&amp;nbsp;choose wisely!&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can find more detail about this on apple&#39;s own website. I&#39;ll be posting more on this soon, keep following.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;strong&gt;Note: &lt;/strong&gt;if you are unable to view the image properly just click on the&amp;nbsp;picture &amp;amp; then zoom it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCUihO6FH1dGNSU4EffPE6nABn-DVrh6xgIwGyB6YTcaiWSUIvWKNaO2m1kCWpodyacKuiKuzEzqQPryN8YXjuWgiWNAsk7iP_aJoCLjX2Rc5GmRgOfhiWjrrpoMH9D3zsxLIXh2r7_ZHh/s1600/iPad-comp.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCUihO6FH1dGNSU4EffPE6nABn-DVrh6xgIwGyB6YTcaiWSUIvWKNaO2m1kCWpodyacKuiKuzEzqQPryN8YXjuWgiWNAsk7iP_aJoCLjX2Rc5GmRgOfhiWjrrpoMH9D3zsxLIXh2r7_ZHh/s1600/iPad-comp.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;clicksor_enable_adhere=1;clicksor_enable_pop=1;clicksor_ebable_layer_pop=1;clicksor_frequencyCap=0.3;clicksor_enable_text_link=1;clicksor_layer_banner=1;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;amp;pid=150416&amp;amp;sid=225459&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ahsantasneem.blogspot.com/feeds/9010785171841832566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4589233933784916889/9010785171841832566?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/9010785171841832566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/9010785171841832566'/><link rel='alternate' type='text/html' href='http://ahsantasneem.blogspot.com/2012/10/ipad-mini-vs-ipad-2-vs-ipad-4-detailed.html' title='iPad Mini Vs iPad 2 Vs iPad 4 - [Detailed Comparison]'/><author><name>Ahsan Tasneem</name><uri>http://www.blogger.com/profile/07824424780627183103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCUihO6FH1dGNSU4EffPE6nABn-DVrh6xgIwGyB6YTcaiWSUIvWKNaO2m1kCWpodyacKuiKuzEzqQPryN8YXjuWgiWNAsk7iP_aJoCLjX2Rc5GmRgOfhiWjrrpoMH9D3zsxLIXh2r7_ZHh/s72-c/iPad-comp.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4589233933784916889.post-4030444629244789335</id><published>2012-10-22T03:02:00.000-07:00</published><updated>2012-10-22T05:31:27.431-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="How To"/><title type='text'>Cisco Switch Password Recovery - In Few Easy Steps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Note:&lt;/b&gt; This article is based on a
Cisco Catalyst 2900, 3500XL, 2940, 2950, 2955, and 3550 switches, for other you
can search and find them easily using any search engine&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To recover a password on a Cisco switch, you will have to be connected to
the console port of the Cisco switch using 9600 baud, 8 bits, no parity, 1 stop
bit, and xon/xoff flow control. I recommend using Hyperterminal that comes with
Windows XP.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once you are connected and see something on the terminal window when you
press enter, &lt;strong&gt;unplug the power cable&lt;/strong&gt;. Next, &lt;strong&gt;hold down
the mode button&lt;/strong&gt; on the front, as seen in the photo below, and &lt;strong&gt;connect
the power cable&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Vfsh2r6VYBwM2xLnnjO9q7ZWYtG1SEyeSWNCPElBm9h2r07ipReLAdPXCl1k9WkKC-MKWbTySWaflFd6mNBN_wy6kWddTyewbIXkA012PeWXIH3QQE9ZsA_mHYe20TTNhfSkv_msL8II/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Vfsh2r6VYBwM2xLnnjO9q7ZWYtG1SEyeSWNCPElBm9h2r07ipReLAdPXCl1k9WkKC-MKWbTySWaflFd6mNBN_wy6kWddTyewbIXkA012PeWXIH3QQE9ZsA_mHYe20TTNhfSkv_msL8II/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On a 2900, 3500XL or 3550 (like the one shown) release the mode button after
the 1x port LED goes out. On a 2940 or 2950 switch release the mode button
after the stat light goes out. On a 2955, press the break key (ctrl-break on
Windows) when you see the message that the switch will autoboot.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You should now see something like this (taken from a 3550 switch):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCyjIimInvhK_Su7nZuf9RLcfRHkuF5Jo-O8Vj5GQildFdc7rNshfaYa-zduOGFYA3EieZtJVr-SraoEGvHv-TNsRzI3lOf-4xfqfY10vKDVyLuoLRccY4LT8C4GTcFnWnTNsuSi5lTqa9/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCyjIimInvhK_Su7nZuf9RLcfRHkuF5Jo-O8Vj5GQildFdc7rNshfaYa-zduOGFYA3EieZtJVr-SraoEGvHv-TNsRzI3lOf-4xfqfY10vKDVyLuoLRccY4LT8C4GTcFnWnTNsuSi5lTqa9/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Notice that it says that &lt;strong&gt;the password-recovery mechanism is enabled&lt;/strong&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

At the switch: prompt, type &lt;strong&gt;flash_init&lt;/strong&gt; and press enter. You
should see something like this (at least on a 3550):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaRfW9tP-TM98nfr0p5b8hqBZ6KXK6XfBUuEmX6v8Z3os6uKcZ_9CiCVcWK3BkQ8R-kbmwuh-nJnbvUXlDD2pszIJQ7KGQLPEP2l1LItque78-VBJxYX4joCdgY9dUsCc3aDCYE-04wcnn/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaRfW9tP-TM98nfr0p5b8hqBZ6KXK6XfBUuEmX6v8Z3os6uKcZ_9CiCVcWK3BkQ8R-kbmwuh-nJnbvUXlDD2pszIJQ7KGQLPEP2l1LItque78-VBJxYX4joCdgY9dUsCc3aDCYE-04wcnn/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now type &lt;strong&gt;load_helper&lt;/strong&gt; and press enter. You should see
something like this:&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj54BfPZtO4KVlkhzsbeNUzJ-u0vI78HqJkbMlIeN6H8ffEOVNiYcO9FRq9R4-3DQfsyC4ndG9JL0MHdBR_nNrCv9KuTkYNFT5m-83_kTQIW0ROkOWI5T5MTmevzb1g7Tr_L8z8aTXwtc_E/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj54BfPZtO4KVlkhzsbeNUzJ-u0vI78HqJkbMlIeN6H8ffEOVNiYcO9FRq9R4-3DQfsyC4ndG9JL0MHdBR_nNrCv9KuTkYNFT5m-83_kTQIW0ROkOWI5T5MTmevzb1g7Tr_L8z8aTXwtc_E/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

Now type &lt;strong&gt;&lt;span style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;&quot;&gt;dir flash:&lt;/span&gt;&lt;/strong&gt;
and press enter. You should see something like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF9DcQrkHsEoMC2CDkChRsk-Le-IEh1PIDaOHErijWol0UI0EaDsCWyZk8mBbXC2K88z-TeeAyPGLq_vsu8HdtFYxQ5yX-3AsbJ3dJxg64s3ZpWZVfYygMWyFNZ3BM0TAByxtfg1A5eVb8/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF9DcQrkHsEoMC2CDkChRsk-Le-IEh1PIDaOHErijWol0UI0EaDsCWyZk8mBbXC2K88z-TeeAyPGLq_vsu8HdtFYxQ5yX-3AsbJ3dJxg64s3ZpWZVfYygMWyFNZ3BM0TAByxtfg1A5eVb8/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The config.text file is what stores the administrative password that is
keeping you from logging into the router. To get rid of this file, use this
command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;strong&gt;rename flash:config.text flash:config.backup&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFuPiYHXG_FfQObD9wg6cMlyqoLJ-0nH6-aNKvcbvjwHuv_tlI8TUdioNSZf24W5SU8SEFna9mKmyilSQv6Ws3D2BAIli6aia6rFg3SgQ5lSYIJhrZVd6mKFqt2CZoyYN08zpbgiibSqLa/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFuPiYHXG_FfQObD9wg6cMlyqoLJ-0nH6-aNKvcbvjwHuv_tlI8TUdioNSZf24W5SU8SEFna9mKmyilSQv6Ws3D2BAIli6aia6rFg3SgQ5lSYIJhrZVd6mKFqt2CZoyYN08zpbgiibSqLa/s320/6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5kpNrhn48cggKF_Nhc-CDz20pApD1gwWPTxniZCBbj_Ck9qgGPEQ9ZOJ0iyccid4b-u13WCKPlelf9f5apJTl_s_9410oRwAnJdPZLwUPRMbPKNoG0ljjGaYmfmyt-lNE4Gi1fUZBqAfo/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Next, boot the switch using the &lt;strong&gt;boot&lt;/strong&gt; command, like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt; text-align: center;&quot;&gt;
&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5kpNrhn48cggKF_Nhc-CDz20pApD1gwWPTxniZCBbj_Ck9qgGPEQ9ZOJ0iyccid4b-u13WCKPlelf9f5apJTl_s_9410oRwAnJdPZLwUPRMbPKNoG0ljjGaYmfmyt-lNE4Gi1fUZBqAfo/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5kpNrhn48cggKF_Nhc-CDz20pApD1gwWPTxniZCBbj_Ck9qgGPEQ9ZOJ0iyccid4b-u13WCKPlelf9f5apJTl_s_9410oRwAnJdPZLwUPRMbPKNoG0ljjGaYmfmyt-lNE4Gi1fUZBqAfo/s320/7.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the system is booted, you will be asked if you want to
enter the initial configuration dialog. Say &lt;strong&gt;&lt;span style=&quot;mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;&quot;&gt;no&lt;/span&gt;&lt;/strong&gt;
and press enter.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkt63e5nMjLoW8Q7hWu3rmCqdUUG29YMqaxE4ZNXaQlCcj2w22lSk_zwJ8oVAmrB3yMsNb62c1r2xEpKyNul2Lw8fUakh5GOcbBllhRY2ENE7Qo7REG3eFluvvlsGerenxNHe8a3TTtoJd/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkt63e5nMjLoW8Q7hWu3rmCqdUUG29YMqaxE4ZNXaQlCcj2w22lSk_zwJ8oVAmrB3yMsNb62c1r2xEpKyNul2Lw8fUakh5GOcbBllhRY2ENE7Qo7REG3eFluvvlsGerenxNHe8a3TTtoJd/s320/8.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Next, enter enable mode with the en or enable command. Then, type the
following commands:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;strong&gt;rename flash:config.backup config.text&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;copy flash:config.text system:running-config&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLmlVf8eihCgGhKwt0SRpUhadC2Un4cb82JaALfIX-WMQ6VnkvQ8L1FAip9uBQewqzHcxm4Ehk8PXYGYfdsARSaJAd9pe1pNVfho6d16LcsHh3TApvszsDwKkW5iJ_XXjS3fSu95TfLKAv/s1600/9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLmlVf8eihCgGhKwt0SRpUhadC2Un4cb82JaALfIX-WMQ6VnkvQ8L1FAip9uBQewqzHcxm4Ehk8PXYGYfdsARSaJAd9pe1pNVfho6d16LcsHh3TApvszsDwKkW5iJ_XXjS3fSu95TfLKAv/s320/9.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After each command, you will be prompted to confirm the name of the
destination file. Do this by pressing enter each time.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Go into global configuration mode by typing &lt;strong&gt;config terminal&lt;/strong&gt;.
Next type &lt;strong&gt;no enable secret&lt;/strong&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

Now you can reset your enable password to whatever password you want. In the
example below, we used the &lt;strong&gt;enable password NetInsider&lt;/strong&gt; to set
the password to &lt;strong&gt;NetInsider&lt;/strong&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLFF37LdiTrTbJLt2Lt30GA0j0WaZiCHF_fD8zjKUWABkPv_Nr1TCGexeSxj-paoyybA2TJ7yY0rPGqZefp9CGqN5CufNOzjE4Lyc-C2b6V61RbH5UEiGb1T0LS0yOkvzYxzDKterautHy/s1600/10.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLFF37LdiTrTbJLt2Lt30GA0j0WaZiCHF_fD8zjKUWABkPv_Nr1TCGexeSxj-paoyybA2TJ7yY0rPGqZefp9CGqN5CufNOzjE4Lyc-C2b6V61RbH5UEiGb1T0LS0yOkvzYxzDKterautHy/s320/10.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Exit out of global configuration using the &lt;strong&gt;exit&lt;/strong&gt; command and
save your configuration with the &lt;strong&gt;copy running-config startup-config&lt;/strong&gt;
command. You will be prompted to confirm the name of the destination file.
Press enter.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You have successfully reconfigured your switch’s enable password using the
password recovery procedure. Even better, you were able to do this while
preserving the entire switch configuration.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This must be really easy for those who already knew but I have post this
article for those who either do not know how to recover the password or have
forgotten with the passage of time. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFuPiYHXG_FfQObD9wg6cMlyqoLJ-0nH6-aNKvcbvjwHuv_tlI8TUdioNSZf24W5SU8SEFna9mKmyilSQv6Ws3D2BAIli6aia6rFg3SgQ5lSYIJhrZVd6mKFqt2CZoyYN08zpbgiibSqLa/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Via:&lt;/strong&gt; &lt;span style=&quot;color: black;&quot;&gt;http://www.petri.co.il&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;clicksor_enable_adhere=1;clicksor_enable_pop=1;clicksor_ebable_layer_pop=1;clicksor_frequencyCap=0.3;clicksor_enable_text_link=1;clicksor_layer_banner=1;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;amp;pid=150416&amp;amp;sid=225459&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ahsantasneem.blogspot.com/feeds/4030444629244789335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4589233933784916889/4030444629244789335?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/4030444629244789335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/4030444629244789335'/><link rel='alternate' type='text/html' href='http://ahsantasneem.blogspot.com/2012/10/cisco-switch-password-recovery-in-few.html' title='Cisco Switch Password Recovery - In Few Easy Steps'/><author><name>Ahsan Tasneem</name><uri>http://www.blogger.com/profile/07824424780627183103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_Vfsh2r6VYBwM2xLnnjO9q7ZWYtG1SEyeSWNCPElBm9h2r07ipReLAdPXCl1k9WkKC-MKWbTySWaflFd6mNBN_wy6kWddTyewbIXkA012PeWXIH3QQE9ZsA_mHYe20TTNhfSkv_msL8II/s72-c/1.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4589233933784916889.post-8298365214368935683</id><published>2012-10-12T00:30:00.002-07:00</published><updated>2012-10-12T00:34:07.305-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="How To"/><category scheme="http://www.blogger.com/atom/ns#" term="Juniper"/><category scheme="http://www.blogger.com/atom/ns#" term="Juniper Networks"/><category scheme="http://www.blogger.com/atom/ns#" term="Netscreen"/><category scheme="http://www.blogger.com/atom/ns#" term="VPN"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Configuration: Windows native DialUP VPN client &amp; Netscreen</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY1594RGgY-uUNp4Q0iusVRmBZRvc2w_uGrYGE6Rcgdmhub3MUknT7P9r3IyKx4WHwOESR5mZ87KATK_j6pR9j8G5OTQoHh_sAnA96pDNA1z5-rAax3mgSnx2Oua-ZLJIzO1S-Rf8mSsQi/s1600/NetscreenLogo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY1594RGgY-uUNp4Q0iusVRmBZRvc2w_uGrYGE6Rcgdmhub3MUknT7P9r3IyKx4WHwOESR5mZ87KATK_j6pR9j8G5OTQoHh_sAnA96pDNA1z5-rAax3mgSnx2Oua-ZLJIzO1S-Rf8mSsQi/s1600/NetscreenLogo.jpg&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As the subject of this topic states I want to create a dialup VPN to a Netscreen Firewall. To make it more complex I will choose the onboard Windows VPN client. At the moment only a few documentations exist and most of them contain only pieces of the whole setup process. Different threads in discussion groups out there state that the whole XP-VPN/Netscreen thing will not be possible but they lack the proof that this cannot be done.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;STEP 1: Checking prerequisites&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;At the moment there are only two software requirements that have to be met. You will need a Netscreen with ScreenOS 5.1 and higher. This is the first firmware that will support a VPN client behind a router that has no official internet IP address (NAT-T). On the client side you will need Windows XP with at least SP2. It contains the so called L2TP/IPSec-NAT-T-Update (MS KB818043) that will enable the client to handle this situation correctly.&lt;br /&gt;From the design aspect we will have to use a certificate based IPsec authentication. Preshared keys will not work for Windows XP roadwarriors as the builtin client only sends its IP or its FQDN as Phase 1 ids. This does not matter as certificates should always be the choice to go. &lt;br /&gt; &lt;br /&gt; &lt;strong&gt;STEP 2: Creating a root certificate.&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When working with certificates we will have to obtain a root certificate (or certificate authority = CA) that can be used to check the trustworthiness of any user or firewall certificate that we need in the later setup process. As we want to take the cheap way, we will generate the root certificate ourselves with openssl on a linux machine. Nothing easier than that. First we will create a private key for the root certificate.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl genrsa -des3 -out ca.key 4096&lt;br /&gt; Generating RSA private key, 4096 bit long modulus&lt;br /&gt; .................++&lt;br /&gt; .....++&lt;br /&gt; e is 65537 (0x10001)&lt;br /&gt; Enter pass phrase for ca.key: &lt;password&gt;&lt;br /&gt; Verifying - Enter pass phrase for ca.key: &lt;password&gt;&lt;br /&gt; linux &amp;gt; ls -l&lt;br /&gt; total 4&lt;br /&gt; -rw-r--r-- 1 root root 3311 Jan 13 19:40 ca.key&amp;nbsp;&lt;/password&gt;&lt;/password&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;And voila ca.crt is our root certificate. This could be a good basis for printing money if we convince someone to sign his certificates by us. But the only thing we want to do at the moment is to load this certificate into the Netscreen. Simply logon to your firewall an go to Objects &amp;gt; Certificates. Search for your ca.crt File and click on load. When you change the view to Show CA afterwards you should see your just uploaded certificate.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;STEP 3: Certificate Revocation List&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When you give away certificates that where signed with a root certificate it may be required to mark the certificate invalid although it&#39;s desired lifetime is not over yet. This ist done by a CRL (certificate revocation list). A CRL of a root certificate is nothing more than all the signed certificates that should no longer be trusted. A Netscreen will handle CRLs but do we need them? In my simple setup this will never be the case for the following reason. In IKE phase 1 a client will send its certificate that the netscreen has to match in its user database. This is done by comparing the contents of the certificate (Email, CN, Username, ...) with the information that is stored in each dialup user. The handshake will fail if no corresponding user data is found. In the reversal conclusion we can say a certificate will be invalid as soon as the designated user is deleted from the Netscreen.&lt;br /&gt; To disable the CRL for a root certificate we have to logon to the device by telnet or ssh and have to determine the internal certificate id. It si only because I did not find a feature in the web interface to accomplish the task.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;netscreen-&amp;gt; get pki x509 list ca-cert&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Getting CA CERT ...&lt;br /&gt; IDX ID num X509 Certificate Subject Distinguish Name&lt;br /&gt; ======================================================================&lt;br /&gt; ...&lt;br /&gt; 0003 89129012 CA CERT friendly name &lt;52&gt;&lt;br /&gt; CN=ACME Inc.,O=ACME Inc.,L=Tampa,ST=Florida,C=US,&lt;br /&gt; Expire on 01- 8-2028 18:45, Issued By:&lt;br /&gt; CN=ACME Inc.,O=ACME Inc.,L=Tampa,ST=Florida,C=US,&lt;br /&gt; ======================================================================&lt;br /&gt;&amp;nbsp;&lt;/52&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Our root certificate is stored with the id 89129012. With this we can disable the revocation check in the following way.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;netscreen-&amp;gt; set pki authority 89129012 cert-status revocation-check none&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;To save the changes we just have to logoff from the device&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;netscreen-&amp;gt; exit&lt;br /&gt; Configuration modified, save? [y]/n y&lt;br /&gt; Now our root certificate is in place.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STEP 4: Firewall certificate&lt;/strong&gt;&lt;br /&gt;
Creating an L2TP over IPsec Dialup VPN with certificates means that both sides (client and firewall) need their own certificate. Luckily the netscreen supports the generation of a private key and a signing request. So we will jump into the web interface to objects &amp;gt; certificates &amp;gt; new and create a new one. Here you normally can enter any text you like. Nevertheless I want to implement the FQDN feature that signal15 described in his thread (MAC OS VPN client &amp;amp; Netscreen). What is the idea behind that? Let&#39;s assume our firewalls outside interface can be reached via DNS name vpn.acme.inc. If the client tries to do the IPSec handshake it will receive the certificate of the firewall. Anywhere in this certificate the DNS name should occur. Only if this condition is met the client can trust its partner because the certificate was created exclusively for this domain. So we will insert the following data into the certificate subject information:&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;Name : ACME Firewall&lt;br /&gt; Organization : ACME Inc.&lt;br /&gt; FQDN : vpn.acme.inc&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; Don&#39;t forget to set the FQDN to what the client will point to later. Set the key to RSA 2048 bits and let the netscreen generate a private key and a certificate signing request. We will copy the request out of the following screen and store it side by side to our root certificate as file fw.csr. Tries over tries led me to the conclusion that an offical signing request will place the FQDN automatically into the additional certificate field called alternative name (subjectAltName). Unfortunately this does not apply if one is using self signed certificates. So we will have to add the field manually. For this reason we have to create the file subj.txt with the following content.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;subjectAltName=&quot;DNS:vpn.acme.inc&quot;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;With this file we finally can sign our firewall certificate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl x509 -req -days 7300 -in fw.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out fw.crt -extfile subj.txt&lt;br /&gt; Signature ok&lt;br /&gt; subject=/O=ACME Inc./CN=0096052005000522/CN=rsa-key/CN=vpn.acme.inc/CN=ACME Firewall&lt;br /&gt; Getting CA Private Key&lt;br /&gt; Enter pass phrase for ca.key: &lt;password&gt;&lt;/password&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The above step creates the new certificate file fw.crt with a lifetime of 20 years that is &quot;officially&quot; signed by our own root certificate. Pay attention that the serial you provide in the command line is not used by another certificate that is already loaded into your netscreen. Before transferring the file to the firewall we can take the last chance to check if the subjectAltName has found its way into the certificate.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl x509 -in fw.crt -text -noout &lt;br /&gt; ...&lt;br /&gt; X509v3 extensions:&lt;br /&gt; X509v3 Subject Alternative Name:&lt;br /&gt; DNS:vpn.acme.inc&lt;br /&gt; ...&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This worked well and we can log on to the netscreen web interface again and go to objects &amp;gt; certificates. Provide the path to the file fw.crt and upload it to the firewall. I think this was not to difficult and saved quite a lot of money. Btw. if anyone experiences problems when generating and signing certificates with 64bit Linux machines should try the same on a 32bit device.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STEP 5: Creating a user group&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Before we can setup the IKE firewall configuration we need a user group. For this we simply jump to objects &amp;gt; users &amp;gt; local groups in the web interface of the netscreen. There we create a new group ACME Teleworkers. Remote users will be assigned to the group later.&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;STEP 6: IKE gateway&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now it is time for the configuration of IKE phase 1. The webinterface provides the required dialog at location VPNs &amp;gt; Autokey Advanced &amp;gt; Gateway. As one would expect we create a new entry and call it GW-ACME-Teleworkers. The dialup users will connect to our firewall from changing IP addresses and so the only solution for setting a remote gateway type will be Dialup User Group. Choose the new item ACME Teleworkers from the group drop down list. All other fields on this page are not from interest. Preshared keys will not be used and our local id is stored in the firewall certificate.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From here we directly go to the advanced configuration page. For simplicity I set the security level to custom and provide only rsa-g2-3des-sha as phase 1 proposal. The tree other proposal fields can be set to none. The Windows VPN client only supports main mode negotation (a handshake with more phases) so we have to enable that radio button. Activate the Enable NAT-Traversal checkbox and set keepalive frequencies or heartbeat settings to whatever fits your needs best. Our szenario does not need any XAuth settings so we can set this parameter to none.&lt;br /&gt;Finally we must choose the preferred certificates for this gateway. The local certificate will be the firewall certificate (CN=ACME Firewall) and the peer CA must be the corresponding root certificate (CN=ACME Inc). Don&#39;t forget to set the certificate type to X509-SIG. Selecting the Return button we come back to the basic settings where we choose Ok to save the new gateway.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;STEP 7: IKE phase 2&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now it is time to define the phase 2 parameters for the new gateway (phase 1). This can be done in VPNs &amp;gt; AutoKey IKE. For readability we call this VPN IKE-ACME and assign the predefined gateway GW-ACME-Teleworkers to it. In the advanced options there is again some work to do. We set the security level to custom with the proposals nopfs-esp-3des-sha, nopfs-esp-3des-md5, nopfs-esp-des-sha and nopfs-esp-des-md5. I think we won&#39;t need them all, but this time a had not leisure to test it out. The flag Transport Mode has to be checked because the encryption of packet headers in tunnel mode would break the communication in a NAT environment.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Binding has to be set to none and not only proxy ids but also the local and remote ips have to be left blank. The reason should be clear. We are building a policy based routing and the client will connect with a random IP as proxy id. Leave the other fields as they are and click on Return. Back in the normal Autkey IKE data we choose Save to make the changes permanent. &lt;br /&gt; &lt;br /&gt; &lt;strong&gt;STEP 8: Defining an IP pool&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When providing an dialup network the outside teleworker will receive an IP address on its virtual adapter VPN that is different from the inside network. This is due to the fact that otherwise an inside machine would not answer incoming TCP/IP packets by sending them back to the gateway (the Netscreen) that will forward them via the VPN tunnel. Let&#39;s assume ACME Inc. has an inside network with IP adresses in the range 192.168.10.0/24. The teleworkers should be assigned the address range from 10.156.0.0/24. In Objects &amp;gt; IP Pools one can define the required address intervall. We choose New and name the IP pool IPPool-Teleworkers. Insert 10.156.0.1-10.156.0.254 as the desired interval and save the settings.&lt;br /&gt;Make sure that there are no overlapping networks when creating an IP pool. If you have multiple gateways also remember that the default gateway in your inside topology for the VPN network is pointing to the internal Netscreen interface.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STEP 8: L2TP Tunnel&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After defining the IPsec parameters for our connection it is time to manage the L2TP tunnel parameters. Enter VPNs &amp;gt; L2TP &amp;gt; Tunnel and create a new one called Tunnel-ACME-Teleworkers. We don&#39;t want to bother with L2TP default settings of the Netscreen so we choose custom settings this time. The users will be maintained in the firewall so the authentication server must be set to local and we will allow access for the dialup user group ACME Teleworkers. Everything that deals with interface, peer IP, host and secret is not in our focus. Just leave the fields as they are. For the IP pool name we take the newly created IPPool-Teleworkers. The ACME company maintains a DNS/WINS server which can be reached by IP 192.168.10.1 and that is exactly what we will provide in the corresponding fields of the web dialogue. Choose save and again a step is finished.&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;STEP 9: Policy&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To allow traffic from the VPN notebooks to our internal network we still need a policy. This will be the simplest part of the whole configuration. Open the Policies page, choose the direction &quot;from untrust to trust&quot; and create the object Policy-ACME-Teleworkers. The source address is our address book entry Dial-Up VPN. It is an predefined entry in your Netscreen and it will fit to any address that matches not otherwise. Your local LAN should be the destination address and the allowed services can be set to ANY - supposed you want to give full access to the dialup clients. Because we have not defined a tunnel interface yet we will choose the action Tunnel. For this tunnel the VPN has to be set to IKE-ACME and L2TP needs be Tunnel-ACME-Teleworkers. Activate logging if you like and choose Ok to save your changes.&lt;br /&gt;With this the firewall internal ruleset is built and we will care for the client configuration in the next posts&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STEP 10: Creating dialup users&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now that everything is in place on the firewall we can create the users that will be allowed to connect to the ACME company network. For each user we go to Objects &amp;gt; Users &amp;gt; Local and hit the New button. The first person we want to grant access is our employee of the month John Doe. So we name the user John.Doe and enable him. This will be the user id the client has to provide in the username field of the dialup dialogue. As this entry should be taken into account for IKE handshakes we check the flag IKE User. Mark the Use Distinguished Name for ID radio button and enter John.Doe.01 for the CN and &lt;/span&gt;&lt;a href=&quot;mailto:john.doe.01@acme.inc&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;john.doe.01@acme.inc&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; as the email. These texts will have to match the contents of the user certificate we will hand out to the client. You may ask why I chose to enter the number 01 into these text fields but the reason behind that is simple. If John Does laptop will be stolen one day and someone else has access to his certificate I simply change the 01 to a 02 and create a new user certificate. This is nothing more than the above mentioned &quot;manual management&quot; of certificate revocation lists. If the firewall is hit during IKE phase 1 with the leaked certificate entries CN=John.Doe.01 &amp;amp; email=john.doe.01@amce.inc it will not find a matching user id and aborts the IKE phase. Check L2TP User so that the account will be allowed to open an L2TP tunnel after its IPsec negotiation is over. Finally we provide the user password that has to be entered on the client afterwards and save the the account. Jump to Objects &amp;gt; Users &amp;gt; Local Groups and add John Doe to the group ACME Teleworkers.&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;STEP 11: Client certificate&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A user who wants to identify himself to the firewall needs a certificate that matches an entry in the firewall. For this the firewall will compare any subject field of the certificate (CN,email,OU,...) with the user data in its database and will grant access if it finds an entry that has the same field contents. So we have to create a certificate that fits to our new user John Doe. Again I use openssl to generate a private key file john.doe.key for the user.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl genrsa -des3 -out john.doe.key 4096&lt;br /&gt; Generating RSA private key, 4096 bit long modulus&lt;br /&gt; ..++&lt;br /&gt; .........................................++&lt;br /&gt; e is 65537 (0x10001)&lt;br /&gt; Enter pass phrase for john.doe.key: &lt;password&gt;&lt;br /&gt; Verifying - Enter pass phrase for john.doe.key: &lt;password&gt;&lt;/password&gt;&lt;/password&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Insert any password you like. It is only needed during the creation process of the certificate and needs not to be hand out to the user. The next step is clear. To obtain a certificate from a private key we need a signing request john.doe.csr. Nothing easier than this.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl req -new -key john.doe.key -out john.doe.csr -subj &quot;/CN=John.Doe.01/emailAddress=john.doe.01@acme.inc&quot;&lt;br /&gt; Enter pass phrase for john.doe.key:&lt;password&gt;&lt;/password&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hopefully you did not throw away your root certificate. We need it at this point to sign the user certificate. In contrast to the root certificate I only create a user certitificate with a validity of one year. This will help to keep the maintenance process easy if users leave ACME Inc. and the firewall administrator is not informed of this.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl x509 -req -days 365 -in john.doe.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out john.doe.crt&lt;br /&gt; Signature ok&lt;br /&gt; subject=/CN=John.Doe.01/emailAddress=john.doe.01@acme.inc&lt;br /&gt; Getting CA Private Key&lt;br /&gt; Enter pass phrase for ca.key: &lt;password&gt;&lt;/password&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now we have a client certificate john.doe.crt but sadly the Windows client cannot handle this type of file correctly. What we need is a PKCS12 certificate file. This file is a password encrypted bundle of an unencrypted private key and the matching certificate. Or to say it the other way round we take the john.doe.key file and merge it with the john.doe.crt file into a new john.doe.p12 file that is secured by a new password.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;linux &amp;gt; openssl pkcs12 -inkey john.doe.key -in john.doe.crt -export -out john.doe.p12&lt;br /&gt; Enter pass phrase for john.doe.key: &lt;password&gt;&lt;br /&gt; Enter Export Password: &lt;password handed=&quot;handed&quot; out=&quot;out&quot; the=&quot;the&quot; to=&quot;to&quot; user=&quot;user&quot;&gt;&lt;br /&gt; Verifying - Enter Export Password: &lt;password handed=&quot;handed&quot; out=&quot;out&quot; the=&quot;the&quot; to=&quot;to&quot; user=&quot;user&quot;&gt;&lt;/password&gt;&lt;/password&gt;&lt;/password&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I guess you can see clearly that we have to hand out the PKCS12 password to the user afterwards and not the key password. This is because the key will be decrypted before storing it in the PKCS12 file.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STEP 12: Import certificates to user laptop&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A user that wants to logon to the ACME intranet needs two certificates. His user certificate (stored in john.doe.p12) and the root certificate root.crt. It is not possible to hand out the user certificate alone because we need a so called valid certificate chain. This means a program that wants to check the validity of a certificate will go back the signing chain until it finds a trusted root certificate. In our case we have only one dependency and therefore we need two certificates. Start the Microsoft management console (mmc.exe) on your windows client and open the dialogue Add/Remove Snap-in. Choose Add and select Certificates in the following window to insert the certificate snap-in to the management console.&lt;br /&gt; You now have the choice which certificates you want to manage. Here you must select the computer account. If your company has high security standards this should concern you. The Windows VPN client will always search for the certificates in the user independend computer account. This means that anyone who has access to the machine can at least finish the IKE handshake (phase 1 and 2) if he knows the IP or DNS name of the Netscreen outside interface. To build a connection via a L2TP tunnel to your network he needs a username and a password of course. This should always be remembered when implementing a VPN with the standard Windows client. If you want to proceed click on Next. Mark the radiobutton This Snap-in manages the local computer and return to the previous dialogue by selecting Finish. You don&#39;t need any other snap-ins so click on Close and shut the last open window with Ok.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You should now see the certificate tree in the console. Pay attention that the root node in the left pane reads Certificates (Local Computer). Everything else will be the wrong place for your certificates. To import the root certifcate root.crt go down the tree Trusted Root Certification Authorities &amp;gt; Certificates. There you will see a lot of root certificates your machine already trusts. Right click on the leaf Certificates in the left pane and select All Tasks &amp;gt; Import ... A wizard will open and asks for the location of the certificate you want to import. Provide the full path to the file root.crt. Click on Next and select the radio button Import certificates into the following store. Don&#39;t change anything else. Just select Next and afterwards Finish. The root certificate of ACME Inc. is now in place and should show up in the right pane.&lt;br /&gt; We have to repeat the same steps for the user certificate. Therefore right click on the leaf Personal &amp;gt; Certificates and select All tasks &amp;gt; Import ... again. Do everything what you made before for the root certificate but this time select the file john.doe.p12. As the PKCS12 certificate is password protected the wizard will ask for that. Simply enter the password you chose during the creation process. After finishing the wizard your user certificate will be on the laptop too.&lt;br /&gt;This guide is slowly coming to its end and I must admit that I&#39;m still working hard on the NAT-T miracle. I don&#39;t like the idea to be defeated by this lousy oakley.dll doing its FQDN handshake all the time.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;STEP 13: Create the VPN connection&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now that the laptop is prepared we can setup the new VPN connection. Open the network configuration wizard and choose Connect to the network at my workplace as the network type. On the next page we will select VPN connection (what else) and continue to name the connection ACME VPN (or whatever you like). As we will manage the standard internet connection (dialup or via router) ourselves we do not want to dial an initial connection automatically. In the next input field we will enter the address of the Netscreen outside interface. In this case it is vpn.acme.inc. On the last page we say that we don&#39;t need a smardcard and finish the wizard. As the connection is configured we have to adapt the VPN type. Right click on ACME VPN, choose Properties and switch to the Network tab. It is strange that the default Automatic VPN type cannot build a L2TP over IPsec connection. Maybe Microsoft knows... So we select L2TP over IPsec manually and save the changes. &lt;br /&gt; &lt;br /&gt; &lt;strong&gt;STEP 14: Connect ot the VPN&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The time has come to build the initial connection to the ACME VPN network. If you are directly connected to the internet and the laptop has an official IP address this will be possible by now. Otherwise you have to wait for my upcoming posts that will cover two unsolved issues. Open the newly created connection and provide the username and the password. Both of them must match the user settings in the Netscreen. Hit Connect and the connection should be established.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ISSUE 1: Split Tunneling&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Already mentioned above all client traffic will be routed by default into the VPN connection. This is a security aspect that one cannot neglect. When you are connected to the network of ACME Inc. the infrastructure of the company should provide you all the neccesary services you need for working. So if you want to surf the internet when being connected by VPN the requests should go the way laptop &amp;gt; VPN &amp;gt; company proxy &amp;gt; internet. Additionaly one can argue that a normal PC in the ACME building underlies the same restrictions. It is not allowed to participate in the intranet on the one hand and have an second network card to be connected to the an insecure network of the neighbour company. So by default the configuration will be absolutely correct for the person with security in mind.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Let&#39;s assume you want to allow the roadwarriors to acces your intranet and use their current network connections at the same time. This could be helpful if the companies internet connection has only a slow uplink and a lot of teleworkers do not only work on the inside resources but also surf the internet through the VPN. In this case the uplink bandwidth represents a bottleneck that can cause severe slowdown.&lt;br /&gt; The magic word here is split tunneling. It describes the ability of the client to route all traffic to the company network via VPN and all other traffic to the normal network connection. Basically it is nothing more than enhancing the default routing table with a new entry that routes all traffic to the ACME intranet (192.168.10.0/24) through the VPN. This can be done manually by the user every time he connects - a solution no one really wants - or automatically. Sadly the automatism is not implemented in the windows client by default. Therefore we need CMAK.&lt;br /&gt;CMAK or known as Connection Management Administration Kit is a sofware component on the Windows 2003 Server CD. It provides a wizard to create a self installing binary that an user can execute without any further input on his laptop. It will create the VPN connection and all its settings so that the user may directly launch the VPN afterwards. No other efforts required. A detailed description of this tool will go far beyond the scope of this article. Therefore I just reference to the best documentation I found throughout the net in my opinion. If you are interested take some time and read more at &lt;/span&gt;&lt;a href=&quot;http://www.isaserver.org/img/upl/vpnkitbeta2/cmak.htm&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://www.isaserver.org/img/upl/vpnkitbeta2/cmak.htm&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;.&lt;br /&gt; &lt;br /&gt; The essential point of the configuration process is the step Routing Table Update. There you can provide a file with a new routing table. Everytime a client will connect to the CMAK created VPN connection it will automatically update its routing table corresponding to the contents of this file. The exact syntax of this file is more or less an abbreviation of the windows route command. In our case the file wll contain only one line:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ADD 192.168.10.0 MASK 255.255.255.0 default METRIC default IF default&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It tells the client that only the traffic to the ACME intranet will go through the VPN. I guess you cannot make it easier than this. Nevertheless it took me some time to find this secret solution any normal VPN client is capable of by default.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ISSUE 2: NAT-T&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Starting this topic I had never thought that it would be so challenging. Now I know why it has been covered so rarely in the past. The less work you want to have on the client side, the harder you have to fight on all the other fronts. But why should I use a memory wasting VPN client bloated with features I do not need. Of course all programs have their existence authorization but the longer I work in the IT the more I&#39;m attracted to clean and easy tools on my workstation. Different strokes for different folks.&lt;br /&gt; After all I managed to fix the problem that kept me busy the last days. While writing these lines I feel a great satisfaction. Man has won over machine. But what it is all about you may ask. So we will go into detail for the last time.&lt;br /&gt; In phase 2 of the IKE handshake the client and the server of a VPN connection have to decide how they will identify themselfes. Possible values are email address, IP address or FQDN, ... The Netscreen accepts an IP address and this is no problem if you use the Netscreen client. The Windows native client provides an IP address as long as it has an official IP address and NAT-T is not required. If the client works behind a router this behaviour changes dramatically. All of a sudden it will simply send an FQDN and the Netscreen will block any further packet. I asked why so often during my analysis but it led me to no conclusion. All the normal tricks faded away as soon as I tried them out. If you look at the interesting part in the IKE debug trace it reads like this:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;12:31:22 : IKE&lt;w .x.y.z=&quot;.x.y.z&quot;&gt; Recv*: [HASH] [SA] [NONCE] [ID] [ID] [NAT_OA] &lt;br /&gt; 12:31:22 : IKE&lt;w .x.y.z=&quot;.x.y.z&quot;&gt; extract payload (352): &lt;br /&gt; 12:31:22 : IKE&lt;w .x.y.z=&quot;.x.y.z&quot;&gt; QM in state OAK_QM_SA_ACCEPT.&lt;br /&gt; 12:31:22 : IKE&lt;w .x.y.z=&quot;.x.y.z&quot;&gt; ERROR: Cannot handle this id type, 2!&lt;/w&gt;&lt;/w&gt;&lt;/w&gt;&lt;/w&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So what to do if everything fails? We have to fix the client! Call it what you want for me it is nothing more than a program enhancement to fit my needs. To show you what I mean I will give you an extract of the oakley.dll:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;push eax&lt;br /&gt; mov [ebp+var_10C], 100h&lt;br /&gt; call _GetComputerFQDN&lt;br /&gt; add esp, 0Ch&lt;br /&gt; cmp eax, edi&lt;br /&gt; jz short loc_756CD5F7&lt;br /&gt; push eax&lt;br /&gt; push offset aGetcomputerfqd ; &quot;GetComputerFQDN failed %d&quot;&lt;br /&gt; push edi&lt;br /&gt; push edi&lt;br /&gt; push edi&lt;br /&gt; push edi&lt;br /&gt; push 80000000h&lt;br /&gt; call _IKEDbgMsg&lt;br /&gt; add esp, 1Ch&lt;br /&gt; jmp loc_756CD55B&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you are a little bit into programming you can see what happens here. The library tries to determine the FQDN of the client. If this succeeds (return code in register EAX=0) it will continue in the default way otherwise it will write a message to the log. The normal behaviour will be that the GetComputerFQDN finishes without errors and the client can use the FQDN in IKE phase 2. And exactly at this point we will place a small modification (nothing more than a single bit). We will convert the conditional JZ jump into a JNZ. This means the client thinks it cannot determine the FQDN. Luckily the routine will not abort but will send its IP address to the firewall instead. I cried out loud when I saw the first NAT-T connect to my rebellious Netscreen. To make the solution easy for the non assembler oriented reader I will include the neccessary conversion you have to apply to the oakley.dll. But remember: &lt;strong&gt;YOU WILL DO THIS ON YOUR OWN RISK:&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;system32\oakley.dll (Windows XP 32 Bit): replace 3BC7741C5068 by 3BC7751C5068&lt;br /&gt; system32\oakley.dll (Windows XP 64 Bit): replace 85C0743389 by 85C0753389&lt;br /&gt; &lt;/span&gt;&lt;br /&gt; Pay attention that the byte sequences only occur once in the oakley.dll. If you want to patch the file you will have to take care of the safety copies Windows stores in system32\dllcache and/or ServicePackFiles. Just search all occurrences of the library and fix them in the right order. Reboot your machine and check that the changes in system32\oakley.dll have been made permanent. Finally you have a fully working VPN client for your Netscreen.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hopefully you enjoyed reading this article as much as it was fun for me writing it.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;clicksor_enable_adhere=1;clicksor_enable_pop=1;clicksor_ebable_layer_pop=1;clicksor_frequencyCap=0.3;clicksor_enable_text_link=1;clicksor_layer_banner=1;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;amp;pid=150416&amp;amp;sid=225459&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ahsantasneem.blogspot.com/feeds/8298365214368935683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4589233933784916889/8298365214368935683?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/8298365214368935683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/8298365214368935683'/><link rel='alternate' type='text/html' href='http://ahsantasneem.blogspot.com/2012/10/configuration-windows-native-dialup-vpn.html' title='Configuration: Windows native DialUP VPN client &amp; Netscreen'/><author><name>Ahsan Tasneem</name><uri>http://www.blogger.com/profile/07824424780627183103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY1594RGgY-uUNp4Q0iusVRmBZRvc2w_uGrYGE6Rcgdmhub3MUknT7P9r3IyKx4WHwOESR5mZ87KATK_j6pR9j8G5OTQoHh_sAnA96pDNA1z5-rAax3mgSnx2Oua-ZLJIzO1S-Rf8mSsQi/s72-c/NetscreenLogo.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4589233933784916889.post-8541788425696565662</id><published>2012-10-02T01:30:00.000-07:00</published><updated>2012-10-02T01:37:37.501-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Cisco L3 &amp; L2 IOU on Fedora Linux [Hacked]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;Note:&lt;/strong&gt; This is for educational purpose only.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;These steps are based on tutorial
&quot;&lt;a href=&quot;http://evilrouters.net/2011/01/09/defeating-cisco-iou%E2%80%99s-license-protection/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Defeating Cisco IOU’s License Protection&lt;/span&gt;&lt;/a&gt;&quot; and are
adapted for Fedora Linux. After the video from you-tube was deleted the creator
of video made the &quot;patch&quot; which you can check &lt;a href=&quot;http://inetpro.org/pastebin/10938/view/raw&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Please, consider using IOU – it
is meant for internal use only thus it is probably illegal to use in case you
are not Cisco employee or partner. For further information about licensing,
please visit this site. &lt;/span&gt;&lt;a href=&quot;http://evilrouters.net/2011/01/18/cisco-iou-faq/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;http://evilrouters.net/2011/01/18/cisco-iou-faq/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;1. Download bbe – hex editor&lt;/strong&gt;&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;wget
http://sourceforge.net/projects/bbe-/files/bbe/0.1.8/bbe-0.1.8-2.i386.rpm/download&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;2. Install rpm package&lt;/strong&gt;&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sudo rpm -ihv
./bbe-0.1.8-2.i386.rpm&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;3. Install openssl-devel
packages and create symbolic link&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The shared library libcrypto.so4
must presented either in /usr/lib/ or in /lib/. It is provided by openssl-devel
package. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sudo yum install
openssl-devel&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now check the list of shared
libcrypto libraries presented in your system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;ls -l
/usr/lib/libcrypto*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: #303030; mso-ansi-language: EN;&quot;&gt;lrwxrwxrwx. 1 root
root 25 Aug 30 21:45 /usr/lib/libcrypto.so.0.9.8 -&amp;gt; /lib/libcrypto.so.1.0.0d&lt;br /&gt;
lrwxrwxrwx. 1 root root 25 Aug 30 21:45 /usr/lib/libcrypto.so.10 -&amp;gt;
/lib/libcrypto.so.1.0.0d&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;ls -l /lib/libcrypto*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;lrwxrwxrwx. 1 root root 19 Jul 9
20:24 /lib/libcrypto.so.10 -&amp;gt; libcrypto.so.1.0.0d&lt;br /&gt;
-rwxr-xr-x. 1 root root 1589068 Feb 10 2011 /lib/libcrypto.so.1.0.0d&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There is only one shared
libcrypto library – /lib/libcrypto.so.1.0.0d presented. All other files are
symbolic links pointing to the library. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now create a symbolic link and
check the list again:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;sudo ln -s
/lib/libcrypto.so.1.0.0d /usr/lib/libcrypto.so.4&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;ls -l
/usr/lib/libcrypto*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;lrwxrwxrwx. 1 root root 25 Aug 30
21:45 /usr/lib/libcrypto.so.0.9.8 -&amp;gt; /lib//libcrypto.so.1.0.0d&lt;br /&gt;
lrwxrwxrwx. 1 root root 25 Aug 30 21:45 /usr/lib/libcrypto.so.10 -&amp;gt;
/lib//libcrypto.so.1.0.0d&lt;br /&gt;
lrwxrwxrwx. 1 root root 24 Jul 18 23:21 /usr/lib/libcrypto.so.4 -&amp;gt;
/lib/libcrypto.so.1.0.0d&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;4. Create a license file&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo -e
&quot;[license]\n$(uname -n) = 0000000000000000&quot; &amp;gt; iourc&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;5. Create NETMAP file&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;touch ./NETMAP&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;6. Hack L3 IOU image&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;for F in
i86bi_linux-*;do bbe -b
&quot;/\xfc\xff\x83\xc4\x0c\x85\xc0\x75\x14\x8b/:10&quot; -e &quot;r 7
\x90\x90&quot; -o $F.x $F;mv $F.x $F;done;chmod +x ./i86bi_linux-*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;7. Hack L2 IOU image&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;for F in
i86bi_linuxl2*;do bbe -b &quot;/\xa1\xff\x83\xc4\x0c\x85\xc0\x75\x17\x8b/:10&quot;
-e &quot;r 7 \x74&quot; -o $F.x $F;mv $F.x $F;done;chmod +x ./i86bi_linuxl2*&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Parameter r 7 replaces bytes
starting at position 7 – string 75, with string 74 (counts from zero), in the
block of ten bytes – a1 ff 83 c4 0c 85 c0 75 17 8b. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;8. Redirect data to localhost&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When IOU image is started, IOU
image sends data to xml.cisco.com. You need to make &quot;fake&quot; DNS entry
for xml.cisco.com to avoid this behaviour. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;echo &quot;127.0.0.1
xml.cisco.com&quot; &amp;gt;&amp;gt; /etc/hosts&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;9. Run IOU image&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;./wrapper-linux -m
./i86bi_linux-adventerprisek9-ms -p 2222 200&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2222 – TCP port on which is
wrapper listening 200 – application ID &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this case, none of the group
of the interfaces are specified. They are two group of Ethernet interfaces
created in IOU image by default. Each group always consists from four
interfaces . The same is true for Serial interfaces.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;File nvram_00200 is created and
consists of saved configuration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Examples: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;./wrapper-linux -m
./i86bi_linux-adventerprisek9-ms -p 2222 — -e 1 -s 1 200&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;-e 1&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; Ethernet0/0, Ethernet0/1, Ethernet0/2,
Ethernet0/3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;-s 1&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; Serial1/0, Serial1/1, Serial1/2, Serial1/3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;./wrapper-linux -m
./i86bi_linux-adventerprisek9-ms -p 2222 — -e 0 -s 0 200&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this example no interface is
created for IOU image. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;10. Telnet to IOU image&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;telnet localhost 2222&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hit key enter. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;11. Stopping wrapper&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ctrl-C or if wrapper is running
on the background kill the process. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: olive; mso-ansi-language: EN;&quot;&gt;ps -aux | grep
wrapper-linux | grep 200 | kill `echo $(cut -d &quot; &quot; -f2)`&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Links:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;http://brezular.wordpress.com&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;clicksor_enable_adhere=1;clicksor_enable_pop=1;clicksor_ebable_layer_pop=1;clicksor_frequencyCap=0.3;clicksor_enable_text_link=1;clicksor_layer_banner=1;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;amp;pid=150416&amp;amp;sid=225459&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ahsantasneem.blogspot.com/feeds/8541788425696565662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4589233933784916889/8541788425696565662?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/8541788425696565662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4589233933784916889/posts/default/8541788425696565662'/><link rel='alternate' type='text/html' href='http://ahsantasneem.blogspot.com/2012/10/cisco-l3-l2-iou-on-fedora-linux-hacked.html' title='Cisco L3 &amp; L2 IOU on Fedora Linux [Hacked]'/><author><name>Ahsan Tasneem</name><uri>http://www.blogger.com/profile/07824424780627183103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>