10-17-2012 04:26 AM - edited 03-07-2019 09:31 AM
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
10-17-2012 04:37 AM
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
10-17-2012 04:54 AM
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
10-17-2012 05:41 AM
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.
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