Life is a Roller Coaster

May 27, 2008

LSP bandwidth based load-balance

Filed under: Technical section — Tags: , , — adisubrata @ 10:40 AM

You can do load balance based on bandwidth reservation RSVP-TE.

Let say you have 2 end to end PEs,  PE1 and PE2.
PE1 have 2 LSP configured to PE2, LSP1 and LSP2.
LSP1 is configured through STM-4 link in the middle, while LSP2 is configured through STM-1.

LSP1 make reservation 75 MB, and LSP2 25 Mb.

The LSP 1 and 2 configuration is shown below:

[edit protocols mpls]
enugadi@M7i# show
label-switched-path LSP1 {
    to 2.2.2.2;
    bandwidth 75m;
}
label-switched-path LSP2 {
    to 2.2.2.2;
    bandwidth 25m;
}

By default PE1 used 1 path selected.
You have to configured load-balance in the FIB.

enugadi@M7i# show
policy-statement per-packet {
    then {
        load-balance per-packet;
    }
}

After you configured load-balance in the FIB. PE1 will use two next-hop which is LSP1 and LSP2 to reach PE2’s CE prefix. Packet will spread equally among LSP1 and LSP2.

In order to support load balance based on bandwidth, you must configure RSVP-LOADBALANCE knob in the RSVP stanza:

enugadi@M7i# show protocols rsvp
load-balance bandwidth; <-- this knob
interface all;

After you configure it, you will see the packets are spreads accross LSP1 and LSP2 based on LSP’s bandwidth.

optimus@prime# run show route 7.7.7.0/30 extensive

what.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
7.7.7.0/30 (2 entries, 1 announced)
TSI:
KRT in-kernel 7.7.7.0/30 -> {indirect(268608)}
*BGP Preference: 170/-101
Route Distinguisher: 1:1
Next-hop reference count: 2
Source: 2.2.2.2
Next hop: 10.0.0.1 via ge-0/0/0.0 weight 0×1 balance 75%
Label-switched-path LSP1
Label operation: Push 1610, Push 261469(top)
Next hop: 10.0.0.1 via ge-0/0/0.0 weight 0×1 balance 25%, selected
Label-switched-path LSP2

As shown above, LSP1 has 75% proportion balanced, and LSP2 has 25%.

This features starting at Junos 7.1

Supported by M/T/J/TX series.

Happy trying.

Ref: JUNOS RSVP Configuration

May 24, 2008

RR design consideration

Filed under: Technical section — Tags: , — adisubrata @ 3:07 AM

RR is the most popular BGP features in the world for who wants to simplify the BGP full mesh. And it works; scalability can be achieved using the RR.

Here I will not talking about BAD or GOOD using RR in the BGP network, it just some point which is needed for who will involve in the RR design.

RR approaches for Internet services should be different with MPLS RR. RR in the MPLS PE domain will not do path choosing between source and destination (unless you did RT filtering). It’s different when you compare with internet services, expecially when you have more than 1 upstream provider.

What happen if you have 2 upstream router and both of router connected to single RR?

B
|
|
D————-A
|
|
C

Look at topology above, you have routers B and C. Both of B and C connected to the internet and receives full internet prefix.

D as an RR receives similar prefix from B and C and will forwarded it into the A router as RR clients. D sends single prefix from B and C to A. So, there is information lost in the A router. The A router only receives single prefix which is best path from the router D perspective. Typically router D will use IGP metric to reach the next-hop, best path will be send to the clients.

The second aspect that you need to reviews is BGP propagate delay. Router A receives A or C prefix thru router D. Of course, there is a delay in propagating updates. You have to think about it. Centralized and distributed RR J.

When router D and B flaps, A as a RR clients would receives another updates from D.

The last aspect is complexity. Basically RR was proposed to simplify BGP sessions between PE from scalability perspective. So, RR will play important roles in your networks. Your RR down, your routes cannot be propagated. You have to think about redundant RR and of course, you need such failure mechanism to ensure all RR working as expected. Some providers are using Hierarchical RR, combining distributed and centralized RR. Nothing wrong with that, just keep in mind simple RR design, using complex RR design will make complex failover scenario. Network will grow and more complex thing will come.

My 2c.

Supporting BGP and LDP VPLS interoperability

Filed under: Technical section — Tags: , — adisubrata @ 2:21 AM

Starting Junos 9.0, Juniper has created some feature improvement. And now, They do interoperability between LDP and BGP VPLS. You can quick view the configuration in the following url BGP and LDP signaling interoperability.

You have to configure mesh-group in 1 router which is running both LDP signaling and BGP signaling.

May 19, 2008

BGP Plotter

Filed under: Technical section — Tags: — adisubrata @ 5:12 AM

Another BGP plotter coming from routeviews.org.

They used Java embedded plugin. Click “Start BGP Play” and you will directed to Java windows. Put your IP Address which you want to look at.

Happy trying :)

May 10, 2008

Guitar ?? Anyone ?

Filed under: My Life — adisubrata @ 2:50 AM

When I was young, I used to play guitar everyday. I was playing both pop and classic, and little with rock. I’m not expert but enjoying to play for that things.

My first guitar is Yamaha G Series, I don’t think this series still available today. It was very old guitar from my sisters. Oh ya, My sister was expert guitar player. She joined Yamaha Music Center for along time. Thus, she has very good typing or finger style skills. I remember when she was playing classic song with tremolo style, awesome. My brother was playing guitar too. He has 6 set of guitar, OMG. I asked him “How much money did you spend for that things ?

I remember when I was 16 years old, he gave me 12 strings guitar. In the first time playing 12 strings, it was very hard. I have to push 2 pair of string with single finger. I did not like string guitar compared with nylon. So, my favorite is 6 nylon strings. My first original guitar is Electric guitar. Unfortunately, I prefered to play with classic guitar than Electric.

I stopped play guitar because, 4th string broken and I’m too lazy to buy a new one.

At least for a 3 years until last week I did not playing with that thing. Last week I bought one set nylon strings and started to playing it again :D

Pop song is simple thing, because it is combination of A,B,C,D,E,F,G note. I’m still remembering and solve that problem. Anyway, playing classical music was very hard. I have to train myself many times before finishing 1 (only) song, typing and finger style is not a simple things :(

Like when I was playing guitar for the first time, I play Romance D Amor song.

I forgot some notes, but since we live in the modern world, we can looking for everything :D

Youtube.com is the best teacher.

The second songs was Pachelbel’s Canon in D. Good song but difficult to play.

In youtube.com, I tried to looking for amateur guitar players.

I found 1 name, Sungha Jung.

He is korean and about 10-11 years old. OH MY GOOD, a kid 10 years old playing Pachelbel’s Canon? I’m impressive with Sungha Jung.

He plays guitar very well and better than other people who older than him.

He is very talented, I really appreciate. When I saw him, I’m thinking possibility of my son playing guitar like him. Yes, when time has come, I will suggest him (my son) to join Music school if he interests wants to do it.

You could see him in this link Sungha Jung playing Canon in D Major .

Another good Asian player is in this link 1 man playing 2 guitars.

He could play with 2 guitars in the same time. The first guitar is Melody and the second one is Bass.

Beside looking classic style players in youtube.com, I’m also looking at Rock musics.

I remember Steve Vai, Mr Big and Dream Theater was my favourites.

I don’t like metal musics, TOO NOISY TOO LOUD. DAR DER DOR. I though metal music was made for a deaf. hahaha…. I’m just kidding, no offense for metal music lovers. Sorry :D

I like Alternative rock, progressive etc.

Steve Vai was Joe Satriani student when he was studying guitar at Barkeley Music University California, together with Kirk Hammet (Metallica), Kevin Kadogan (Third Eye Blind) and the others.

There are many clips about him in Youtube.com.

Mr. Big was biggest band (At least to me :p) 6-7 years ago. Paul Gilbert and Billy Sheehan did their JOB very well. I’d like to see Paul Gilbert playing solo guitar and Billy Sheehan with his bass. They was joking and fighting each others in the stage.

I’m also looking at Yngwie Malmsteen. If I remember correctly, He was fastest player in the world. I don’t like him :p He is arrogant and trifling. Yngwie is very fast, but ONLY fast. No offense :p

Slash (Guns and Roses) and John Petrucci are kind of lead guitar players whom play with 3 fingers. They could playing it faster, but it’s strange for me. :D Why you play with 3 fingers if you have more? Expecialy Slash, I hate to see him got drunk in the stages. Yes, Slash and Axl rose always got drunk in the stages. Nuno extreme playing guitar better than you :p

This was only simple summary of my favorites band:

Groups: Dream Theater, Third Eye blind, Stryper and more, I’m forgot most of them :D

Lead Guitar: Steve Vai, Paul Gilbert and more.

Bass: Billy Sheehan and more.

Drum: Absolutely MIKE PORTNOY (Dream Theater), Terry Bozzio ??? Hihi.

This posts just my opinion and cannot be related with violation of offence to another :D

Blog at WordPress.com.