EBGP is run on the backbone links, while IBGP is run on the interior trunk links (usually a SONET ring) that connect each router inside their own AS. Remember that the main difference between BGP and other routing protocols such as RIP or IGRP, is the fact that it is an external protocol.