Quantcast
Channel: IEOC - INE's Online Community
Viewing all articles
Browse latest Browse all 10744

advertising loopback in bgp

$
0
0

Hello everyone, I have been having a issue with having a/any loopback being advertised by bgp with a mask not being a /32.

 here is the output for the loopback interface
ccnp-r6#sh run | s interface
interface Loopback0
 ip address 2.2.2.2 255.255.255.240
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
interface serial0/1
ip address 172.16.123.2 255.255.255.0
clock rate 128000
router bgp 65500
neighbor 172.16.123.1 remote-as 65500
here is the output for when I try numerous different combinations
ccnp-r6(config-router)#network 2.2.2.2 mask 255.255.255.240
% BGP: Incorrect network or mask configured
ccnp-r6(config-router)#network 2.2.2.2 mask 255.255.255.224
% BGP: Incorrect network or mask configured
ccnp-r6(config-router)#network 2.2.2.2 mask 255.255.255.248
% BGP: Incorrect network or mask configured
ccnp-r6(config-router)#network 2.2.2.2 mask 0.0.0.16 (did this just for grins)
% BGP: Incorrect network or mask configured
ccnp-r6(config-router)#network 2.2.2.2 255.255.255.255
ccnp-r6(config)#
as you can see i did a /32 at the end and it worked just fine. Does anyone have any sugestions?
I know iam missing a few commands just trying to keep the post brief
Thanks
Chuck

Viewing all articles
Browse latest Browse all 10744

Trending Articles