Wednesday, July 11, 2012

ccnp route ospf Implementation

OSPF Routing Implementation
OSPF Configuration

router ospf 1
network area 0
redistribute static subnets metric 200 metric-type 2  == to send static route
subnet is used since by default ospf will try to summarize
E1 == means incrementation in metric
If only one exit point is there, then basically we will use E2 where metric won't increment. The default is type E2

R2 :
show ip int br
router ospf 1
netowrk area 0
reload or clear ip ospf process
clear ip ospf process
netowrk area 10

router ospf 1
show ip int br
network area 20
network area 0

router ospf 1
netowrk area 0

show ip int br
router ospf 1
network area 10
network area 0

Loopback int are always summarized as /32 subnets
but we can tweak that by
ip ospf network point-to-point
this will advertise a real subnet

There is no pre-emption means once you elect the DR and BDR, you can't change the same until u "clear the process".

Ensure R1 as DR?
int f0/0
ip ospf priority 200
and change the priority of R2 and R3 int as 0
This is typically done on NBMA network
Then neighbors relation between r1 and r2 and r1 and r3 is full
the neighbor relation between R2 and R3 is 2 way

Implement summarization to make routing table efficient
In case of eigrp u can do summarization of any of the network/router which is the beauty of eigrp but in case of ospf summarization is only supported in ABR and ASBR

router ospf 1
area 10 range

show ip route

router ospf 1
area 20 range

Implement summarization at ASBR
ASBR == R1
router ospf 1

show ip route == now E2 shoud be seen in output

ospf cannot distinguish between the high-speed GB ethernet segments since the cost for all the GB ethernet segment above 100mbps is 1
solution is use auto-cost reference command. This will give the actual cost.

router ospf 1
auto-cost reference-bandwidth 10000 (mbps)

This should be done in all the routers

Implementing OSPF over NBMA
OSPF network Types

1. Broadcast, multi-access networks
- eg: ethernet, token ring
- single operation mode
- DR/BDR election, 10 sec. hellos, dual multicast add

2. Point- to-point networks
-eg: ISDN BRI/PRI , T1
-single operation mode
-NO DR?BDR, 10sec, hellos, single multicast add

- eg: FR, ATM
_ Five modes of operation

NBMA Topologies
Advantage :cost Disadvantage :redundancy
not good for sensitive traffic

key location. buy a redundant connection for key points

full redundancy, used un IT industry, MPLS

OSPF over NBMA : Five Modes
1. NBMA - rfc standard
2. point to multipoint - rfc standard
3. point to point -- cisco propreity
4. broadcast - cisco prop
5. point ot multipoint, non broadcast - cisco prop

1. NON-broadcast mode or NBMA
- default mode for x.25, FR, ATM
- neighbors are statically configured
- must be one subnet
- acts like a LAN environment
- DR/BDR elected (must have full connectivity)

deny multicast and broadcast at the same when u add broadcast at the end it creates a psuedo broadcast means router sends broadcast style packet down each dlci enabled for broadcast with broadcast key-point. Here we are not sending one message instead we are sending a directed broadcast.

This leads to some issues:
rule of DR/BDR is to have full connectivity with all routers. but here we can have only one DR ie hub router having full connectivity with other routers.
but if it is full mesh we can select DR/BDR.

- fixes issues with NBMA networks
- requires single subnet
- no DR/BDR elected
- neighbors automatically form

treats the cloud as series of point-to-point links
-the psuedo broadcast is allowed to send the messages

-uses seperate sub-interfaces
-no DR/BDR elected
-requires different subnets
-neighbors automatically forms.

problem is ip address consumption

4. Broadcast mode:
Its a simple LAN environment

5.point to multipoint, non-broadcast
Same as point to multipoint except the 4th point ie here neighbors won't form automatically.

No comments:

Post a Comment