In other protocols, the network statement, among other things, specifies the interfaces that are participating in the routing protocol. BGP works a little differently.
In BGP you must specifically configure your neighbors so it's not necessary to then specify an interface to run BGP. Once you have formed relationships with other BGP speakers, you can originate a route by using the network statement. In BGP, the network statement will originate a prefix if it exists in the routing table. For example, if you have the network 172.16.0.0/16 in your routing table already, then 'network 172.16.0.0' will cause BGP to advertise that exact prefix to its neighbors. A common scenario might be where you are running BGP with two different ISPs and you have at least a /24 prefix assigned from one of them. You would create a static route for that prefix pointing back into your internal network. Then you would add a corresponding network statement to your BGP config. Your router will then advertise this prefix to your ISPs and the rest of the world will eventually see this prefix as originating in your autonomous system. HTH, John ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag ---- On Sat, 22 Dec 2001, Hunt Lee ([EMAIL PROTECTED]) wrote: > I know this may be a stupid question, but how does the BGP network > statement > operates? > > H > > > ""John Neiberger"" wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > In RIP, you must specify which interfaces participate in the routing > > protocol. With no network statement, you have no interfaces > > participating so what's the point in that?? :-) > > > > Let's say you have 10 interfaces, one of which is in the 172.16.0.0/16 > > major net and the rest are in some other major net. If you configure > > the following: > > > > router rip > > network 172.16.0.0 > > redistribute connected metric 1 > > > > This will cause that single interface to participate in RIP routing > > *and* it will advertise your connected networks without the need to > add > > them via networks statements. > > > > You're misunderstanding the way the network statement operates in RIP. > > You're thinking that it works in RIP the same way that in works with > > BGP, and it doesn't. > > > > HTH, > > John > > > > >>> Phil Barker 12/19/01 11:22:12 AM >>> > > No, I still don't get it !!! > > > > If I have to type in all the directly connected > > networks via the network statement then what does > > redistribute connected actually do ? > > > > Regs, > > > > Phil. > > > > --- John Neiberger > > wrote: > The network statement in RIP does not specify > > which > > > networks to > > > advertise, it specifies which interfaces participate > > > in RIP. If you > > > don't have a network statement, no networks will be > > > advertised because > > > no interfaces are running RIP. > > > > > > HTH, > > > John > > > > > > >>> "Phil Barker" 12/19/01 12:01:40 PM > > > >>> > > > Hi all, > > > Just set up a simple RIP network and am trying to > > > redistribute connected networks without directly > > > advertising a network through the network statement. > > > > > > The router won't allow me ? If I advertise a network > > > with redistribute connected and then take the > > > network > > > out of the advertisements then the 'router rip', > > > 'redistribute connected' is still in the config but > > > it > > > doesn't do anything i.e 'debug ip rip' shows no > > > updates. > > > > > > Does anyone know why this is ? > > > > > > Regards, > > > > > > Phil. > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Everything you'll ever need on one web page > > > from News and Sport to Email and Music Charts > > > http://uk.my.yahoo.com > > [EMAIL PROTECTED] > > > > __________________________________________________ > > Do You Yahoo!? > > Everything you'll ever need on one web page > > from News and Sport to Email and Music Charts > > http://uk.my.yahoo.com [EMAIL PROTECTED] Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=29945&t=29667 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

