[j-nsp] Originate a default route
Masood Ahmad Shah
masood at nexlinx.net.pk
Tue Jul 29 06:31:08 EDT 2008
You can advertise default route by using policy routing like this...
---Create a policy---
policy-statement default-originate {
from {
route-filter 0.0.0.0/0 exact;
}
then accept;
}
---Apply the above policy to OSPF---
protocols {
ospf {
export default-originate;
Regards,
Masood
-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Chris Adams
Sent: Monday, July 28, 2008 7:55 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] Originate a default route
I'm trying to originate a default route on a JUNOS router (M10i) that is
currently default-free. I see recommendations to do "set
routing-options static route default discard", but that seems bad to me
for a couple of reasons:
- changes routing behavior: normally attempting to go to an IP with no
matching route returns network unreachable, but discard just drops
- changes uRPF behavior: loose-mode uRPF is now meaningless
I think using "reject" instead of "discard" would keep the same routing
behavior. However, since JUNOS treats "discard" and "reject" as valid
destinations for uRPF (unlike Cisco IOS and interface Null0), I don't
see a way to originate a default route (since JUNOS can't just originate
a default route like Cisco IOS) and still have useful loose-mode uRPF.
Is there any way around this?
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
More information about the juniper-nsp
mailing list