[Xorp-users] BGP route
aizuddin ariffin
amaizuddin at yahoo.com
Wed Mar 26 22:46:05 PDT 2008
Thanks for the interface advice.Then about the output
of show bgp route.Why the peer is 0.0.0.0 and AS path
is not 33333 as I configured before.Could you show me
the right way to configure it.
Thanks.
----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 25 Mar 2008 10:41:07 -0700 (PDT)
> From: aizuddin ariffin <amaizuddin at yahoo.com>
> Subject: [Xorp-users] BGP route
> To: xorp-users at xorp.org
> Message-ID:
> <275830.90421.qm at web90301.mail.mud.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi all.Can anyone help me check my BGP
> configuration?
> Here is my configuration.This is my first time using
> XORP and hope anyone can help me.
> Thanks.
>
> interfaces {
> interface eth0 {
> description: "data interface"
> vif eth0 {
> address 172.16.0.0 {
> prefix-length: 24
> broadcast: 172.16.0.255
> }
> }
> }
> }
>
> fea {
> unicast-forwarding4 {
> disable: true
> }
> }
>
> policy {
> policy-statement export-connected {
> term 100 {
> from {
> protocol:"connected"
> network4: 172.16.0.0/24
> }
> to {
> neighbor: 172.16.1.0
> }
>
> then {
> nexthop4: 172.16.1.0
> accept
> }
> }
> }
> }
>
> protocols {
> bgp {
> bgp-id: 172.16.0.0
> local-as: 33333
> export: "export-connected"
>
> peer 172.16.1.0 {
> local-ip: 172.16.0.0
> as: 33334
> next-hop: 172.16.1.0
>
> local-port: 179
> peer-port: 179
> holdtime: 120
>
> }
>
> peer 172.16.2.0 {
> local-ip: 172.16.0.0
> as: 33335
> next-hop: 172.16.2.0
>
> local-port: 179
> peer-port: 179
> holdtime: 120
>
> }
>
> peer 172.16.3.0 {
> local-ip: 172.16.0.1
> as: 33336
> next-hop: 172.16.3.0
> local-port: 179
> peer-port: 179
> holdtime: 120
>
> ipv4-unicast: true
>
>
> }
>
>
> }
> }
>
> Here is my BGP output.
>
> root at debian> show bgp routes
> Status Codes: * valid route, > best route
> Origin Codes: i IGP, e EGP, ? incomplete
>
> Prefix Nexthop Peer AS Path
> *> 172.16.0.0/24 172.16.0.0 0.0.0.0 i
>
> The output look something wrong to me though.
> Can anyone help me solve this problem.Thanks.
>
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20080325/c125dc34/attachment-0001.html
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 25 Mar 2008 11:05:01 -0700
> From: Atanu Ghosh <atanu at ICSI.Berkeley.EDU>
> Subject: Re: [Xorp-users] BGP route
> To: aizuddin ariffin <amaizuddin at yahoo.com>
> Cc: xorp-users at xorp.org
> Message-ID: <59130.1206468301 at tigger.icir.org>
>
> Hi,
>
> The output of "show bgp routes" looks fine assuming
> that you have not
> formed any peerings, or that the peers are not
> sending any routes.
>
> Atanu.
>
> >>>>> "aizuddin" == aizuddin ariffin
> <amaizuddin at yahoo.com> writes:
>
> aizuddin> Hi all.Can anyone help me check my BGP
> configuration?
> aizuddin> Here is my configuration.This is my
> first time using
> aizuddin> XORP and hope anyone can help me.
> aizuddin> Thanks.
> aizuddin> interfaces {
> aizuddin> interface eth0 {
> aizuddin> description: "data interface"
> aizuddin> vif eth0 {
> aizuddin> address 172.16.0.0 {
> aizuddin> prefix-length: 24
> aizuddin> broadcast: 172.16.0.255
> aizuddin> }
> aizuddin> }
> aizuddin> }
> aizuddin> }
> aizuddin> fea {
> aizuddin> unicast-forwarding4 {
> aizuddin> disable: true
> aizuddin> }
> aizuddin> }
> aizuddin> policy {
> aizuddin> policy-statement export-connected {
> aizuddin> term 100 {
> aizuddin> from {
> aizuddin> protocol:"connected"
> aizuddin> network4: 172.16.0.0/24
> aizuddin> }
> aizuddin> to {
> aizuddin> neighbor: 172.16.1.0
> aizuddin> }
>
=== message truncated ===
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
More information about the Xorp-users
mailing list