I apologize in advance if I can't word this question correctly.
In real-world scenarios, how is the "Next-Hop" address's network propagated to the internal routers. Let's say that there is a transit AS that is multihomed to two separate AS's: 10 and 20. AS 10 wants to send a packet destined for a network that 20 is advertising. When the packet is inside the transit domain, how does the "next-hop" address get in the routing table. For example:
B 192.168.10.0/24 via 172.31.1.1.
The 172.31.1.1 network is external to the transit domain. Is a static route redistributed to the IGP considered good practice or is there a better method?
Please let me know if I need to clarify. Thanks!