cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
413
Views
0
Helpful
3
Replies

question about BGP adverstising network problem

Dr.X
Level 2
Level 2

hi ,

i have a router R1 that has a static route to the netwok

xx.xx.76.0/22

and it has  a route and only one route in the routing table about 

ip route xx.xx.76.0/22    z.z.z.z

i removed this route from route and wrote it the same but will 4 lines /24

i mean it became

xx.xx.76.0/24

xx.xx.77.0/24

xx.xx.78.0/24

xx.xx.79.0/24

on the routing table ,

now on the bgp config  if i reome the subnet

network xx.xx.76.0/22

and write the 4 individual subnet

xx.xx.76.0/24

xx.xx.77.0/24

xx.xx.78.0/24

xx.xx.79.0/24

it no more working ,

i clear bgp soft , but the same issue ,

the major thing im doubting is the  the old subnet which was /22 is still exist when i type sh ip bgp

i mean when i type #sh ip bgp

,

the subnet

xx.xx.76.0/22

is still in the bgp table ,

i clear the  soft config bewteen me and the neoghbour but the same thing ,

my question  is , should i down the neoghbourship to get the old route 

xx.xx.76.0/22

and start advertisiting the new 4 individual subnet /24 ???

loolk at the red line

here is the outbout

*> 1x.x.76.0/24   10.160.150.1             0         32768 i

*> 1x.x.76.0/22   10.160.150.1             0         32768 ?

*> 1x.x.77.0/24   10.160.150.1             0         32768 i

*> 1x.x.78.0/24   10.160.150.1             0         32768 i

*> 1x.x.79.0/24   10.160.150.1             0         32768 i

*> 1x.x.16.0/22    10.160.150.5             0         32768 i

*> x.x.30.0     10.160.150.

as u see the old route still exist !!!!

how to clear it

regards

3 Replies 3

nickbonifacio
Level 1
Level 1

Hi Ahmed,

Can you do a "sh run | sec router bgp"?

Do you have

aggregate-address 1x.x.76.0 255.255.252.0

or something similar in the config?

thanks,

Nick

Nick Bonifacio CCIE #38473

hi ,

no aggregate address exist ,

here is sh  run section bgp :

=========================

network 1x.x.72.0 mask 255.255.252.0

network 1x.x.76.0 mask 255.255.255.0

network 1x.x.77.0 mask 255.255.255.0

network 1x.x.78.0 mask 255.255.255.0

network 1x.x.79.0 mask 255.255.255.0

network 1x.x.16.0 mask 255.255.252.0

neighbor x.x.66.77 route-map ppp out

==================================

=====================

here is routing tabe

ip route x.x..72.0 255.255.252.0 10.160.150.5

ip route x.x..76.0 255.255.252.0 10.160.150.1

ip route 1x.x..76.0 255.255.255.0 10.160.150.1

ip route x.x.77.0 255.255.255.0 10.160.150.1

ip route x.x.78.0 255.255.255.0 10.160.150.1

ip route x.x.79.0 255.255.255.0 10.160.150.1

prefix list ppp confis :

seq 20 permit x.x76.0/22

   seq 21 permit x.x.16.0/22

   seq 22 permit x.x.76.0/24

   seq 23 permit x.x.77.0/24

   seq 25 permit x.x.78.0/24

   seq 26 permit x.x.79.0/24

agian ,

my problem is i want to separtae the /22 to 4 subnets

i mean i wat to change the  current route of

ip route x.x..76.0 255.255.252.0 10.160.150.1

instaed of /22 only go to the route 10.160.150.1

i want

to type

ip route 1x.x..76.0 255.255.255.0 10.160.150.5

ip route x.x.77.0 255.255.255.0 10.160.150.5

ip route x.x.78.0 255.255.255.0 10.160.150.1

ip route x.x.79.0 255.255.255.0 10.160.150.1

because i want to balance 2 subnets     to  e1 and the 2nd two subntes to router e2

e2============sw=====gateway =====>INTERNET

                              |

                              |

                              |

                             e1

regards

Hi,

simply do this:

router bgp xx

no network  1.x.x.76.0 mask 255.255.252.0

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card