How do I prevent a router from advertising a private network (10.0.0.0/8,
172.166.0.0/12, 192.168.0.0/16) on the Internet with RIP, EIGRP and OSPF?Let say, to give an example, the topology is:
hostA--switch--R1--R2--R3--switch--hostB
with the following networks: LAN "hostA--switch--R1" is 172.18.81.0/24 WAN "R1--R2" is 62.235.14.128/26 WAN "R2--R3" is 198.133.219.64/27 LAN "R3--switch--hostB" is 10.22.33.0/24
If you configure one routing protocol as EIGRP on the three routers, hostA is allowed to reach hostB and vice versa. With real networks, you can't. Routers are not supposed to route packets with a private destination address through the internet. How is this prevented? What command is used?
Thanks to throw light on this point.
Bernard.