RE: How to understand this distribution list?

From: Joe Martin (jmartin@capitalpremium.net)
Date: Wed Oct 23 2002 - 11:42:13 GMT-3


Donny,
Distribute lists work fine with OSPF, they just have to be applied inbound
not outbound.

Fan,
This distribute list is essentially denying the advertisement of any routes
where the first two octets are 192.168 and where the last bit in the third
octet is on. The value of the last bit is 1. So when the last bit is on,
the value of the third octet will always be an odd number.
However, as I mentioned to Donny, in OSPF you cannot stop the advertisement
of routes using a distribute list. Which is what you are trying to do with a
"distribute-list x out". In OSPF you can only stop the acceptance of routes
advertised by another router. This is done with a "distribute-list x in"
statement.

Hope this helps.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Donny MATEO
Sent: Wednesday, October 23, 2002 12:13 AM
To: Fan Shan
Cc: Ccielab@Groupstudy.Com; nobody@groupstudy.com
Subject: Re: How to understand this distribution list?

frankly speaking,
nothing. Distribute-list don't work for OSPF. OSPF use LSA as oppose to
distance vector routing
protocol such as RIP, IGRP and EIGRP.

Donny

                      "Fan Shan"
                      <fansh@publicf.bt To:
"Ccielab@Groupstudy.Com" <ccielab@groupstudy.com>
                      a.net.cn> cc:
                      Sent by: Subject: How to understand
this distribution list?
                      nobody@groupstudy
                      .com

                      23-10-2002 13:31
                      Please respond to
                      "Fan Shan"

router ospf 1
distribution-list 3 out

access-list 3 deny 192.168.1.0 0.0.254.255
access-list 3 permit any

What will it do?
How can it advertise only even route like 192.168.2.0, 192.168.4.0,...



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:54 GMT-3