Monday 25 February 2008

Win $500 From JimKarter.com

After won contest at JohnChow.com, JimKarter create a contest with $500 for the prize. The rule is simple :

1. Subscribe to Jim Karter Blog RSS Feed by email.
2. Blogging about the contest.

More detail about the contest can be found here :

http://www.jimkarter.com/2008-02-13-win-500-at-jimkartercom.html

Goodluck!

Wednesday 20 February 2008

AS-Path Filters

Service providers use AS-Path filters to influence BGP route selection. AS-path filters use regular expressions. These are character definitions that use to construct regular expressions :

^ Start of string
$ End of string
[] Range of characters
- Used to specify range ( i.e. [0-9] )
( ) Logical grouping
. Any single character
* Zero or more instances
+ One or more instance
? Zero or one instance
_ Matches any delimiter

Sample regular expressions :

_123_ Going through AS 123
^123$ Directly connected to AS 123
_123$ Originated in AS 123
^123_. Network behind AS 123
^$ Networks originated in local AS
.* Matches everything

Wednesday 13 February 2008

BGP Route Selection

If a router has some routes to reach a prefixes ( the same network and mask ), it has to select one of the routes as best route. For example :


The '>' sign in the left indicate that the route is the best path from the router.
*> 12.123.1.236 0 7018 701 703 80 i

Router uses the BGP attributes to select which route is the best path. The steps of selection process are :
  • next-hop attribute is reachable
  • prefer route with highest weight (local to router)
  • prefer route with highest local preference (global within AS)
  • Prefer route that the router originated
  • prefer route with the shortest AS path
  • prefer route with lowest origin code
  • prefer route with lowest MED
  • prefer external route (EBGP) over internal route (IBGP)

If all routes have the same BGP attributes ( all routes are equally good ), router will checks the BGP sessions on which it received the updates and chooses the route that was received from the router which has the lowest BGP router-ID.

Tuesday 12 February 2008

E61's Codes

Here are some codes that worked for Nokia E61. Just typed the code and you will get the result.

  1. Wlan MAC address : *#62209526#
  2. Bluetooth MAC address : *#2820#
  3. IME : *#06#
  4. Restore to the factory setting : *#7370# (default lock code is 12345)
  5. Software version : *#0000#
Please note, that restore to the factory setting will completely erase all data on the mobile phone, except the data at SD card.