[j-nsp] merging IPv6 and IPv4 route in same policy

Tommy Perniciaro TPerniciaro at accuvant.com
Sun Dec 28 12:32:01 EST 2008


Multiple terms is fine, you get the result you want, right?

----- Original Message -----
From: juniper-nsp-bounces at puck.nether.net <juniper-nsp-bounces at puck.nether.net>
To: 'Ahmad Alhady' <ahmad.alhady at yahoo.com>; juniper-nsp at puck.nether.net <juniper-nsp at puck.nether.net>
Sent: Sun Dec 28 10:27:50 2008
Subject: Re: [j-nsp] merging IPv6 and IPv4 route in same policy

What's wrong in using two terms J



Regards,

Masood



From: Ahmad Alhady [mailto:ahmad.alhady at yahoo.com]
Sent: Sunday, December 28, 2008 10:23 PM
To: Masood Ahmad Shah; juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] merging IPv6 and IPv4 route in same policy



but in 2 different terms !!!

not in same term !?

I was asking about same term ?!

Thanks



  _____

From: Masood Ahmad Shah <masood at nexlinx.net.pk>
To: Ahmad Alhady <ahmad.alhady at yahoo.com>; juniper-nsp at puck.nether.net
Sent: Sunday, December 28, 2008 8:14:11 PM
Subject: RE: [j-nsp] merging IPv6 and IPv4 route in same policy

The following configuration should work for IPv6/IPv4 in same policy.

policy-statement O-R {
    term 1 {
        from {
            protocol ospf;
            route-filter fec0:0:0:4::/64 orlonger;
        }
        then accept;
    }

term 2 {
    from {
        protocol ospf;
        route-filter 10.0.6.0/24 orlonger;
    }
    then accept;
}


Regards,
Masood

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Ahmad Alhady
Sent: Sunday, December 28, 2008 9:52 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] merging IPv6 and IPv4 route in same policy

can we merge matching IPv6 and IPv4 routes in same config ???
for example


policy-statement O-R {
    term 1 {
        from {
            protocol ospf;
            route-filter 10.0.6.0/24 orlonger;
            route-filter fec0:0:0:4::/64 orlonger;
        }
        then accept;
    }


he is giving me this message!!!!!

  Policy: invalid prefix fec0:0:0:4::/64 for family inet
error: configuration check-out failed



Ahmad




_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



_______________________________________________
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