Example: Configuring Martian Addresses
The following example shows how to configure martian addresses, which are reserved host or network addresses about which all routing information should be ignored. By default, the Junos OS blocks the following martian addresses: 0.0.0.0/8, 127.0.0.0/8, 128.0.0.0/16, 191.255.0.0/16, 192.0.0.0/24, 223.255.55.0/24, and 240.0.0.0/4. It is also a good idea to block private address space (addresses defined in RFC 1918). You can add these addresses and other martian addresses to the default martian addresses.
[edit]routing-options {martians {1.0.0.0/8 exact;10.0.0.0/8 exact;19.255.0.0/16 exact;59.0.0.0/8 exact;129.156.0.0/16 exact;172.16.0.0/12 exact;192.0.2.0/24 exact;192.5.0.0/24 exact;192.9.200.0/24 exact;192.9.99.0/24 exact;192.168.0.0/16 exact;224.0.0.0/3 exact;}}
Hide Navigation Pane
Show Navigation Pane
Download
SHA1