Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - BGP mask

 
Thread Tools Search this Thread
Old 05-30-2006, 12:49 AM   #1
Default BGP mask


Can someone explain the reason for NOT using the "mask" keyword in a
BGP network statement? Ie.

Router bgp 65010
Network 1.1.1.1

VS.

Router bgp 65010
Network 1.1.1.1 mask 255.255.255.0

Thanks,



ciscortp@hotmail.com
  Reply With Quote
Old 05-30-2006, 03:19 PM   #2
jbrunner007@hotmail.com
 
Posts: n/a
Default Re: BGP mask
when you dont "no auto-summary" and want to announce 1.0.0.0/8



jbrunner007@hotmail.com
  Reply With Quote
Old 06-02-2006, 05:22 AM   #3
ciscortp@hotmail.com
 
Posts: n/a
Default Re: BGP mask

wrote:
> when you dont "no auto-summary" and want to announce 1.0.0.0/8


Could you please clarify this answer? I don't understand your response

Thank you



ciscortp@hotmail.com
  Reply With Quote
Old 06-02-2006, 09:02 AM   #4
Gararda
 
Posts: n/a
Default Re: BGP mask
Hy,


If you are using the "no auto-summary" keyword:

-You must have a exact match in the IP routing table to appear the
network in the BGP routing table. For example:
- network 1.1.1.1/8 will appear in BGP if network 1.1.1.1/8
appear in the IP routing table.
- network 1.1.1.1/24 will appear in BGP if network 1.1.1.1/24
appear in the IP routing table.


If you are using the "auto-summary" keyword:

-You must have the classfull network or a subnet of this classfull
network in the IP routing table to appear the network in the BGP
routing table. For example:
- network 1.1.1.1/8 will appear in BGP if network 1.1.1.1/8
or 1.1.1.1/10.... exist in the IP routing table.
- network 1.1.1.1/24 will appear in BGP if network 1.1.1.1/24
or 1.1.1.1/26.... exist in the IP routing table.

CIAO

wrote:
> Can someone explain the reason for NOT using the "mask" keyword in a
> BGP network statement? Ie.
>
> Router bgp 65010
> Network 1.1.1.1
>
> VS.
>
> Router bgp 65010
> Network 1.1.1.1 mask 255.255.255.0
>
> Thanks,




Gararda
  Reply With Quote
Old 06-03-2006, 03:58 AM   #5
ciscortp@hotmail.com
 
Posts: n/a
Default Re: BGP mask
Your reply was very informative but it is still unclear what the
difference is between using the bgp Mask keyword and NOT using the mask
keyword in bgp. could you clarify this specifically.

Thanks

Gararda wrote:
> Hy,
>
>
> If you are using the "no auto-summary" keyword:
>
> -You must have a exact match in the IP routing table to appear the
> network in the BGP routing table. For example:
> - network 1.1.1.1/8 will appear in BGP if network 1.1.1.1/8
> appear in the IP routing table.
> - network 1.1.1.1/24 will appear in BGP if network 1.1.1.1/24
> appear in the IP routing table.
>
>
> If you are using the "auto-summary" keyword:
>
> -You must have the classfull network or a subnet of this classfull
> network in the IP routing table to appear the network in the BGP
> routing table. For example:
> - network 1.1.1.1/8 will appear in BGP if network 1.1.1.1/8
> or 1.1.1.1/10.... exist in the IP routing table.
> - network 1.1.1.1/24 will appear in BGP if network 1.1.1.1/24
> or 1.1.1.1/26.... exist in the IP routing table.
>
> CIAO
>
> wrote:
> > Can someone explain the reason for NOT using the "mask" keyword in a
> > BGP network statement? Ie.
> >
> > Router bgp 65010
> > Network 1.1.1.1
> >
> > VS.
> >
> > Router bgp 65010
> > Network 1.1.1.1 mask 255.255.255.0
> >
> > Thanks,




ciscortp@hotmail.com
  Reply With Quote
Old 06-03-2006, 10:21 AM   #6
Gararda
 
Posts: n/a
Default Re: BGP mask
Hy,

If you NOT use the mask keyword in the network stament, BGP use by
default the classfull network. For example:
- network 10.1.1.0, the network that BGP install will be
10.0.0.0/8, because the natural
mask of this network is a class A. (remember, you must consider
IP routing table,
auto-summary.....)

I hope this help you.

CIAO.

wrote:
> Your reply was very informative but it is still unclear what the
> difference is between using the bgp Mask keyword and NOT using the mask
> keyword in bgp. could you clarify this specifically.
>
> Thanks
>
> Gararda wrote:
> > Hy,
> >
> >
> > If you are using the "no auto-summary" keyword:
> >
> > -You must have a exact match in the IP routing table to appear the
> > network in the BGP routing table. For example:
> > - network 1.1.1.1/8 will appear in BGP if network 1.1.1.1/8
> > appear in the IP routing table.
> > - network 1.1.1.1/24 will appear in BGP if network 1.1.1.1/24
> > appear in the IP routing table.
> >
> >
> > If you are using the "auto-summary" keyword:
> >
> > -You must have the classfull network or a subnet of this classfull
> > network in the IP routing table to appear the network in the BGP
> > routing table. For example:
> > - network 1.1.1.1/8 will appear in BGP if network 1.1.1.1/8
> > or 1.1.1.1/10.... exist in the IP routing table.
> > - network 1.1.1.1/24 will appear in BGP if network 1.1.1.1/24
> > or 1.1.1.1/26.... exist in the IP routing table.
> >
> > CIAO
> >
> > wrote:
> > > Can someone explain the reason for NOT using the "mask" keyword in a
> > > BGP network statement? Ie.
> > >
> > > Router bgp 65010
> > > Network 1.1.1.1
> > >
> > > VS.
> > >
> > > Router bgp 65010
> > > Network 1.1.1.1 mask 255.255.255.0
> > >
> > > Thanks,




Gararda
  Reply With Quote
Old 08-25-2006, 06:48 AM   #7
maxfactor
Junior Member
 
Join Date: Aug 2006
Posts: 1
Default
Hi, I read somewhere that auto-summary doesn't matter anything with network command. I tried myself to configure a router, and I can say that if I write

router bgp 1
network 10.0.0.0
auto-summary


ip route 10.10.0.0 255.255.0.0 null0

then

show ip bgp

shows no entries. Cisco student-guide says instead that with the auto-summary , any subnet of the major network specified would prompt the major to be installed in the bgp routing table. But it seems to be not the truth.

Thanks


maxfactor
maxfactor is offline   Reply With Quote
Old 09-08-2009, 03:29 AM   #8
theapplebee
Member
 
Join Date: Jun 2009
Location: USA
Posts: 66
Default
BGP network mask is used for specify network / CIDR


theapplebee
theapplebee is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
exam 70-291 subnetting help sunnie38 General Help Related Topics 1 05-09-2007 12:00 AM
DVD Verdict reviews: SON OF THE MASK, THE CASE OF THE SCORPION'S TAIL, and more! DVD Verdict DVD Video 0 05-27-2005 09:11 AM
IP Address and subnet mask and cIDR our A+ Certification 2 05-11-2005 09:49 PM
Mask (1985) Rupert Pupkin DVD Video 0 08-26-2004 05:42 AM
Mask Special Edition DVD? susan DVD Video 0 12-03-2003 05:03 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46