From: louie kouncar (lkouncar@xxxxxx)
Date: Wed Jun 06 2001 - 13:37:11 GMT-3
Here is a config of what you are trying to do and it works just fine....
Please post the entire config so we can look at it...
HERE ARE THE CONFIGS AND AS YOU CAN SEE, IT WORKS FINE.......
R5 and R6 are running EBGP
R5#
ip route 100.100.100.0 255.255.255.0 Null0
ip route 100.100.101.0 255.255.255.0 Null0
router bgp 1
network 10.0.0.0
redistribute static
neighbor 100.1.1.1 remote-as 2
no auto-summary
R6#sh ip bgp
BGP table version is 4, local router ID is 100.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0 100.1.1.2 0 0 1 i
*> 100.100.100.0/24 100.1.1.2 0 0 1 ?
*> 100.100.101.0/24 100.1.1.2 0 0 1 ?
R6#
Louie J. Kouncar
TCO3 Senior Data Center Engineer
UUNET
W-703-343-6645
C-703-304-2460
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Brian
Sent: Wednesday, June 06, 2001 12:02 PM
To: ccielab@groupstudy.com
Subject: A BGP announcement problem
Lets say you have the config like below:
int loopback0
ip add 10.1.1.1 255.0.0.0
ip route 100.100.100.0 255.255.255.0 null0
ip route 100.100.101.0 255.255.255.0 null0
And you want the above networks to be announced as follows:
10.0.0.0
100.100.100.0/24
100.100.101.0/24
I wanted to get this to work with using only a "network" statment for the
10.0.0.0 network, and just "redistribute" statment for the 100.100.10X.0
networks. But I can't seem to get this to work.
To get the 100.100.10X.0 networks to announce as /24's, I have to do
"no auto-summary". But when I do that, for whatever reason, my 10.0.0.0
network will no longer announce:
router bgp 1
redistribute static
network 10.0.0.0
no auto-summary
I also tried:
router bgp 1
redistribute static
network 10.1.1.0
no auto-summary
Any ideas? The rules I am trying to live by with this is:
1. the 10.x.x.x needs to announce as /8
2. the 100.100.10X.0 needs to announce as /24
3. use "network" statment on the 10.x.x.x network
4. use "redistribute" statment on the 100.100.10X.0 networks
Brian
-----------------------------------------------
Brian Feeny e:signal@shreve.net
CCNP+Voice/ATM/Security p:318.222.2638x109
CCDP f:318.221.6612
Network Administrator
ShreveNet Inc. (ASN 11881)
**Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:19 GMT-3