How To Configure #VRRP (Virtual Router Redundancy Protocol) In Juniper Router

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome to my new video  today i will show you how to configure   the vera rp or the virtual  router redundancy protocol in   juniper router as you can see here i have the lab  in the i have two routers and i have to switch   cisco product and we have two server and two hosts  so in this lab i will enable the virtual ip in the   both side as you can see i have two networks  10 0 0 0 24 and 11 0 0 slash 24. first of all   need to configure the eyepiece in the routers so  let's start so i will access to the vmx1 okay cli after that need to change the name last  name for example add one okay all right so the rougher one is change the name  okay after that need to set interface   giga zero zero three with unit zero family  inet address with 10 0 0 1 slash 24. the same   the same with interface giga002 with the  address 11001 commit when i check now so run   show interface stairs so we have the  zero zero two eleven zero one and   we have the three with ten zero one the same  configuration with second router cli on figure we set system host name l2 commit   and also you put it that interface set  interface with giga zero zero three   unit zero with family minutes address  with 10 0 0 2 slash 24 and also second one okay and eleven two comments so here uh we will check also show interface  stairs so here we have the 11 2 and 10 0 0 2.   so now we need to configure the virtual ip with  10 0 0. 100 okay and 11 0 0 100 in both side okay   so let's start that's to access in the vm x okay  via mx one i will put it the set interface giga   zero zero three with unit zero formally inets  address is ten zero zero one slash twenty four   with here we will need to mention the vera rp  group okay i will uh we choose the group one okay   and here we will put the virtual address as 10 0  0 100 okay also i will give the priority because   i will because i will choose this  router as the best way or the best   as the master router and this is as the backup  router okay priority i will put it as 105 okay   because by default is 100 okay also i will uh  enable the pre-empt okay enable the pre-end   enter okay so the same the same case with the  11 11 100 okay here 11 and also need to change   the the interface as the giga002 for  this interface okay so enter and comment   now if uh if check the vera rp by using the  show there are p details okay so here we have   we have the two interface we enabled already uh  enabled the lrp as you can see the interface is   up by the group one and the stage is  transition okay and this is we have the rp   mod is active okay as you can see now uh now the  stage is changed to the master the master okay so   automatically when we uh when we uh enable this  this router the rp without change the priority   so uh automatically will be the other the  backup router okay so we already finished with   uh first router need to go in the second router  in the same configuration so the set interface giga003 unit 0 and family inet address i  think 10 0 0 2 slash 24 and here we need   to mention there rp group group 1 okay and  the virtual address is 100 100 okay and also   we need to enable the preamps okay the  same case with 11 okay here we have the 11 and we have here change the address and comment  now if checking we will see this router as the   backup router show run show there are the details  okay so here we have the states is backup okay   so here so this is the information about the this  is virtual ip this is information about the master   the priority is 100 and also the master router  is eleven zero zero one because this is eleven   zero zero two so they give the information  about which router is the master okay   so this is about how to configure  the therapy so let's start to test   uh so first of all need to give the addresses  to this host okay i will give ip 10 0 0 10   and with the mask 2 5 5 0 and here the gateway is  not 10 0 0 1 or 10 0 0 2 so i will use the virtual   ip add the tan zero zero zero one hundred okay the  same also with second router oh second hot sorry   then zero zero zero zero for example twenty twenty  five two five five two five five zero with the   gateway ten zero zero one hundred okay also with  the servers i will give the same address as the ip   eleven zero zero uh twenty two five five two five  five two five five zero and we use the gateway as   the virtual ip100 okay also the last one ip 10  0 0 10 0 0 uh 10 okay i think uh 11 sorry 11 11   okay and the mask two five five to five  five to five five okay zero eleven zero zero   one hundred okay so here need to test from this  pc to this two server okay please do a server   so let's do access in the host so here we have the  address the host with the address 10 0 0 10 i will   ping to 11 0 0 20. so as you can see the ping  is successful and also i need to ping also the   second one the 10 so ping also is successful  so here if you uh check our configuration   we have this master uh this router as a master  so here all the traffic will passing in this   way okay in this way okay because this is us the  router uh this is us the the master router and   this is as the backup so here need to disable  this uh disable this uh this interface as a   shutdown okay so i will shut down this interface  giga03 and we will see if our traffic is swapped   to the another way or not as you can see  here so i will make the ping make the ping   okay ping here ping ten zero zero sorry eleven  zero zero 20 minus t okay so the ping is   successful now so uh i didn't i didn't shut down  this interface i i will shut down this interface   and we will confirm if our traffic is swapped  or not so i will this active deactivate   the activate the interface giga zero zero three  okay giga0 deactivate the interface giga03   let's move them here units sorry  ah sorry sorry the activate   activate interface giga zero zero three  okay so here in the same way we will uh   the thing you will see here okay deactivate  and comment look at commit now our traffic   will swap in the in the uh in the second way  so we will check it now you can see now that   our traffic didn't swapped in the another router  another router instead uh the router is changed   as uh as the the the master the master the master  raptor if you check now show interface there are p   show rp details as you can see is the master but  the traffic didn't pass because we have the vera   rp in the other side okay so what we will fix now  we will add uh the uh the the tracking interface   by monitoring this uh this this interface and the  vis-versa okay so we need to enable the tracking   in the both way okay so how can do it so let's  uh start with vmx1 so i will do the same comment   okay so here the set interface from it so  here the same uh the same one so half here   we will use the set interface okay giga for  giga zero zero three with unit zero family   inet address okay with uh address ten zero zero  one slash 24 so here we mentioned the rp group is   one and here we will use the track the track  here i will mention the interface monitoring   so i will monitor this interface is the giga zero  zero two okay the giga002 and we will decrease the   priority cost by 10. for example here we have the  100 105 for the priority after the priority cost   it will be uh it will be 95 after for any issue  in the any interface or in the interface giga002   so i will enable here and the same  the same i will use it for the second second interface so here we have the  giga02 and here we have the 11 okay   and here i will use the interface zero zero  three for monitoring so here i will comment okay   and here also in the second one in the second  one dmx2 the same same i will access the set   interface giga zero zero three i am here in  this router okay unit zero with formally i net   i net i net address i net address here is 10 0  0 2 slash 24 okay slash 24 and here i will track   track so here what's the issue here zero zero two and the truck ah okay the var rp group before  with the rp group mentioned the rp group is   one and the truck using the truck interface the  interface is giga zero zero two with the cost   or with the priority cost is done and the same  so i will also this very saw zero zero two   with eleven zero two and here strike with the  four giga003 comet so now if we checking now   the pink now so now the pink is successful as you  can see as you can see it was in the timeout okay   so here our lap is successful so so here we need  to confirm so now we need to confirm we need to   confirm the via mx 2 is still as the virtual ip  ah sorry as the master router okay is the master   router as you can see now so here also the in the  vmx one is giga0 three is uh down this interface   for checking now run show interface tears okay  zero zero two where is it zero zero three as   you can see the zero zero three we didn't  have the ip so now i need activated again   activate activate interface giga zero zero three  and comment and if you checking now our our   uh our our ping is successful also and this  vmx vmx or raptor one change it to the master   we checking now run show interface oral show ver  rp dtl so as you can see here now is the master   this is all about how to configure the uh the  vera rp or the virtual router redundancy protocol   with changing the priority and also to activate  the tracking the tracking is very important   in the therapy thank you so much for your  watching and consideration see you in the
Info
Channel: Hossam Eddine ihab
Views: 412
Rating: 5 out of 5
Keywords: VRRP, Junos, Juniper, Cisco, HSRP, IP, Networking, CCNA, JNCIA, JNCIS, JNCIP, JNCIE, Router, LAN, LAB
Id: 10euff04lzs
Channel Id: undefined
Length: 16min 28sec (988 seconds)
Published: Tue May 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.