Question: how ibgp and ebgp works?
Answer: 1. EBGP is peering between two different AS, whereas IBGP is between same AS (Autonomous System). 2. Routes learned from eBGP peer will be advertised to other peers (BGP or IBGP); however, routes learned from IBGP peer will not be advertised to other IBGP peers.