Sunday, June 10, 2012

How to Configure OSPF in a single area

Before we configure OSPF on a router, we need to know some key point about OSPF. OSPF has three step to became operational.

· Neighbor-ship

· LSDBs exchange

· Route calculation

Neighbor-ship: When a router gets started(bootup), she first communicates with other router directly connected with her. If the “AREA ID”, “AUTHENTICATION”, “HELLO” and “DEAD intervals” match, then they become neighbor.

LSDBs exchange: in this state routers exchange there Link State Data Base (LSDB) about routes. This process has various steps in it(not going into that).

Route Calculation: OSPF use Dijkstra algorithm to calculate Shortest path.

You just learn lill bit of OSPF fundamentals. Now get into configuration of OSPF

Untitled

I’m assuming, that you already have configured various ports with respective ip address and its subnets and you have knowledge about Wildcard Mask, do you?

as you can see, that I’m using cisco 2811 router on each lan. From the right: goto the routers CLI-> goto the global configuration mode. in the global configuration mode.

  • type “Router ospf 1”
  • type “Network  172.16.0.1   0.0.0.3  area 0” for directly connected LAN 1.
  • again “Network 192.168.1.1  0.0.0.3  area 0” for directly connected WAN 1.

Untitled1

Now comes to the middle one router:goto the routers CLI-> goto global configuration mode.

  • type “Router ospf 1”
  • type “Network  172.16.0.5  0.0.0.3  area 0” for the LAN (LAN2 )connected with Fast Ethernet.
  • type “Network 192.168.1.2  0.0.0.3  area 0” for the left-side Wan link.
  • type “Network 192.168.1.5  0.0.0.3 area 0” for the right-side Wan Link.

Untitled2

Now the router on the right side:goto the routers CLI-> goto global configuration mode. in the global configuration mode.

  • type “Router ospf 1”
  • type “Network 192.168.1.6  0.0.0.3  area 0” for lefthand side WAN link.
  • type “Network 172.16.0.9  0.0.0.3  area 0” for directly connected Lan3.

Untitled3

Now we are done . you can test those connection by pinging each other devices together.

Remember, I used block size of four for each lan and wan, so of that my wildcard mask 0.0.0.3 . you can chose different block size according to your needs. But, do not forget to change the wildcard mask according to block size in “Network”  command line.

Wednesday, January 18, 2012

How to backup IOS of cisco router to tftp server.

1. Goto User EXEC mode and type “enable” and press enter.
2. Now you are in privileged EXEC mode.
3. Type” show version”.
















4. Just write-down the name of system image file, what I highlighted in with yellow.
5. From privileged EXEC mode “type copy flash tftp”.

Thursday, December 29, 2011

How to Install Mac OS on PC



The way to install mac osintel based pc is real easy, and I mean it. Trust me your journey will be easy.
What we need?            
  •  An old/new Intel (chipset) based pc.
  •  Intel processors, Pentium 4 or higher.
  •  Dvd drive.
  •  Usb mouse and keyboard.
  • Minimum 1gb of Ram.
  • An internet connection to download Snowleopard OS(original or patched version like ipc or hazard edition ).
Note: to install original version of snowleopard we need iboot(just google it) to download and burn on an optical disk.Iboot act as a boot loader for the original snowleopard disk.

Step 1: 
Go any peer to peer file downloading (torrent) website search for ipc or snowleopard by hazard and download that. After downloading burn that .iso image on an optical disk.

Step 2:
Open CMOS configuration of your intel chipset based motherboard and make optical drive as first boot drive.
 

Step 3:
Insert the snowleopard disk into optical drive and reboot your pc. In the black and white screen just press F8 when it’s prompt for.  Now you can see that Darwin is loading then the semi white screen with apple logo.

Step 4:
Now you can see installation screen. Select installation language.Then accept the legal notice and go to tool menu and format the Hard drive (minimum9gb for installation). 
And you ready to go.