Friday, February 08, 2008

Remembering BGP Route Selection Algorithm

To apply BGP as our Exterior Gateway Protocol, we sould not forget about its default behavior. 
Just to refresh our memory, here they are:

1. The Next Hop attribute value for each route must be reachable in the local routing table; otherwise, the local router discards the route.
2. The router selects the route with the highest Local Preference attribute value.
3. The router selects the route with the shortest AS Path length.
4. The router selects the route with the smallest Origin attribute value.
5. The router selects the route with the smallest Multiple Exit Discriminator attribute value
This step is executed, by default, only for routes from the same neighboring AS.
6. The router selects routes learned from an EBGP peer over routes learned from an IBGP
peer
. If the remaining routes are all EBGP-learned routes, the router skips to step 9.
7. The router selects the route with the smallest IGP metric to the advertised BGP Next Hop.
8. If Route Reflection is used for IBGP peering, the router selects the route with the shortest
Cluster-List length.

9. The router selects the route from the peer with the smallest numerical Router ID.
10. The router selects the route from the peer with the smallest numerical Peer Address.

Have a  nice day with your BGP ;)  

Monday, January 28, 2008

Using OpenVPN to connect your WIndows into your Qemu

Now we have two operating system run together in one machine: your Windows and your Qemu. Dont forget that your goal is to run Olive on your Qemu.

After successful FreeBSD installation, we need the way to connect your Windows to your Qemu. We need it to copy JunOS source file, to manage Qemu in later time, or to let Qemu join into the network (if our Windows is connected to network). For this purpose, we should install OpenVPN (openvpn-2.0.9-install.exe) that has been downloaded before.

Now you double-click the wizard and follow the instructions.

After finishing the installation, now you open the menu from Windows start menu and choose Add a-new TAP-Win32 virtual ethernet adapter. Once you click it, DOS command prompt will launches and a new tap interface will be created and shown in your taskbar. Change your interface name (for example: tap5). Add static IP in your new tap interface. for example 192.168.1.1/24.

Meanwhile, launch your DOS prompt, go to our Qemu directory, and then run qemu by using net start kqemu command. If succeed, the following line will be appeared:

The KQEMU virtualisation module for QEMU service was started successfully.

Then now you run your olip.img by running the following command:

jqemu.exe -L . -m 256 -hda olip.img -net nic,vlan=0,macaddr=00:aa:00:00:01:00,model=i82559er -net tap,ifname=tap5 -localtime

After you login into your FreeBSD, you will have new tap interface on fxp0. Config the interface with static IP Address for example 192.168.1.2/24 with 192.168.1.1 as its default gateway.

Now you can ping your Windows from your Qemu. Once you start ftp server, you can put JunOS from your Windows into FeeBSD on your Qemu.

Goodbye, Pak Harto

How come i dont feel so hurt...
My hero has passed away
How come i dont feel so sad...
i am left alone

We are His own, and we will be back to Him...

The time has come... 

Our former President, Soeharto passed away yesterday 27 January 2007 at RSPP Jakarta. 
He died after suffering his multiorgan failure and dying at RSPP hospital for 24 days. 
The General left 3 sons and 3 daughters, lots of memories, lots of honors and critics, sheets of mysteries and cases. 

Well, in this ocassion, let me give my condolence to all of Indonesian.

I would like to ask my Indonesians to learn from the past. He already left us now. The future challenges us and we still have lots to do.  Lets take his positive aspect and leave his negative aspect. Dont treat him as 100% hero and dont put him as 100% criminal.  Lets put him at his position. 

Things has become confusing about him now. But if you ask me about Soeharto, then i will tell you: He was our 2nd President, full stop.

Lets thank him for his positive aspect. Dont forget that he was also bring much positive conditions to our country. But, for his negative aspect, law must still run in its line. There are still much misteries to be answered. Dont let it flow away unfinishedly through generations.
Otherwise, there will be no more trustworthiness to this country.

And lastly, lest pray for our country..may God bless our country. Amin.



    

Thursday, January 17, 2008

Installing your FreeBSD on Qemu

Now that you have all the source. Installing FreeBSD on Qemu is first thing to be done. Let us follow the steps below.

Installing Qemu

To install Qemu on your Windows machine,

1. First extract qemu-0.9.0-windows.zip to your operational directory.
2. Extract jqemu.rar into your Qemu directory. It will become jqemu.exe
3. Install Qemu accelerator (Kqemu) by double-clicking the .exe file and following the instructions.

Installing FreeBSD

1. Enter the DOS command prompt. Go to Qemu directory.
2. Create your image to be allocated for FreeBSD. Below is example if you want to create 2G of your HDD space as your image.

    qemu-img.exe create olip.img 2G

3. Now the image has been created. If you run the dir command, you will have new file olip.img with 2G of size.
4. Boot olip.img with boot image FreeBSD from CDROM.

jqemu.exe -L . -m 256 -hda olip.img -cdrom FreeBSD4.4-mini.iso -boot d -localtime

5. Install FreeBSD with the following partition table:

ad0a /
ad0b swap
ad0e /config
ad0f /var


6. Choose minimum installation
7. Now you have you FreeBSD installed into your system.

Should you have difficulties in installing FreeBSD, you can refer into FreeBSD installation tutorial like this link.

Cheers..
    



Monday, January 14, 2008

Qemu, another Virtual Machine to run Olive

If you get stucked installing Olive in your PC with virtual machine like VMWare, you can try qemu as your alternative Virtual Machine (VM). Qemu is originally a BSD packet written by Fabrice Bellard. Its is licensed under GNU LGPL when you run it under BSD. If you run the Windows version, the proprietary FMOD library is usually used, which disqualifies it for a single, unified, Open Source software license.
Fabrice Bellard also wrote a Linux kernel kernel module (with preliminary ports to FreeBSD and Windows) named KQEMU or QEMU Accelerator, which notably speeds up i386 emulation on i386 platforms. This is accomplished by running user mode code directly on the host computer's CPU, and using processor and peripheral emulation only for kernel mode and real mode code. KQEMU also supports a kernel emulation mode in which portions of kernel mode code run on the host's CPU.
To install and run Olive under Qemu on your machine, these are packages needed:
- Qemu for Windows at http://www.h7.dion.ne.jp/~qemu-win/
- Kqemu accelerator at http://www.h6.dion.ne.jp/~kazuw/qemu-win/Kqemu-1.3.0pre11-install.exe
- OpenVPN to create TAP interface at http://openvpn.net/download.html
- JunOS at http://www.juniper.net (user login needed). Use JunOS version older than JunOs-7.4 then you can upgrade into current version after successful Olive installation.
- FreeBSD. I'm using mini version of FreeBSD since only few packet needed.
- Jqemu. This is modification of Qemu. (version with the good Intel driver : i82559er)
   http://www.netemu.cn/bbs/thread-5225-1-1.html. Login needed.
- HW-VSP3. This is emulator to console port. Get it at http://www.hw-group.com/products/hw_vsp/index_en.html

Ok, tell me when you ready with those packets ;)

Source :
1. http://juniper.cluepon.net/index.php/Olive
2. http://rendo.info
3. http://www.smogey.net/tech/Juniper/Olive/index.htm
4. http://www.packetmischief.ca/juniper/olive/index.html
5. http://en.wikipedia.org/wiki/QEMU

Sunday, January 13, 2008

JNCIP, CCNP, or CCIP

My professional career and certification must go on its path. Towards this year, i have set up my goal: JNCIP, CCNP, or CCIP. Since i already achieved CCNA (expired in April 2009) and JNCIS (expired in January 2009), all of them are visible for me.
Its still in option. Now let us see brief description including my condition to choose which exam to be taken.

JNCIP
Its my favourite certification to be pursued. I must achieve into this level whenever i got the chance. JNCIP is prestigious for me since i like Juniper router.
Strength:
My company use Juniper as part of their solution. Even Juniper is not the first option anymore(as router), Juniper J20 is still the first option. So learning and developent in Juniper competency is still highly supported. Besides, i am familiar with this router (M/T).
Weakness:
JNCIP is a lab exam so paticipants should come to authorized lab (usually Juniper representative) in particular area. Its schedule alredy announced and participants can choose his/her desired lab. I saw the schedule. I was looking for schedule in Singapore and unfortunately, iw will be conducted on February. You know, Singapore is the closest lab exam location and there's no visa needed if you want to come there. The problem is, how should i get there: with company support or by my own. Besides, my preparation. My boss said its OK to get company support but you must pass the exam. Hmmm...

CCNP
Strength:
If i choose to take CCNP career exam, i dont need to go overseas. I can learn and do hands on since some of our customers are using Cisco. Besides, my new colleague are Cisco-experienced. I also have some friends who pursue same career path in Cisco. It seems that i have no difficulties for source material.
Weakness:
Cisco competency is not developed in my company so i have to learn it by myself. But that's no problem. The problem is the career path itself. CCNP challenges more field area than i ever had before in my career experience. It offers not only routing and switching but also voice and other part of telco business. I think i have to study harder even source material is not a problem.

CCIP
Strength:
CCIP offers same strength aspect with CCNP. Hence, its more specific to service provider area only. I think i dont have to learn much new concept to take this exam rather than CCNP do. CCIP field competency area are BSCI & BCMSN, QoS, and BGP-MPLS. It seems more interesting for me.
Weakness:
I dont see any obstacle to take this exam besides my intensive practice of its CLI.

So, in conclusion, its more visible for me to choose CCIP as my 2008 career goal. I will ignore CCNP. For JNCIP, i have plan to renew my JNCIS before January 2009 as the pre-requisite certification to take JNCIP in 2009.

Guys, wish me luck.

Wednesday, November 07, 2007

Part of a Global Company

How are you Dian?

It seems that i have been gone for more than one year. Since my last post on September 2006 i never upload any posts. You know the last post is my post when i was in Shanghai attending a customer training as a part of a project in my company (Datacomm).
Things has gone so far. My career as an engineer has changed. What is the change?

I move to another company.

After finishing phase I of big project for ISAT, taking my JNCIS, I chose to resign from Datacomm and move to Ericsson.

Ericsson is my company right now.

And now, i succesfully passed my probation period here. I hope i will get tons of knowledge to have me developed into an Exceptional Warrior oops Engineer :p

Tuesday, September 19, 2006

Prologue ...

Thanks to God.

Thanks to blogspot. Don't ever shut this service down :)

I like to start writing my blog since there's no meaning for people when they cannot apply what they have into something useful for another.

So many things happened in my life. Sad and happiness, smiles and cries, rise and fall, colouring my life. So many things that i learned whether that is true or not, at least for you.

That's why i'm appreciate if you give me some comments. Anything that you like me to read. Yup anything because i believe you're all smart and mature.

In my post, there may be some posts that i like to share with you. There may be some posts that i ask you to try me :)

Hope you like my blog.

Smile and enjoy me...