[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring Protocol-Independent Routing Properties

Configure a router ID and autonomous system (AS) number for Border Gateway Protocol (BGP):

[edit]
routing-options {
    router-id 10.1.7.1;
    autonomous-system 222;
}

Configure martian addresses, which are reserved host or network addresses about which all routing information should be ignored. By default, the JUNOS software 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;
    }
} 

For more information about configuring protocol-independent routing properties, see the JUNOS Routing Protocols Configuration Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]