Rfc1918
high1432007
Member Posts: 37 ■■□□□□□□□□
in Juniper
term rfc1918 {
from {
route-filter 10.0.0.0/8 orlonger reject;
route-filter 192.168.0.0/16 orlonger reject;
route-filter 172.16.0.0/12 orlonger reject;
route-filter 0.0.0.0/0 through 0.0.0.0/32 reject;>>>>> abit confust for route-filter...
}
}from {
route-filter 10.0.0.0/8 orlonger reject;
route-filter 192.168.0.0/16 orlonger reject;
route-filter 172.16.0.0/12 orlonger reject;
route-filter 0.0.0.0/0 through 0.0.0.0/32 reject;>>>>> abit confust for route-filter...
}
anyone can help~~tks
Comments
-
darry9502 Member Posts: 12 ■□□□□□□□□□You are confused because you did not read the question correctly or you did not read the question at all. At the same time, you also did not ask the question properly. Both actions will spell disaster in the labs.
First, read the question which is " Do not accept any defaults routes or RFC 1918 routes from EBGP peers" -->
RFC 1918 defines those 10/8, 172.16/12 and 192.168/16. The 0/0 through 0/32 represent any default routes with different prefix. I hope this will answer your query which you did not ask properly.