回覆: BGP to OSPF with Loopback Interface

From: Chen Kwong Wai William (kwchen@netvigator.com)
Date: Mon Jul 07 2003 - 07:19:07 GMT-3


Hi Jeongwoo,

   Did you try adding no auto-summary to bgp configuration, since bgp doing autosummary when redistrition. Tell me if it works.

Best Regards,
William Chen

>
> 1H%s*L: Jeongwoo Park <jpark@wams.com>
> $i4A: 2003/07/07 ,P4A$@ $U$H 05:41:35 GMT+08:00
> &,%s*L: lab <ccielab@groupstudy.com>
> %D&.: BGP to OSPF with Loopback Interface
>
> Hi all.
> Here is the topology.
> R3------ospf-----R1
>
> R3 has three loopback interfaces.
> Lo 1: 130.10.31.1/27
> Lo 2: 130.10.31.33/27
> Lo 3: 33.33.33.3/24 (BGP 100 interface )
>
> First, what I did was that I redistributed lo 1 and 2 into OSPF using
> "redistribute connected"
> It was successfully redistributed.
> Now secondly, if I redistribute lo 3 interface (BGP Interface) into OSPF, it
> doesn't happen.
>
> Here is the config of R3
> router ospf 1
> router-id 3.3.3.3
> log-adjacency-changes
> summary-address 130.10.31.0 255.255.255.0
> redistribute connected subnets route-map c2o
> redistribute bgp 100 subnets
> network 130.10.30.0 0.0.0.255 area 3
> network 130.10.134.0 0.0.0.255 area 0
> !
> router bgp 100
> bgp router-id 3.3.3.3
> bgp cluster-id 2181701409
> bgp log-neighbor-changes
> network 33.33.33.0 mask 255.255.255.0
> neighbor 130.10.134.1 remote-as 100
> !
> access-list 31 permit 130.10.31.0 0.0.0.255
>
> route-map c2o permit 10
> match ip address 31
>
> I think the problem is lo 3 is treated as the connected network and it is
> blocked by the route-map.
>
> Is there any way to get around with this?
>
> Thanks,
>
> JP
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

Best Regards,
William Chen



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:26 GMT-3