05-08-2012 06:00 AM - edited 03-04-2019 04:17 PM
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.
05-08-2012 06:16 AM
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
05-08-2012 08:43 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide