Question of BGP "network" statement

Unanswered Question
Feb 10th, 2008
User Badges:

When using "network" statement to advertise a route in BGP, does the route have to be a BGP route first? or it just needs to be in the routing table?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
arun kumar Sun, 02/10/2008 - 22:16
User Badges:
  • Bronze, 100 points or more


Using "network" statement in BGP will make the prefix to be "Internal Origin" (i) type. Only criteria is the prefix should be learned by the originating router by any means (IGP even static or e-BGP)... i.e.. originating router should have an entry in its routing table...

Origin is a well-known mandatory which will be used in BGP routing alogrithm...


Kevin Dorrell Sun, 02/10/2008 - 23:25
User Badges:
  • Green, 3000 points or more

It just needs to be in the routing table. But there is one proviso: the mask must match exactly as well as the subnet.

But if you supply the classful network without a mask, then if there is any part of that classful network in the routing table, BGP will take on board the whole classful network. (Although I think you may need auto-summarization enabled for that to happen.)

Kevin Dorrell



This Discussion