GNS3 with Microsoft Azure

Microsoft Azure is one of the big three public cloud computing providers for services such as virtual machines (VMs), containers, server-less computing, and machine learning. Azure is a large platform, but we’re focused solely on the Infrastructure as a Service (IaaS) resources in this guide. The GNS3 architecture is comprised of three primary components: User Interface (UI), Controller, and the (Compute) Server. The Server is the component that puts a strain on computer hardware resources. The more routers, switches, firewalls, and servers we add to our GNS3 topologies, the more CPU, RAM, and data storage we require. We usually come to a point where the hardware requirements of our GNS3 labs may exceed what our laptops and desktops can deliver. ...

September 24, 2018 · 11 min

Compile and install Wireshark on Fedora and Ubuntu Linux

Wireshark is the world’s most popular network analyzer. A network protocol analyzer is usually required to get the deepest visibility in determining network issues. Grabbing the newest Wireshark release for Windows and Mac OS X is easy enough. You just direct your web browser to the Wireshark site to grab it. Things can be a little trickier if using Linux. The Wireshark package listed with most Linux distribution repositories is usually a version or two behind the current stable release. Even if the repositories have the latest stable release, what do you do if you want to try out the bleeding edge features of the latest development release? You may have no other choice except to do a source-based installation. This post will show you how to do just that. ...

May 13, 2011 · 4 min

Cisco Security Device Manager on the Mac

Cisco Router and Security Device Manager (SDM) is a Web-based device-management tool that enables you to deploy and manage the services on a Cisco IOS router. Even if you decide to do your initial configuration with the CLI, the Monitoring mode of SDM is a great way to display a graphical real-time pulse of the state of your router. The SDM application can run either as an application installed on your Windows PC or from the router’s flash thru the web browser. This post will show you how to run the SDM application on Mac OS X. This should go without saying, but don’t expect official support from Cisco regarding this configuration. ...

May 8, 2011 · 6 min

Convert AC3 audio to MP3 for XviD files with FFmpeg

I recently had an issue where I wanted to play a movie on one of my portable devices, but the file’s audio stream is encoded in the AC3 (Dolby Digital) format. But of course, the device doesn’t support AC3, so I need to convert it to a compatible format. Handbrake is my go-to tool for media file conversion, but it no longer supports output to XviD – specifically the AVI container. I could convert the whole file, but I was looking for a way to transcode the audio but leave the XviD video stream intact. This method is ideal because transcoding video is the most time-consuming operation of the media file conversion process. I researched further with the knowledge that Handbrake leverages FFmpeg. ...

June 12, 2010 · 3 min

PowerShell version of uptime command

I created a PowerShell advanced function that emulates the uptime command for Unix-like operating systems. The uptime command displays the current time, the length of time the system has been up, the number of users, and the load average of the system over the last 1, 5, and 15 minutes. uptime output: 21:33 up 7 days, 11:10, 2 users, load averages: 0.05 0.08 0.08 My function returns a custom PowerShell object, so we have the option to pass it to the pipeline for further processing and/or formatting. ...

May 10, 2010 · 3 min

SSH using Public-Key Authentication

Lately, I’ve been implementing a solution to make SSH connections more secure and manageable (i.e., getting away from password authentication). A couple of benefits public-key authentication has over the default password authentication is: Memorize only the passphrase of your private key rather than possibly dozens of username/password combinations for remote hosts. A password sent across the network, even protected by an SSH secure channel, can be captured when it arrives on the remote host if that host has been compromised. Steps Generate the key pair. RSA authentication will need a passphrase to encrypt the private key. It’s highly recommended to create a strong passphrase for the private key. A strong passphrase is at least 10 - 15 characters long and not a grammatical sentence. The following command creates a 4096-bit RSA key pair and also prompts you for a passphrase: ...

March 29, 2010 · 2 min

Configure Inter-VLAN routing on a Cisco L3 Catalyst Switch

I recently had to configure Inter-VLAN routing at a client’s site. I don’t have to perform this task on a regular basis, so I figured I would make a post of a sample implementation for future reference. Ingredients used for this post: Cisco 2811 Router Cisco Catalyst 3560 Cisco Catalyst 2950 Steps Configure the Corp router. enable conf t int fa 0/1 description Link_to_L3SW ip address 172.17.17.9 255.255.255.252 no shut end copy run start Configure the Cisco Catalyst 3560 switch. enable conf t vtp mode server vtp domain test vtp password test vlan 10 name Marketing exit vlan 20 name IT exit int gi 0/1 switchport trunk encapsulation dot1q switchport mode trunk switchport nonegotiate exit ip routing int vlan 1 ip address 10.100.1.1 255.255.255.0 no shut exit int vlan 10 ip address 10.100.10.1 255.255.255.0 no shut exit int vlan 20 ip address 10.100.20.1 255.255.255.0 no shut exit int fa 0/24 no switchport ip address 172.17.17.10 255.255.255.252 no shut exit ip route 0 0 172.17.17.9 end copy run start Configure the Cisco Catalyst 2950 switch. enable conf t vtp mode client vtp domain test vtp password test int fa 0/1 - 4 switchport mode access switchport access vlan 10 exit int fa 0/5 - 8 switchport mode access switchport access vlan 20 exit int gi 0/1 switchport trunk encapsulation dot1q switchport mode trunk switchport mode nonegotiate exit int vlan 1 ip address 10.100.1.2 255.255.255.0 no shut exit ip default-gateway 10.100.1.1 end copy run start

February 9, 2010 · 2 min

Install/Upgrade VMware Tools on Ubuntu Server

I routinely google this task whenever I have to install or upgrade the VMware Tools on a Linux VM guest. I figure I would make a post for future reference. Ingredients used for this post: VMware ESX Server 4.0 Ubuntu Server 9.10 Steps Use the vSphere Client to connect to a vCenter Server or directly to an ESX host. Right-click the virtual machine and select Open Console. Log into Ubuntu with an administrative account. ...

January 5, 2010 · 1 min

SSL VPN configuration for Cisco ASA with AnyConnect VPN client

This post is a guide to configure a Cisco Adaptive Security Appliance (ASA) device to perform remote access SSL VPN with the stand-alone Cisco AnyConnect VPN client. I followed a few tutorials on the web (including a couple of examples from the Cisco website), but I failed to implement a complete solution. The following recipe has been thoroughly tested and verified. Ingredients used for this post: Cisco 5500 Series ASA with software version 8.0(2) Cisco AnyConnect SSL VPN client version for Windows 2.3.0254 1. Copy AnyConnect package to the Cisco ASA device. ...

December 12, 2009 · 2 min

Ubuntu TFTP

This post is a guide on how to create a TFTP server for Cisco device configuration backups on Ubuntu 8.10. 1. Install atftpd. sudo apt-get install atftpd 2. Configure atftpd as a separate server and modify the tftpboot location. Modify the file with a text editor. sudo vim /etc/default/atftpd Set the configuration. USE_INETD=true -> USE_INETD=false /var/lib/tftpboot -> /srv/tftpboot Save and exit. 3. Initialize the new configuration. sudo invoke-rc.d atftpd start 4. Create and configure the tftpboot directory. ...

November 21, 2009 · 1 min