[Xorp-users] BGP route

aizuddin ariffin amaizuddin at yahoo.com
Tue Mar 25 10:41:07 PDT 2008


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.html 


More information about the Xorp-users mailing list