Hi,
Imagine you need to map your local LAN behind another IP range because for example another site uses the same IP addressing.
It exists a great feature on Cisco IOS to allow mapping your range towards another from a simple way (to avoid to define a static NAT for each devices you have). In this case we make a NAT to reach everything:
<code>
interface Vlan1
description *** TO LAN CUSTOMER ***
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
ip nat pool NAT 10.10.2.0 10.10.2.255 netmask 255.255.255.0 type match-host
ip nat inside source list 111 pool NAT overload
access-list 111 remark NAT_TO_DEFAULT_ROUTE_ONLY
access-list 111 permit ip 192.168.2.0 0.0.0.255 any
</code>
Regards,
January 23rd, 2012, posted by lga
Cisco
Here is a simple method to automate a backup of a Cisco router via a TFTP Serverv(for example, every Sunday at 23:00):
Route(config)#kron policy-list Backup
Router(config-kron-policy)#cli show run | redirect tftp://1.1.1.1/router.cfg
Router(config-kron-policy)#exit
!
Router(config)#kron occurrence Backup at 23:00 Sun recurring
Router(config-kron)occurrence)#policy-list Backup
July 30th, 2011, posted by lga
Cisco
Hi,
Small howto for people who are interested in making policy-based routing feature on Catalyst 3560.
For example you need to use 2 different default routes for various VLANs.
Imagine you receive a default route via a dynamic routing protocol (BGP, OSPF, …).
You need for VLAN ID 10 to take another default route for a specific reason.
You create another default route via a static like this:
ip route 0.0.0.0 0.0.0.0 outside_iface next_hop_ip 254
With that, this second default route will never be used because the first has a better metric.
=> the need to use PBR
First, you need to activate this feature by changing a setting in the global configuration:
sdm prefer routing
This command allows to use the PBR feature on a Cisco Catalyst 3560 series which is by default not available.
You have 4 modes:
- routing
- default
- vlans
- access
You can find more information about that via this URL
So … now you can start to configure PBR:
- Define an ACL to match which traffic will be affected by PBR:
access-list 2 permit 10.1.3.0 0.0.0.255
- Define a route-map to define a condition for this traffic, for example to specify another next-hop:
route-map PBR_VL10 permit 10
match ip address 2
set ip next-hop x.x.x.x ### where x.x.x.x corresponding to the IP next-hop for the second default route
- Apply PBR to the VLAN interface:
interface vlan 10
ip policy route-map PBR_VL10
That’s all
June 2nd, 2011, posted by lga
Cisco
With Backgrounder software (available on Cydia) you can keep an iPhone application running in background.
For example, it’s very easy to use fring in background to be always reachable
How this app works?
After installing the extension, simply hold down the home button on the app you want to preserve, and it will keep running until you tell it to stop with another home button press
Regards,
Lionel
October 5th, 2008, posted by lga
Life
Hello,
Today evening, the new version of Fring is available on the fring’s website: Download here
This update adds the support of fring on your iPhone with firmware 2.x
This software allows you to speak with your contacts in various ways :
– SIP protocol (various SIP providers)
– Instant messaging (MSN, Google Talk, Skype, ICQ, …)
Very great software !!! I advise it !!
Regards,
Lionel
October 4th, 2008, posted by lga
Life
So I have an iPhone for 4 days and I am really happy.
If you want change your ringstones, you can go to this website: http://audiko.net
This site allows you to download ringstones created especially for the iPhone or to create your own ringstones (upload the file, choose the best fragment, save to iPhone format).
I’m waiting for the update of Fring software to allow me to discuss with my friends via protocol SIP 
Nowadays, this software only works on firmware 1.x … and not on 2.x
September 28th, 2008, posted by lga
Life
In an attempt to gain maximum practice to succeed the CCIE lab I just bought 2 books from CiscoPress that seem very interesting:
- CCIE Routing and Switching Practice Labs
- CCIE Routing and Switching Practice Labs (Digital Short Cut)

If you have interesting links don’t hesitate to leave a comment !
September 22nd, 2008, posted by lga
Computer Science
September 20th, 2008, posted by lga
pub
August 24th, 2008, posted by lga
Life
Today, I went to France to drive in Porsche (see my previous post)
It was memorable. The co-pilot complimented me on my driving and my ability to quickly apply what they have just taught me.
A big thank to the staff on site and of course to my girlfriend who allowed me to live that.

August 24th, 2008, posted by lga
Life