We feature technical articles across the entire IT spectrum - Networking, security, operating systems, cloud, and programming.

Cisco CSS – Configuring a Sorry Server

A sorry server provides HA (Primary/Secondary) based balancing for your backend servers. This allows traffic to only route to the sorry server in the event of the primary service becoming unreachable. Below details the configuration. This example sets server 1 as the primary server and server 2 as the secondary server. Configure Services service server1                   … Read more

Troubleshooting Interface Drops

Introduction Output drops are a result of the traffic rate exceeding the maximum bandwidth specification of a given interface. Given that this is normally an outcome to interface congestion the following steps explain the commands used to clarify the total interface usage in both terms of Mbits and overall utilization. Output Drop Totals To confirm … Read more

How to perform a basic PHP Installation

Within this article we will be configuring a basic php installation using Apache.Note : The steps are based upon the CentOS 5 distro. Install Apache / PHP First of all you will need to install Apache and php via yum. yum install httpd php Edit php.ini Within /etc/php.ini ensure the following settings are configured by … Read more

Installing Apache 2.2 from Source

Below details the basic steps required to compile Apache 2.2 upon a CentOS based distro. Update System yum install gcc Download Source cd /var/tmp/wget Unzip / Untar gunzip httpd-2.2.19.tar.gzmkdir httpdcd httpdtar -xvf ../httpd-2.2.19.tarcd httpd-2.2.19/ Compile ./configuremake Install make install Confirm Install [root@localhost httpd-2.2.19]# /usr/local/apache2/bin/apachectl -vServer version: Apache/2.2.19 (Unix)Server built: Jul 10 2011 17:59:10

F5 LTM – Network Address Translation (NAT)

Big IP`s F5 LTM offers 2 types of NAT. These are SNAT and NAT. SNAT (Secure Network Address Translation) provides source NAT. The SNAT option ‘Automap’ enables source NAT`ing (SNAT) based on the IP address of the egress interface. NAT (Network Address Translation) – NAT provides a static one to one NAT translation. Configuring SNAT … Read more

Spanning Tree Protocol

1. INTRODUCTION The Spanning Tree Protocol (STP) is a network protocol that ensures a loop-free topology for any bridged Ethernet local area network. The basic function of STP is to prevent bridge loops and ensuing broadcast radiation. 2. ROLES Spanning Tree defines 3 port roles. They are: Root Port Designated Port Blocking (Alternative Port) 3. … Read more

CentOS timezone not updating

ISSUE When configuring the timezone within Centos the correct timezone is not propagated and the output of the command date does not represent the timezone previously configured. SOLUTION This can be caused by corrupted timezone files. To resolve the issue remove the soft-link, reinstall tzdata and then recreate the soft-link to the necessary timezone. [root@server … Read more

Cisco ASA 8.3 – No NAT / NAT Exemption

As we all know Cisco`s new ASA version 8.3 brings massive changes in NAT. This article describes and explains how NAT exemption (no NAT) is now configured. Below provides examples of both pre and post 8.3 no NAT configurations. Example Details Local LAN – 192.168.0.0/24 Remote LAN – 172.168.0.0/24 Traffic is arriving on the inside … Read more

SoundCloud Downloader BASH Script

SoundCloud allows artists and producers to upload and promote music across the internet. This article provides a Linux based script which downloads all tracks for a given artist. SCRIPT #!/bin/bash if [ -z “$1” ]; then echo “Usage: `basename $0` [URL]”; echo echo “Example:” echo ” `basename $0` http://soundcloud.com/disco-dave”; exit fi page=`wget $1 -q –user-agent=’Mozilla/5.0′ … Read more

Python Script : Display addressable IP addresses

Below is a short script designed to output the addressable IP addresses within a given subnet. Note : This script requires the netaddr python library. #!/usr/bin/pythonimport sysfrom netaddr import IPNetworkIPADDRESS = raw_input(‘Enter Subnet:’)try:    for ip in IPNetwork(IPADDRESS).iter_hosts():    print ‘%s’ % ipexcept: print “Usage: “,sys.argv[0],”[SUBNET ID]/[NETMASK]”    print “Output addressable ip addresses within a given subnet.”   … Read more