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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Adams Sent: Monday, July 28, 2008 7:55 PM To: juniper-nsp@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 <[EMAIL PROTECTED]> 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@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp