[j-nsp] Filter-based forwarding query

Piotr Marecki peter at mareccy.org
Wed Feb 15 14:06:35 EST 2006


On Wed, Feb 15, 2006 at 04:30:41PM -0000, Dave O' Meara wrote:
> 
> Hi there,
> 
> I need to over-ride regular routing for three specific subnets, using
> filter-based forwarding. Instead of these subnets routing to the
> internet, I need to intercept packets destined for these subnets and
> route them out of a directly-connected interface. I understand that I
> need to create a new routing instance, but how do I keep this new
> routing table minimal i.e. just directly-connected routes?  
> 
> Should the config below work?
> 
> Thanks,
> Dave
> 

Ehlo, 

Almost everything is ok , just add inet.0 to import ribs statement for policy-route-group , i.e


rib-groups {
	policy-route-group {
		import-rib [ inet.0 policy-route-table.inet.0 ];
		}
	}
		
regards

Piotr Marecki



More information about the juniper-nsp mailing list