Routing protocols have been redefined to support IPv6. There are two types of routing protocols: distance vector protocols which advertise routes to neighbors (e.g. RIPng), and link-state protocols which advertise link states (e.g. OSPFv3). Routing protocols can be interior (within an autonomous system) or exterior (between autonomous systems). Common interior protocols are RIPng and OSPFv3, while BGPv4 is commonly used as the exterior protocol.