Pages

Friday, February 21, 2014

QinQ with Cisco Catalyst switches

Below a simple topology using QinQ tagging (officially known as IEEE 802.1ad or unofficially IEEE 802.1 QinQ ) on Cisco Catalyst C3550 switches.


C-VLANS 10 and 20 come from customer side and are encapsulated in the S-VLAN 1800.

This feature is also called VLAN double tagging or Vlan stacking, or Nested VLANs (Allied Telesis) or vMAN technology ( Extreme Networks).

Sunday, January 5, 2014

VirtualBox in GNS3 under Linux part2

Continuing the previous post  VirtualBox in GNS3 under Linux part1, I will show below the steps on how to make GNS3 work with Virtualbox using emulated VirtualBox host-only adapters. 

STEP 1 : Install VirtualBox and VMs
Install VirtualBox (current version is 4.3.6) and your favorite Virtual Machines.

VirtualBox in GNS3 under Linux part1

Following my previous post on Installing GNS3 v0.8.6 on Linux , now will make GNS3 work together with VirtualBox.

By the time GNS3 started supporting VirtualBox virtualization ( v0.8.1 ), things were made easier in using VMs in GNS3. You just tell to GNS3 which VMs to load. see below the steps in detail. For more info see GNS3 website.
Later ( easy installation ) it became even simpler and no need any more to start GNS3/VirtualBox in root access mode.

STEP 1 : Install VirtualBox and VMs
Install VirtualBox (current version is 4.3.6) and your favorite Virtual Machines.

802.1Q VLAN trunk in Linux

I need to configure an Ethernet interface as an IEEE 802.1q VLAN trunk on Linux Mint for Lab purposes so I can connect GNS3 with a physical Cisco Switch. So I will create 6 vlan interface using VLAN ID 101-106 on eth0 interface.


Install VLAN package

 sudo apt-get install vlan 

Saturday, December 21, 2013

Basic RouterOS under VirtualBox

Following my post on Installing Mikrotik RouterOS in VirtualBox, here is some basic configuration setup if you want to play around with RouterOS.
For real hand-on experience better to buy small a Mikrotik (e.g RB750, RB951G-2HnD) , they are very cheap. Check here for the products and prices.


Add more Ethernet Interfaces

One simple way to add more interface is to use USB-to-Ethernet adapters. Once installed check that they appear correctly under host OS Linux.

Friday, November 15, 2013

Installing GNS3 v0.8.6 on Linux

Below are the basic steps for installing GNS3 v0.8.6 on Linux Mint 15 ( should also work for other similar flavors) using the excellent work by  as posted in GNS3 Forum.

This version makes things much easier in installing GNS3 and Dynamips using PPA (Personal Package Archive). Reposting the steps below.


Step 1: Add PPA to your system

sudo add-apt-repository ppa:gns3/ppa

Saturday, September 28, 2013

How to find motherboard model in Linux


There are many ways, using command line in LINUX, to see the motherboard model of the computer. 
You can use lshw or dmidecode. Read more on cli syntax from man commands.


Monday, September 23, 2013

Installing TFTP server in Linux

I recently needed a file server to keep boot images and configuration files to be transferred on switches and routers.

I decided to use TFTP because of its simplicity and low memory requirements

Below the installation steps  used on a  computer loaded with Linux Mint 14.

Wednesday, May 1, 2013

Installing Mikrotik RouterOS under VirtualBox

MikroTik RouterOS is a Linux based operating system that runs on proprietary hardware (RouterBOARD), or on standard x86-based computers. Some training videos here.

You can install it in VirtualBox and play around with this virtual device.

For real hands on experience with Mikrotiks , better buy the actual equipment since they are cheap.

Go to their website and download the latest Router OS for PC/86
At this time v5.18 is latest stable available version. Also available in torrent.

Create a new Virtual Machine in VirtualBox as per example below.


Tuesday, April 16, 2013

xDSL- Loop qualification

Below some material found on the web ( webinars, application notes, white papers, articles etc.) on DSL troubleshooting , mostly from companies that manufacture xDSL Testing equipment.

Sunday, December 16, 2012

SSH Tunneling

You can create SSH Tunnels using different kinds of forwarding like
a) Local Port Forwarding, 
b) Remote Port Forwarding,
c) Dynamic Port Forwarding
c) X Forwarding

For a full command syntax check the online man pages for ssh  here  

Sunday, December 9, 2012

Rate Limit on Cisco 3550

I have a Cisco 3550 and  want to apply rate limit on the interfaces for both ingress and egress. 
As per Cisco documentation in
Understanding QoS Policing and Marking on the Catalyst 3550
"Policing is not to be confused with traffic shaping, although both make sure the traffic stays within the profile or contract.
Policing does not buffer the traffic, so policing does not affect the transmission delay. Instead of buffering out-of-profile packets, policing drops them or marks them with different QoS levels (DSCP markdown).
Traffic shaping buffers out-of-profile traffic and smoothes the traffic bursts, but affects the delay and delay variation. Shaping can only be applied on the outgoing interface, while policing can be applied on both the incoming and outgoing interface.
The Catalyst 3550 supports policing for both incoming and outgoing directions. Traffic shaping is not supported."