SRX Services Gateway
Highlighted
SRX Services Gateway

Supplementing Martian addresses, routes

‎02-26-2019 02:52 AM
How can I supplement a Martian route? The goal is to port the Martian route addresses on all physical interfaces.
6 REPLIES 6
Highlighted
SRX Services Gateway

Re: Supplementing Martian addresses, routes

‎02-26-2019 07:40 AM

set routing-options martians 1.255.255.255/32 exact

 

 

Highlighted
SRX Services Gateway

Re: Supplementing Martian addresses, routes

‎02-26-2019 02:41 PM

I'm not sure what you mean by port the martian addresses.  Are you looking to remove ranges from the martian list built into Junos so they route normally?

 

https://www.juniper.net/documentation/en_US/junos/topics/example/routing-martian-routes.html

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Highlighted
SRX Services Gateway

Re: Supplementing Martian addresses, routes

‎02-26-2019 11:05 PM
In what way is this method supplementing Martian addresses? 1.255.255 blah blah, what would the ipv6 equivalent be? I'm using ipv6 ff00::/8 because of some wireless AP's.

The route through the ge-0/0.... ports needs to be strengthened in terms of lateral(all pins) strength. Prefixing seems wrong because prefixing is usually done to augment the device itself. In my case the AP has the martians I'm inquiring about. They are...

::1/128
ff00::/8

Does anyone have any comments on allowing the ipv4 martians. Does the loopback of 127.0.0.1 apply to this?
Highlighted
SRX Services Gateway

Re: Supplementing Martian addresses, routes

‎02-26-2019 11:09 PM
Does anyone have anything to say about using loopback ::1/128 with a martian of the same address?

Using both a martian and a loopback of ::1/128 .
Highlighted
SRX Services Gateway

Re: Supplementing Martian addresses, routes

‎02-26-2019 11:51 PM
1:ffff:ffff:ffff:ffff:ffff:ffff:ffff

For ipv6??
????
Highlighted
SRX Services Gateway

Re: Supplementing Martian addresses, routes

‎02-27-2019 02:30 AM

I'm still not sure from your comments here but I think you have equipment that violates ipv6 RFCs and is actually using ipv6 martian addresses for communication.  Thus you need to remove ipv6 addresses from the default martian address lists that prevent routing of those addresses per the expected ipv6 behavior.

 

If this is correct, the documentation linked above is what you are looking for.

 

https://www.juniper.net/documentation/en_US/junos/topics/example/routing-martian-routes.html

 

View the martian table using

show route martian inet6

 

Choose the prefixes you want to override and allow routing and then use the command "allow" to flag them as routable.

 

set routing-options rib inet6.0 martians xxx::/y orlonger allow

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Feedback