March seems to be all booked. I have KSA trip scheduled and the sales meet by start of the April. I am trying to complete the ccnp routing before I go to KSA. Once I am back I will give my exam.
for those who dared to dream
Friday, March 4, 2011
back from Iran
Now that I am back from Iran, I can concentrate on BGP back. And then path control and ipv6.
Monday, February 14, 2011
IRAN TRIP
My next business trip is scheduled on 17th and I will be back on 2nd March. I will try to complete the course in the mean time as well.
Today I though I lost the Frame Realy. I though I need to open the book again to read them up or just watch jeremy do that.
Before that I just wanted to try my hand. I opened Jeremy and did the ospf over nbma. Ah its third time and still it seems so fresh. You do not just mug up the things, you understand and apply. Thats real good. I was able to do it myself.
Thank god...everything is still intact :-)
BGP_IBGP_EBGP_Neighbour forming ----->Fun
Here is the BGP topology i have created. It was quite challenging. My GNS3 is causing the CPU 100% as soon as I run 5 routers with BGP. Super process intensive. I wonder why firewalls and UTM are being used for the BGP.
Here is the result you should finally have on router 5:
Router#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/129] via 10.10.5.1, 00:18:09, Serial1/0
3.0.0.0/32 is subnetted, 1 subnets
B 3.3.3.3 [200/0] via 1.1.1.1, 00:00:17
5.0.0.0/32 is subnetted, 1 subnets
C 5.5.5.5 is directly connected, Loopback5
172.10.0.0/24 is subnetted, 1 subnets
B 172.10.0.0 [200/0] via 1.1.1.1, 00:00:17
10.0.0.0/24 is subnetted, 4 subnets
B 10.10.1.0 [200/0] via 1.1.1.1, 00:00:17
B 10.10.2.0 [200/0] via 1.1.1.1, 00:00:18
O 10.10.3.0 [110/128] via 10.10.5.1, 00:18:09, Serial1/0
C 10.10.5.0 is directly connected, Serial1/0
B 200.10.30.0/24 [200/0] via 1.1.1.1, 00:00:20
B 200.10.10.0/24 [200/0] via 1.1.1.1, 00:00:20
=======================================================
R1
show ip route result:
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback1
2.0.0.0/32 is subnetted, 1 subnets
S 2.2.2.2 [1/0] via 10.10.0.2
3.0.0.0/32 is subnetted, 1 subnets
S 3.3.3.3 [1/0] via 10.10.2.2
[1/0] via 10.10.1.2
5.0.0.0/32 is subnetted, 1 subnets
O 5.5.5.5 [110/129] via 10.10.3.2, 00:32:28, Serial1/3
172.10.0.0/24 is subnetted, 1 subnets
B 172.10.0.0 [20/0] via 3.3.3.3, 00:26:29
10.0.0.0/24 is subnetted, 5 subnets
C 10.10.0.0 is directly connected, Serial1/0
C 10.10.1.0 is directly connected, Serial1/1
C 10.10.2.0 is directly connected, Serial1/2
C 10.10.3.0 is directly connected, Serial1/3
O 10.10.5.0 [110/128] via 10.10.3.2, 00:32:32, Serial1/3
B 200.10.30.0/24 [20/0] via 2.2.2.2, 00:37:07
B 200.10.10.0/24 [20/0] via 2.2.2.2, 00:37:21
!
interface Loopback1
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 10.10.0.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 10.10.1.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
ip address 10.10.2.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/3
ip address 10.10.3.1 255.255.255.0
serial restart-delay 0
!
router ospf 1000
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 10.10.3.0 0.0.0.255 area 0
!
router bgp 1000
no synchronization
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 2000
neighbor 2.2.2.2 ebgp-multihop 2
neighbor 2.2.2.2 update-source Loopback1
neighbor 3.3.3.3 remote-as 3000
neighbor 3.3.3.3 ebgp-multihop 2
neighbor 3.3.3.3 update-source Loopback1
neighbor 5.5.5.5 remote-as 1000
neighbor 5.5.5.5 update-source Loopback1
neighbor 5.5.5.5 next-hop-self
no auto-summary
!
ip http server
!
ip route 2.2.2.2 255.255.255.255 10.10.0.2
ip route 3.3.3.3 255.255.255.255 10.10.1.2
ip route 3.3.3.3 255.255.255.255 10.10.2.2
!
========================================
r2
!
!
interface Loopback2
ip address 2.2.2.2 255.255.255.255
!
interface Loopback3
ip address 200.10.30.1 255.255.255.0
!
interface Loopback4
ip address 200.10.40.1 255.255.255.0
!
interface Loopback10
ip address 200.10.10.1 255.255.255.0
!
interface Loopback11
ip address 200.10.20.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 10.10.0.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 2000
no synchronization
bgp log-neighbor-changes
network 200.10.10.0
network 200.10.30.0
neighbor 1.1.1.1 remote-as 1000
neighbor 1.1.1.1 ebgp-multihop 2
neighbor 1.1.1.1 update-source Loopback2
no auto-summary
!
ip http server
!
ip route 1.1.1.1 255.255.255.255 10.10.0.1
!
=============================================
r3
!
interface Loopback3
ip address 3.3.3.3 255.255.255.255
!
interface Loopback10
ip address 172.10.0.1 255.255.255.0
!
interface Loopback11
ip address 172.10.1.1 255.255.255.0
!
interface Loopback12
ip address 172.10.2.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 10.10.1.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 10.10.2.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 3000
no synchronization
bgp log-neighbor-changes
redistribute connected route-map fix
neighbor 1.1.1.1 remote-as 1000
neighbor 1.1.1.1 ebgp-multihop 2
neighbor 1.1.1.1 update-source Loopback3
no auto-summary
!
ip http server
!
ip route 1.1.1.1 255.255.255.255 10.10.1.1
ip route 1.1.1.1 255.255.255.255 10.10.2.1
!
!
access-list 10 deny 172.10.1.0 0.0.0.255
access-list 10 deny 172.10.2.0 0.0.0.255
access-list 10 permit any
!
route-map fix permit 10
match ip address 10
!
!
!
========================================================
r4
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 10.10.3.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 10.10.5.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1000
log-adjacency-changes
network 10.10.3.0 0.0.0.255 area 0
network 10.10.5.0 0.0.0.255 area 0
!
ip http server
!
=================================
r5
!
interface Loopback5
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 10.10.5.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1000
log-adjacency-changes
network 5.5.5.5 0.0.0.0 area 0
network 10.10.5.0 0.0.0.255 area 0
!
router bgp 1000
no synchronization
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 1000
neighbor 1.1.1.1 update-source Loopback5
no auto-summary
!
ip http server
!
======================================================
r1 sh ip bgp
Router#sh ip bgp
BGP table version is 10, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
r> 3.3.3.3/32 3.3.3.3 0 0 3000 ?
r> 10.10.1.0/24 3.3.3.3 0 0 3000 ?
r> 10.10.2.0/24 3.3.3.3 0 0 3000 ?
*> 172.10.0.0/24 3.3.3.3 0 0 3000 ?
*> 200.10.10.0 2.2.2.2 0 0 2000 i
*> 200.10.30.0 2.2.2.2 0 0 2000 i
Wednesday, February 2, 2011
EIGRP/ OSPF /Route Summarization/ Default Routes/ Route-maps/ Tags---> Great Fun

Ah this was great! 45 mins of pain:
Eigrp+ospf+route redistribution+route-maps+Default routes+Tags--->Fun
As promised, I will keep all the scenarios with config
R1-->networks 10.1.0.0/21 + 10.1.8.0/24 + 192.168.12.0/24 + 192.168.13.0/24 +eigrp + no auto+ route summarization on s1/1
R2-->net 1.1.1.0/24(lo +public connection+default route to null 0) + 192.168.24.0/24 + 192.168.12/0 + eigrp + Eigrp Summarization on s1/1
R3-->networks 192.168.13.0/24 + 192.168.34.0/24
R4---> net 192.168.24.0/24 + 192.168.34.0/24 + Redistribution to ospf area 0 on s1/2 -->172.16.16.0/24 + default route of eigrp should be having tag and metric-type e2 and rest should have tag and metric type e1. Do not allow 10.1.8.0/24 in the ospf. In ospf the default route should be the same as default route of the eigrp.
No auto summary in eigrp
R1
=================
!
!
interface Loopback1
ip address 10.1.1.1 255.255.255.0
!
interface Loopback2
ip address 10.1.2.1 255.255.255.0
!
interface Loopback3
ip address 10.1.3.1 255.255.255.0
!
interface Loopback4
ip address 10.1.4.1 255.255.255.0
!
interface Loopback5
ip address 10.1.5.1 255.255.255.0
!
interface Loopback6
ip address 10.1.6.1 255.255.255.0
!
interface Loopback7
ip address 10.1.7.1 255.255.255.0
!
interface Loopback8
ip address 10.1.8.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.12.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.13.1 255.255.255.0
ip summary-address eigrp 100 10.1.0.0 255.255.248.0 5
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 10.1.0.0 0.0.255.255
network 192.168.12.0
network 192.168.13.0
no auto-summary
!
=================
R2
interface Loopback100
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.12.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.24.1 255.255.255.0
ip summary-address eigrp 100 10.1.0.0 255.255.248.0 5
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 1.1.1.0 0.0.0.255
network 192.168.12.0
network 192.168.24.0
auto-summary
!
ip http server
!
ip default-network 1.0.0.0
ip route 1.1.1.0 255.255.255.0 Null0
!
===========================================
R3
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.13.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.34.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 192.168.13.0
network 192.168.34.0
auto-summary
!
=====================================
R4
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.24.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.34.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
ip address 172.16.16.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 100
network 192.168.24.0
network 192.168.34.0
auto-summary
!
router ospf 100
log-adjacency-changes
redistribute eigrp 100 subnets route-map eigrp2ospf
network 172.16.16.0 0.0.0.255 area 0
default-information originate
!
ip http server
!
!
!
access-list 2 permit 192.168.34.0 0.0.0.255
access-list 2 permit 192.168.13.0 0.0.0.255
access-list 2 permit 10.1.8.0 0.0.0.255
!
route-map eigrp2ospf permit 10
match ip address 1
set metric-type type-1
set tag 10
!
route-map eigrp2ospf permit 20
match ip address 2
set tag 20
!
=======================================
R5
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 172.16.16.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 100
log-adjacency-changes
network 172.16.16.0 0.0.0.255 area 0
!
Sunday, January 30, 2011
forward metric ospf E2
i found a strange forward metric in the ospf "show ip route 192.168.1.0", but there is lot of meaning in to it
how to find the better router between two e2 routes
lo--->r1-(rip)--->r2--(ospf)--->r3
ospf area 10
lo: 192.168.1.1/24
r2:
do sh ip int bri
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial1/0 192.168.2.2 YES manual up up
Serial1/1 10.1.1.1 YES manual up up
r3:
O E1 192.168.1.0/24 [110/84] via 10.1.1.1, 00:00:18, Serial1/0
O E2 192.168.2.0/24 [110/20] via 10.1.1.1, 00:00:18, Serial1/0
r3(config-router)#do sh ip route 192.168.1.0
Routing entry for 192.168.1.0/24
Known via "ospf 10", distance 110, metric 84, type extern 1
(64+20=84 :: 64 is forward metric + 20 default)
r3(config-router)#do sh ip route 192.168.2.0 ---->E2
Routing entry for 192.168.2.0/24
Known via "ospf 10", distance 110, metric 20, type extern 2, forward metric 64
(Forward Metric is actually the cost to reach the ASBR(r2). So the metric 64 is r3 to r2. )
Why forward metric?
Consider two E2 routers with same metric 20. The best route is determined using the forward metric
how to find the better router between two e2 routes
lo--->r1-(rip)--->r2--(ospf)--->r3
ospf area 10
lo: 192.168.1.1/24
r2:
do sh ip int bri
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial1/0 192.168.2.2 YES manual up up
Serial1/1 10.1.1.1 YES manual up up
r3:
O E1 192.168.1.0/24 [110/84] via 10.1.1.1, 00:00:18, Serial1/0
O E2 192.168.2.0/24 [110/20] via 10.1.1.1, 00:00:18, Serial1/0
r3(config-router)#do sh ip route 192.168.1.0
Routing entry for 192.168.1.0/24
Known via "ospf 10", distance 110, metric 84, type extern 1
(64+20=84 :: 64 is forward metric + 20 default)
r3(config-router)#do sh ip route 192.168.2.0 ---->E2
Routing entry for 192.168.2.0/24
Known via "ospf 10", distance 110, metric 20, type extern 2, forward metric 64
(Forward Metric is actually the cost to reach the ASBR(r2). So the metric 64 is r3 to r2. )
Why forward metric?
Consider two E2 routers with same metric 20. The best route is determined using the forward metric
Saturday, January 29, 2011
ah i am back
ah it was a great vacation. My parents were back in India, so i took a 10 day off and let to country side. i really had a great time and now rejuvenated. Ready to kick in.
done with my BGP :-)
Now back in the redistribution and learning to make things happy with route maps...they are superb(it took time to tame them)!!!
opened an account in the cisco community
and i could find whole lot of issues to try in my gns3.
done with my BGP :-)
Now back in the redistribution and learning to make things happy with route maps...they are superb(it took time to tame them)!!!
opened an account in the cisco community
and i could find whole lot of issues to try in my gns3.
Subscribe to:
Posts (Atom)
