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

First Post!!!

I thought I would submit my solution for the FizzBuzz test. I’ve used PowerShell and VBScript for the solution since the majority of my dev work is Windows scripting. FizzBuzz for PowerShell: for ($i = 1; $i -le 100; $i++) { if (($i % 3 -eq 0) -and ($i % 5 -eq 0)) { Write-Host "FizzBuzz" } elseif ($i % 3 -eq 0) { Write-Host "Fizz" } elseif ($i % 5 -eq 0) { Write-Host "Buzz" } else { $i } } … and VBScript Dim i For i = 1 To 100 If ((i Mod 3 = 0) And (i Mod 5 = 0)) Then WScript.Echo "FizzBuzz" ElseIf (i Mod 3 = 0) Then WScript.Echo "Fizz" ElseIf (i Mod 5 = 0) Then WScript.Echo "Buzz" Else WScript.Echo i End If Next

October 25, 2009 · 1 min