Hi, <br><br>I've read the XORP user manual and Bittau & Handley's paper on "Decoupling Policy from Protocols" and I am still a bit confused as to how the policy terms work. <br><br>I understand that policies that do route redistribution, like "from {protocol:rip} to {neighbor: <a href="http://192.168.1.2">192.168.1.2</a>} then {accept}" make sense as an export policy, but it's not clear to me why a policy term has both from and to blocks when it is not doing routing redistribution. For example, take the following policy term: <br>
<br>from {} to {neighbor: <a href="http://192.168.1.2">192.168.1.2</a>} then {accept}<br><br>As an export policy I understand that it would advertise all routes to neighbor <a href="http://192.168.1.2">192.168.1.2</a>. However, if it were an IMPORT policy, what would it mean? More generally, what do any conditions in the to block mean in an import policy? <br>
<br>Similarly, what does "from {neighbor: <a href="http://192.168.1.2">192.168.1.2</a>} to {} then {accept}" mean as an export policy? What does any condition in the from block of an export policy mean? <br><br>
Thanks!<br><br>-Andreas <br>