Monday, November 17, 2008

RIP

1. RIP summary
RIP dose not support super net summary.

2. RIP default route
You can specific which interface should the default route sending out using "default-route originate route-map Interface".

route-map Interface
match ip address 1 //only when there is a route match access-list 10 will it create 0.0.0.0/0
set interface e0/0 //it will only send update 0.0.0.0/0 out e0/0

3. Filter routes
distribute-list 1 in e0/0

distribute-list prefix-list allow-nets in e0/0

distribute-list gateway all0w-source in e0/0 (Gateway is the ip address of the neighbor whom you receive a routing update).
The following prefix-list works with distribute-list gateway to only allow updates from 150.1.1.2.
ip prefix-list allow-source deny 150.1.1.1/32
ip prefix-list allow-source permit 150.1.1.2/32

4. Redistribute need to manually set the metric.

5. Troubleshooting tool
debug ip rip
will show you all the update sent and received.

No comments: