[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.

Reserved IRI IP Addresses

A number of interception related information (IRI) IP addresses, such as 128.0.0.1, are reserved for internal communication. 128.0.0.1 is the base of the IRI IP address. The upper limit of this range depends on the chassis configuration of the router and may use 129.x.x.x, 130.x.x.x, and so on. Use the CLI command show route table __juniper_private1__ to show the router’s configured IP addresses, including the reserved IRI IP addresses.

Sample Output


user@host> show route table __juniper_private1__
__juniper_private1__.inet.0: 8 destinations, 8 routes (5 active, 0 holddown, 3 hidden)
+ = Active Route, - = Last Active, * = Both

10.0.0.0/8         *[Direct/0] 7w1d 03:24:45
                    > via fxp1.0
10.0.0.1/32        *[Local/0] 7w1d 03:22:48
                      Local via sp-1/2/0.16383
10.0.0.4/32        *[Local/0] 7w1d 03:24:45
                      Local via fxp1.0
10.0.0.34/32       *[Direct/0] 7w1d 03:22:32
                    > via sp-1/2/0.16383
128.0.0.0/2        *[Direct/0] 7w1d 03:24:45
                    > via fxp1.0

__juniper_private1__.inet6.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

fe80::/64          *[Direct/0] 7w1d 03:24:45
                    > via fxp1.0
fe80::200:ff:fe00:4/128
                   *[Local/0] 7w1d 03:24:45
                      Local via fxp1.0
fec0::/64          *[Direct/0] 7w1d 03:24:45
                    > via fxp1.0
fec0::a:0:0:4/128  *[Local/0] 7w1d 03:24:45
                      Local via fxp1.0

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