Nerm's Bio

My name is Norman Mahoney. I have worked in the IT industry since 1998. I got started in technology doing web and application programming as well as hardware tweaking. I currently work as a network/server specialist for a small computer and WISP company in Southern Indiana. I am also a web administrator for overclockersclub.com and talkandroid.com.

Dell Announces Agreement to Acquire SonicWall

March 13th, 2012 Comments off

Today Dell announced that they have reached an agreement to acquire firewall maker SonicWall.

“Dell’s distribution, reach and brand are well-recognized across the industry. This transaction aligns well with Dell’s mid-market design focus and allows us to accelerate growth of our flagship SuperMassive Next-Generation Firewall solutions with Large Enterprise customers,” said Matt Medeiros, president and CEO, SonicWALL. “Additionally, SonicWALL is recognized as a leading security solutions provider for small and medium businesses through our UTM solutions. Dell’s phenomenal breadth and reach into small and midsize companies provides a significant opportunity to expand our customer base.”

Dell seems to really be making a push into enterprise networking, however I am not sure if this acquisition improves their strategic plan that well. SonicWall although popular at the small and mid-size network levels has never really seemed to be all that welcomed at the large enterprise level.

I guess as they say “Only time will tell”.

Setup DHCP Server in MikroTik RouterOS

March 4th, 2012 Comments off

Last time I showed you how to assign IP addresses to interfaces in RouterOS. Today we are going to look at how to setup a DHCP server via the RouterOS CLI. For this example we are going to setup a DHCP server on the interface “ether2″ with a DHCP range of 10.100.20.100-10.100.20.200 and a default gateway of 10.100.20.1. Our DNS server for this example is going to be 10.100.20.10.

Once you have logged into the RouterOS CLI we first need to navigate to the “IP DHCP Server” sub-menu by issuing the following command:

[admin@routername] > /ip dhcp-server

We start the initial DHCP setup with the command “setup”.

[admin@routername] /ip dhcp-server> setup

The setup wizard will then prompt you for the following:

Select interface to run DHCP server on

dhcp server interface: ether2
Select network for DHCP addresses

dhcp address space: 10.100.20.0/24
Select gateway for given network

gateway for dhcp network: 10.100.20.1
Select pool of ip addresses given out by DHCP server

addresses to give out: 10.100.20.100-10.100.20.200
Select DNS servers

dns servers: 10.100.20.10
Select lease time

lease time: 3d

You can verify your DHCP settings with the commands “print”, “network print”, and “/ip pool print”.

If you wanted to add a secondary DNS server (eg. 10.100.10.250) to the pool after the fact. This can be done with the following commands:

[admin@routername] /ip dhcp-server> network
[admin@routername] /ip dhcp-server network> add dns-server 10.100.10.250

From the “network” sub-menu you can also add a Domain to the pool.

[admin@routername] /ip dhcp-server network> add domain yourdomain

 

Categories: Networking Tags: , , ,

Example Backup Batch Script

February 14th, 2012 Comments off

Had to whip up a batch script to backup a data location on a Server 2003 box to an external USB hard drive. Normally this is a pretty simple task, however the client wanted the backup to run nightly and to clean out existing backups older than 30 days. I figured I would share an example of the script here. I am sure there are many better ways to script this, but it was kind of spare of the moment on-site. Feel free to add corrections/suggestions in the comments.

@echo off

REM Delete backups older than 30 days
forfiles /p C:\destination /s /m *.* /d -30 /c “cmd /c del @path”
for /f “delims=” %%d in (‘dir C:\destination /s /b /ad ^| sort /r’) do rd “%%d”

REM Perform backup
set folder=%date:~10,4%%date:~4,2%%date:~7,2%
mkdir C:\destination\%folder%
xcopy /e /c /k /o C:\source C:\destination\%folder%

To get the script to run nightly I just created a “Scheduled Task” for it.

Categories: Microsoft Tags:

iFixit – Motorola Droid 4 Teardown

February 13th, 2012 Comments off

The guys and gals over at iFixit have released their teardown guide for the new Motorola Droid 4. Take a look here.

Categories: Hardware, Mobile Tags:

Reset Cisco Router Password

February 11th, 2012 Comments off

Ever been in a situation where you are on-site at a client’s location and need to get access to their Cisco router only to discover they don’t know the password? I know I have and today we are going to look at the steps to bypass and reset a Cisco router password.

First you will need a serial console connection to the router (To my knowledge there is no way to do this via telnet or ssh)

Step 1:

You will need to power off the router and power it back on. Immediately after powering the router on you will need to hit the CTRL + BREAK keys on the keyboard until you get into the ROMMON mode. You should now see the “rommon 1>” prompt.

Step 2:

In this step we are going to change the configuration register value. The default value is 0×2102, but we are going to change it to 0×2142. The 0×2142 register tells the router to ignore the startup-configuration. We do this with the following command:

rommon 1> confreg 0×2142

Now we need to reboot the router:

rommon 2> reset

After rebooting the router will boot with the initial configuration prompt type “no” to go on into the router command line.

Step 3:

Type “enable” at the command prompt to get into privileged mode. You should then see the “Router#” prompt.

Step 4:

We now need to load the startup-configuration into the running-configuration with the following command:

Router# copy startup-config running-config

Step 5:

Here we are going to go into the configuration mode and do the actual password change.

Router# configure terminal

Router(config)# enable secret yournewpassword

NOTE: At this point you can also change other passwords for telnet/ssh access, etc.

Step 6:

Lastly we need to put our configuration register back to the default value of 0×2102, save the configuration, and reboot the router.

Router(config)# config-register 0×2102

Router(config)# exit

Router# write mem

Router# reload

There you go! You now have full access to the router with a new password and the original working configuration.

PacketLife.net Community Cisco Lab

February 4th, 2012 Comments off

If you are on a tight budget and can’t afford to build your own Cisco lab then head over to PacketLife.net. They have a community Cisco lab that is free. All you have to do is register for a free account, schedule an open time slot, and get to playing. Whether your are studying for your CCNA or just want to do some pre-project simulation this site is very useful.

Here is a list of their currently available lab hardware:

    Block A

  • 1x Cisco 2811 (with 2x WIC-2T)
  • 2x Cisco 1841 (with 1x WIC-2T)
  • 1x Cisco Catalyst 3560-24
  • 1x Cisco Catalyst 3550-24 (with Inline Power)
  • 1x Cisco ASA 5505
    Block B

  • 1x Cisco 2811 (with 2x WIC-2T)
  • 2x Cisco 1841 (with 1x WIC-2T)
  • 1x Cisco Catalyst 3560G-24 (with IEEE 802.3af PoE)
  • 1x Cisco Catalyst 3550-24
  • 1x Cisco ASA 5505
  • 1x Cisco Aironet 1232AG
    Block C

  • 1x Force10 S25N
Categories: Cisco, Hardware, Networking Tags: , , , ,

Assigning IP addresses to interfaces in Mikrotik’s RouterOS

January 28th, 2012 Comments off

Today we are going to look at how to assign IP addresses to interfaces in Mikrotik’s RouterOS CLI. For this example we are going to assign an outside IP address of 210.50.10.1/28 to interface ether1 and an inside IP address 10.100.20.1/24 to interface ether2.

Once you have logged into the RouterOS CLI we first need to navigate to the “IP address” sub-menu by issuing the following command:

 /ip address

 

Now we are going to add your outside address with this command:

add address=210.50.10.1/28 interface=ether1

 

Now add the inside address:

add address=10.100.20.1/24 interface=ether2

 

We can then verify that our settings were added correctly by typing:

print

 

You should now see something similar to the following:

Flags: X - disabled, I - invalid, D - dynamic
  #   ADDRESS            NETWORK         BROADCAST       INTERFACE
  0   210.50.10.1/28     210.50.10.0     210.50.10.15    ether1
  1   10.100.20.1/24     10.100.20.0     10.100.20.255   ether2

 

And that’s it. RouterOS is pretty straight forward and easy to navigate. I will be covering more in future posts on advanced routing, dhcp, dns, etc so stay tuned.

Configuring DHCP relay in Cisco IOS

January 27th, 2012 Comments off

There are times when you don’t want to use the routers built in DHCP server and want to use say a Windows Server to hand out your networks DHCP scopes. This guide is for basic DHCP relay configuration in Cisco IOS.

In this example we are going to be configuring the “ip helper” command on interface FastEthernet0/1. Our IP for the interface will be 10.10.20.1/24 and the IP of our DHCP server will be 10.10.10.5/24.

After you have accessed the command line of the router the first thing you will need to do is get into configuration mode by issuing the following command:

conf t

 

The DHCP server and relay agent should be enabled by default, however if for some reason they are not already enabled they can be enabled by issuing the following command:

service dhcp

 

Next we will want to enable the DHCP relay agent information option:

ip dhcp relay information option

 

Now we need to configure the actual interface via the following commands:

interface fastethernet0/1
ip address 10.10.20.1 255.255.255.0
ip helper-address 10.10.10.5
no shut

 

We now have a working DHCP relay pointing to our Windows DHCP Server for clients that connect to interface FastEthernet0/1. There are tons more ways to utilize and configure this functionality. For example you could assign “ip helper” to sub-interfaces for vlans. We will dive into the more advanced functionality in later articles, but for now this gives you the basic principal of the commands for configuring DHCP relay.

Categories: Cisco, Networking Tags: , , , ,

How to Reset TCP/IP stack in Windows

January 14th, 2012 Comments off

I have received a lot of questions lately about resetting the TCP/IP stack in Windows 7. The command is actually the same as it was in Windows XP. Just open a command line window and type the following:

netsh int ip reset resetlog.txt

You will then need to reboot to make sure the changes take effect.

Categories: Microsoft, Networking Tags:

Intro to VLAN Configuration

June 26th, 2011 Comments off

Intro to Basic VLAN Configuration

This guide is more of a tutorial on basic VLAN configuration than an explanation of what VLAN’s are. If you don’t know what a VLAN is you probably won’t be reading this site to begin with. This guide also is not a “HOWTO” on configuring VLAN’s on a specific piece of equipment. We will be discussing the general basics of how VLAN’s are configured in theory. The goal is that after reading this guide you should be able to take the information learned and apply it to real world situations regardless of which brand/model VLAN switch you use.

In this guide I will be using an example network configuration with a 24 port switch with 5 VLAN’s (default, management, data, voice, and wifi), 1 server, 2 network printers, 10 computers, wireless AP, and an IP phone system with 8 IP phones. I will not be discussing configuring routers, wireless AP’s, or phone systems. These subjects will be covered in other more advanced articles in the future where we will build on the basics discussed here.

Read more…

Categories: Networking Tags: