Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > BGP mask

Reply
Thread Tools

BGP mask

 
 
ciscortp@hotmail.com
Guest
Posts: n/a
 
      05-29-2006
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,

 
Reply With Quote
 
 
 
 
jbrunner007@hotmail.com
Guest
Posts: n/a
 
      05-30-2006
when you dont "no auto-summary" and want to announce 1.0.0.0/8

 
Reply With Quote
 
 
 
 
ciscortp@hotmail.com
Guest
Posts: n/a
 
      06-02-2006

http://www.velocityreviews.com/forums/(E-Mail Removed) 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

 
Reply With Quote
 
Gararda
Guest
Posts: n/a
 
      06-02-2006
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

(E-Mail Removed) 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,


 
Reply With Quote
 
ciscortp@hotmail.com
Guest
Posts: n/a
 
      06-03-2006
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
>
> (E-Mail Removed) 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,


 
Reply With Quote
 
Gararda
Guest
Posts: n/a
 
      06-03-2006
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.

(E-Mail Removed) 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
> >
> > (E-Mail Removed) 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,


 
Reply With Quote
 
maxfactor maxfactor is offline
Junior Member
Join Date: Aug 2006
Posts: 1
 
      08-25-2006
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
 
Reply With Quote
 
theapplebee theapplebee is offline
Member
Join Date: Jun 2009
Location: USA
Posts: 67
 
      09-08-2009
BGP network mask is used for specify network / CIDR
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
To BGP or not to BGP (multihoming with ISPs over uneven links speed)?!? papi Cisco 4 09-08-2009 02:45 AM
Conversion mask in hex to bit mask Marcin Tyman Ruby 4 05-06-2008 08:15 PM
Difference between "bgp dampening" and "bgp bestpath dampening" harald rüger Cisco 0 10-25-2004 04:07 PM
[networking] Convert subnet mask <=> mask length 187 Perl Misc 2 07-29-2004 10:31 AM
Subnet Mask Help Ste Cisco 16 11-03-2003 05:00 PM



Advertisments