/* http://mailman.icsi.berkeley.edu/pipermail/xorp-users/2008-March/002439.html BGP Router 65000 neighbor 192.168.1.100 remote-as 65001 network 10.10.10.0 mask 255.255.255.0 */ interfaces { restore-original-config-on-shutdown: true interface vr0 { vif vr0 { address 192.168.1.200 { prefix-length: 16 } } } } protocols { static { route 10.10.10.0/24 { next-hop: 192.168.1.200 } } } policy { policy-statement static { term export { from { protocol: "static" } } } } protocols { bgp { bgp-id: 192.168.1.200 local-as: 65000 export "static" peer 192.168.1.100 { local-ip: 192.168.1.200 as: 65001 next-hop: 192.168.1.200 } } }