cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
929
Views
0
Helpful
2
Replies

BGP route distribution

DMALTENFORT
Level 1
Level 1

I am having problems getting a loopback address to publish through BGP and am hoping someone can lend a hand.      This is running on an 1841 router.  I have four subinterfaces off of the F0/0 interface, a loopback and serial interface:

sh ip int br

FastEthernet0/0.10         10.10.98.1      YES NVRAM  up                    up 

FastEthernet0/0.13         unassigned      YES unset  administratively down down

FastEthernet0/0.15         10.15.98.1      YES NVRAM  up                    up 

FastEthernet0/0.150        10.150.1.5      YES manual up                    up 

FastEthernet0/0.156        10.151.1.5      YES NVRAM  up                    up 

FastEthernet0/1            unassigned      YES NVRAM  administratively down down

Serial0/0/0                unassigned      YES NVRAM  up                    up 

Serial0/0/0.1              199.2.2.2 YES NVRAM  up                    up 

Loopback0                  10.30.98.1      YES manual up                    up

I want to publish the following subnets:

10.10.98.0/24

10.15.98.0/24

10.30.98.1/32

I do not want to publish the following:

10.150.0.0 /16

10.151.0.0 /16

router bgp 60098

synchronization

bgp log-neighbor-changes

network 10.10.98.0 mask 255.255.255.0

network 10.15.98.0 mask 255.255.255.0

network 10.30.98.1 mask 255.255.255.255

redistribute connected

neighbor 199.2.2.1 remote-as 65111

distribute-list acl-filter out

no auto-summary

!

!

ip access-list standard acl-filter

permit 10.30.98.1 log

permit 10.10.98.0 0.0.0.255

permit 10.15.98.0 0.0.0.255

deny   10.150.0.0 0.0.255.255

deny   10.151.0.0 0.0.255.255

!

I am getting the 10.10.98.0, 10.15.98.0 and am not getting 10.150.0.0 and 10.151.0.0.  The problem is that I am also not getting 10.30.98.1

Thanks in advance for any assistance.

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello David,

I would check with

show ip bgp 10.30.98.1

if the BGP advertisement is in the BGP table.

  With no auto-summary configured the network command requires an exact match to work.

May you post also sh run int loop0 and/or show ip interface loop0?

Hope to help

Giuseppe

Thanks Guiseppe:

The problem was that the IP address was set to:

10.30.98.1/24 instead of 10.30.98.1/32.

Thanks again,

David

Review Cisco Networking for a $25 gift card