[Xorp-users] 2 BGP Peers Simultaneously

Mark Handley M.Handley at cs.ucl.ac.uk
Wed Apr 2 00:11:29 PDT 2008


Was there something you were trying to do with the policy statement?
If you remove that, does it make any difference?

 - Mark

On Tue, Apr 1, 2008 at 7:50 PM, Che, Ting-Shuo T. <tsche at mitre.org> wrote:
>
>
> Installed XORP on Linux PC, started "./xorp_rtrmgr -b ipv6bgp.boot"
> (2000::1) and then connect to
> test equipment representing 2 BGP peers (2000::2 and 2000::3) with a lot of
> prefixes each.
>
> Both peers reached ESTABLISHED state in "show bgp peers detail" and started
> route injection, but
> only those prefixes from one peer (2000::3) shows up in "show bgp routes
> ipv6" and  "show route
> table ipv6 unicast ebgp terse".
>
> Did I made mistake in the following configuration file?
>
> Thank you very much for your help.
>
> Ting Che
>
> /*XORP Configuration File, v1.0*/
> protocols {
>     bgp {
>         bgp-id: 192.168.2.3
>         local-as: 65503
>         enable-4byte-as-numbers: false
>         peer 2000::2 {
>             peer-port: 179
>             local-port: 179
>             local-ip: 2000::1
>             as: 65504
>             next-hop: 192.168.2.6
>             next-hop6: 2000::1
>             holdtime: 90
>             delay-open-time: 0
>             client: false
>             confederation-member: false
>             disable: false
>             ipv4-unicast: false
>             ipv4-multicast: false
>             ipv6-unicast: true
>             ipv6-multicast: false
>         }
>         peer 2000::3 {
>             peer-port: 179
>             local-port: 179
>             local-ip: 2000::1
>             as: 65505
>             next-hop: 192.168.2.6
>             next-hop6: 2000::1
>             holdtime: 90
>             delay-open-time: 0
>             client: false
>             confederation-member: false
>             disable: false
>             ipv4-unicast: false
>             ipv4-multicast: false
>             ipv6-unicast: true
>             ipv6-multicast: false
>         }
>         export: "block"
>     }
> }
> fea {
>     unicast-forwarding6 {
>         disable: false
>     }
> }
> interfaces {
>     restore-original-config-on-shutdown: false
>     interface eth0 {
>         description: ""
>         disable: false
>         discard: false
>         unreachable: false
>         management: false
>         vif eth0 {
>             disable: false
>             address 192.168.2.3 {
>                 prefix-length: 24
>                 disable: false
>             }
>             address 2000::1 {
>                 prefix-length: 64
>                 disable: false
>             }
>             address fe80::20f:1fff:fea8:70e4 {
>                 prefix-length: 64
>                 disable: false
>             }
>         }
>     }
> }
>
> policy {
>     policy-statement block {
>         term bgp_65503 {
>             from {
>                 protocol: "bgp"
>             }
>             then {
>                 accept
>             }
>          }
>     }
> }
>
> _______________________________________________
>  Xorp-users mailing list
>  Xorp-users at xorp.org
>  http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>
>



More information about the Xorp-users mailing list