RE: BGP Peer in Wrong AS

From: jerry.du@accenture.com
Date: Sun Nov 25 2007 - 09:03:26 ART


Hehe, just got understand with this question. Well, from my
understanding, the BGP did not send back the remote-as number it had
configured back to peer. Instead of send the remote-as number to peer,
it will send it's AS number or Local-AS (if it configured) to peer, and,
verify the peer's AS number that sent by peer.

For another words, the remote-as <AS-NUMBER> configured in BGP process
will not send out, it will used for verification only.

I'll happy to know if anyone would get remote-as from any ways.

Regards,
Jerry

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Scott Vermillion
Sent: Sunday, November 25, 2007 3:05 AM
To: 'Ranjith Samuel'; 'Joseph Saad'; 'Tarun Pahuja'
Cc: ccielab@groupstudy.com
Subject: RE: BGP Peer in Wrong AS

Hey Gents,

IIRC, I did some packet capture in Dynagen a few months back
specifically in
search of this answer. I then did a search of the trace file for the
value
I had configured on router e.f.g.h in the 'neighbor a.b.c.d remote-as'
command and came up with nothing. I don't recall that anyone involved
in
the discussion posted back and showed me where I had missed something
(and
my capture was done on the BGP interface of router e.f.g.h, so if it has
left the router, presumably I would have seen it). If anyone has any
ideas
(or would just like to see the trace file output), I have a lab up in
Dynamips right now and will shortly be building out BGP. I'll gladly
turn
some capture back on and have a second look...

Regards,

Scott

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Ranjith Samuel
Sent: Saturday, November 24, 2007 10:01 AM
To: Joseph Saad; Tarun Pahuja
Cc: ccielab@groupstudy.com
Subject: RE: BGP Peer in Wrong AS

Thanks Tarun but my question was different. Joseph Saad has phrased my
question right. Thanks Joseph

> Date: Sat, 24 Nov 2007 20:55:33 +0400> From:
joseph.samir.saad@gmail.com>
To: pahujat@gmail.com> Subject: Re: BGP Peer in Wrong AS> CC:
ranjith_samuel@hotmail.com; ccielab@groupstudy.com> > Thank you Guys,
but
that
is merely answer the question of "What the AS> of the neighbor, where AS
is
the configured AS on the neighbor e.d.f.g> in the command "router BGP
AS".>
>
it doesn't answer the question of "on the other router (e.f.g.h), what>
is
the
AS configured for my router (a.b.c.d) that I am configuring"> which
means I
want to know on the other router what is the value of> the AS where it
is
configured as "neighbor a.b.c.d remote-as AS".> > I have created an
access-list 1 permit e.f.g.h to see the traffic from> the neighbor and
debug
ip packet 1 dump and still couldn't find the> value.> > For the sake of
this
discussion, I am assuming my router which I am> configuring is a.b.c.d
and
the
other router is e.f.g.h> > > Cheers,> Joseph> > On Nov 24, 2007 6:36 PM,
Tarun
Pahuja <pahujat@gmail.com> wrote:> > Ranjith,> > Let me teach you a
trick to
tackle similar problems. If you do> > not know the AS # of the remote
peer,
turn on notification on the router and> > you will see a similar
message:>
>>
> *Sep 30 11:37: 40.741: %BGP-3-NOTIFICATION: sent to neighbor
10.10.10.2
2/2>
> (peer in wrong AS) 2 bytes *0384> > *FFFF FFFF FFFF FFFF FFFF FFFF
FFFF
FFFF
002D 0104 0384 00B4 9601 0202 1> > 002 0601 0400 0100 0102 0280 0002
0202
00>
>> > The Hex Value in the Bold will actuall tell you the right AS you
should
be> > peering with ;-)> >> > You can use the Calculator in Windows XP in
scientific mode, enter this> > value and then just hit decimal value to
get
the AS value in decimals.> >> > HTH,> > Tarun> >> >> >> > On 11/24/07,
Ranjith
Samuel <ranjith_samuel@hotmail.com> wrote:> > >> > > Hello Experts,> >
>> >
>
When trying to peer with an Backbone Router via EBGP on a point to
point> >
>
link,> > > I get an error message> > >> > > "%BGP-3-NOTIFICATION:
received
from neighbor 55.70.5.254 2/2 (peer in> > > wrong> > > AS) 2 bytes
000F"> >
>>
> > The decimal value at the end of the notification (000F) is the value
of
my> > > AS> > > which is 15. The Backbone AS is 254> > >> > > Is there
anyway
i can find out what AS value been configured on the> > > BackBone> > >
Router
to peer with my router ?> > >> > > Ranjith> > >



This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:31 ART