Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: Link connection between two Virtual Router on SRX220

$
0
0

Hi Folks,

I just tried the same in a MX box and please find the working config,

 

                     +----------------------+

                     |    LOOP Cable        |

                     |                      |

                     |                      |

                     |                      |

            +--------+----------------------+--------+

            |        |                      |        |

            |  +-----+------+        +------+-----+  |

            |  |ge-0/0/2.100|        |ge-0/0/3.100|  |

            |  |            |        |            |  |

<--ge-0/0/1.100    VR1      |        |    VR2     | ge-0/0/4.100--> HOST

            |  |            |        |            |  |

            |  +------------+        +------------+  |

            |                                        |

            +----------------------------------------+

 

Interested Config:

set routing-instances VR1 instance-type virtual-router

set routing-instances VR1 interface ge-0/0/2.100

set routing-instances VR1 protocols ospf area 0.0.0.0 interface ge-0/0/2.100

 

set routing-instances VR2 instance-type virtual-router

set routing-instances VR2 interface ge-0/0/3.100

set routing-instances VR2 protocols ospf area 0.0.0.0 interface ge-0/0/3.100

 

set interfaces ge-0/0/1 unit 100 family inet address 10.10.10.2/30

set interfaces ge-0/0/4 unit 100 family inet address 40.40.40.2/30

 

set interfaces ge-0/0/2 flexible-vlan-tagging

set interfaces ge-0/0/2 encapsulation flexible-ethernet-services

set interfaces ge-0/0/2 unit 100 family inet address 20.20.20.2/30

set interfaces ge-0/0/2 unit 100 vlan-id 100

 

set interfaces ge-0/0/3 flexible-vlan-tagging

set interfaces ge-0/0/3 encapsulation flexible-ethernet-services

set interfaces ge-0/0/3 unit 100 family inet address 20.20.20.1/30

set interfaces ge-0/0/3 unit 100 vlan-id 100

 

lab> show ospf neighbor instance all    

Instance: VR1

Address          Interface              State     ID               Pri  Dead

20.20.20.1       ge-0/0/2.100           Full      20.20.20.1       128    34

 

Instance: VR2

Address          Interface              State     ID               Pri  Dead

20.20.20.2       ge-0/0/3.100           Full      20.20.20.2       128    32

 

lab>

 

-Python

___________________________________

Accept as Solution = cool !

Accept as Solution+Kudo = You are a Star !


Viewing all articles
Browse latest Browse all 17645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>