How to deploy route-instances vr in SRX?

junipengjunipeng Member Posts: 10 ■□□□□□□□□□
In ScreenOS,I can binding the E1/1,E1/2 to the trust zone and binding the E2/1,E2/2 to the untrust zone,then set a trust-vr include E1/1,E1/2,untrust-vr include E2/1,E2/2,and set the route to trust zone next-hop is trust-vr,to the untrust zone next-hop is untrust-vr.

but in SRX,I can binding some interfaces in one vr,then how deploy instaces vr route like screenOS?


[EMAIL="[email protected]"][email protected][/EMAIL]# show routing-instances
trust_vr {
instance-type virtual-router;
interface ae2.1;
interface ae2.2;
interface ae2.3;
interface ae2.4;
interface ae2.5;
interface ae2.6;
interface ae2.7;
interface ae2.8;
interface ae2.9;
interface ae2.10;
interface ae2.11;
interface ae2.12;
interface ae2.13;
interface ae2.14;
interface ae2.15;
interface ae2.16;
}



please tell me the cli detail.

Thank you very much
"You got a dream,you gotta protect it."

Comments

  • zoidbergzoidberg Member Posts: 365 ■■■■□□□□□□
    are you looking to add routes to the trust_vr routing-instance?

    if so, should be something along these lines...
    set routing-instances trust_vr routing-options static route 0/0 next-hop 1.2.3.4
  • junipengjunipeng Member Posts: 10 ■□□□□□□□□□
    zoidberg wrote: »
    are you looking to add routes to the trust_vr routing-instance?

    if so, should be something along these lines...
    set routing-instances trust_vr routing-options static route 0/0 next-hop 1.2.3.4


    what's difference as

    set routing-options static route 0/0 next-hop 1.2.3.4 ?


    If I deploy the routing-instaces vr in srx,these lines can take the same effect?


    set routing-instances trust_vr routing-options static route 0/0 next-hop 1.2.3.4

    set routing-options static route 0/0 next-hop 1.2.3.4



    Thank you zoidberg

    Regards
    "You got a dream,you gotta protect it."
  • zoidbergzoidberg Member Posts: 365 ■■■■□□□□□□
    This command installs the static route in your default inet.0 routing table.:
    set routing-options static route 0/0 next-hop 1.2.3.4

    This command installs the static route in your routing-instance / virtual-router routing table, trust_vr.inet.0:
    set routing-instances trust_vr routing-options static route 0/0 next-hop 1.2.3.4
Sign In or Register to comment.