ddutt / cloud-native-data-center-networking

Code repository for the O'Reilly book 'Cloud Native Data Center Networking'
GNU General Public License v2.0
168 stars 42 forks source link

chapter 15: Routing Policy #24

Closed zhaohuabing closed 4 years ago

zhaohuabing commented 4 years ago
So a first stab at arouting policy would be the following:

if prefix equals 172.16.0.0/16 then accept
else if prefix equals 10.0.0.0/24 then accept
else reject

But this would accept anyone accidentally announcing the subnet 10.0.254.0/26, as an example.

Looks like it should be "But this would accept anyone accidentally announcing the subnet 10.0.0.0/26, as an example."

ddutt commented 4 years ago

You're correct, that is a typo.