4-Route Leaking Between Global and VRF Routing Table

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right we continue with the vrf idea and a quick overview about the last class and last class we do we did routing or leaking between R 2 R 3 R 4 v RF so they communicate between them and the very important thing you have to remember we use a BGP protocol which is an MP BGP multi-point border gateway protocol and also you have to remember always BGP always need the value of or the route target if you remember we put it the route target import-export both same number and as I said we will do some some lab in the future to play with the Export Import with more details so today we gonna talk about how to for example I will select 1 v RF how to connect 1 v RF or how to do leak or communicate between v RF r2 to the global routing table which is router or how to do the communication between those ok by the way if you're talking about physical I mean if you if if your router here I mean I use physical interface right now I use loopback just easy for do the lab and deal with the lab and practice you can do even physical if you do physical here in router let's say for example this port you assign this port physically in in v RF R 2 and this by default you never assign this port or a second part to any v RF which is meaning a global table so this is the global router table so simply if you do cable between them I mean you bring cable from here to here okay and you can do normal routing table I like IP static route OSPF whatever because exactly means this is two routers in your outer one router - exactly I put it cable between them okay so you can do this mechanism with the physical with the physical interface but right now we use loopback and most of the time in an enterprise I mean in real environment we don't use that cable and something because we can do leaking inside we can do leaking bag in the stage for the routing table inside the router table so we don't need to go outside but there is possibility to go outside you're using there okay okay so this is what we're gonna do I just need to show you as well what is the v RF short I P v RF so I got a deal with the R 2 which is v RF router - I need to communicate this PR FR to drive the interface and breathe our - it is used to back to with global route table or global routing table which is blue back one so show IP show IP interface your show IP interface brief you can see there globe so how to do the routing between v RF in the global first of all conflict I will do IP prefix IP prefix list I call it the global okay so I will say pyramid this is I will put it one dot one dot one dot 0 slash was 24 of course you can do the exes list as well but I I prefer prefix because we deal only with the network staff with the IP step there is nothing related to the layer for TCP UDP and all those staff so that's why prefix races will be fair enough to use it so I just say IP perfect list with any name by give name global because we'll be represent the global routing table and I will do another prefix list IP prefix list will be represented are to the RF I said VAR f - R - okay then I give the IP as well permit - - 2.0 yes - 24 so after that I will do route map route map also I call it the same same name okay permit 10 I will say much IP address prefix and the same name takes it I will do another routing table or route maps or your old map with the same number here we are Kermit 10 and much IP address much IP address prefix list with the same name which is that okay so right now I have a two route map each route map assign or matching with the IP address representative through the prefix list global and vrf are two after that I'm gonna do this configuration in the BGP I will go to the BGP econ 50 router bgp one two three one two three four and I will say address ipv4 enter you can see here I never used vrf key because I need to configure like a default or global configuration in BGP so I just put it I P address family ipv4 let me say redistribution connected so you can put it 1.1.1 or whatever but redistribution connected means any interface connected to the global again to the global route table there's no related to the vrf r2 v RF r3 even we are for okay good so I just say exit now and I say exists as well so I already had the global and the BGP now how about the vrf I have to do the import and export inside the vrf itself so i say i prf are to enter import inside the vrf i have some comment they called import import ipv4 unicast map then I put it the route map import because this is the vrf r2 so of course will be import the routing for wa import the route from the global okay so let's watch the same name here what is the global here okay this is the name so now I import routing or import all the network from this from the global from the global router table perfect how about the export so I as you can see here I have as well another comment which is they call export yes export ipv4 unicast map I export what do you remember I export what do you remember the the route map which is represented if the vrf are two so i will say i need to export this vrf are too perfect so now when i say after that when I say show IP route we are far too I can see here one one one is come up here through the loopback one actually always considered are connected at the end but but this is them the way to do the routing so let me just check pink one one one sorry pink vrf are 2 to the 1 1 1 again 1 1 1 is represent the global our table or default our table enter I have a reply perfect even when I specific the source with the - - - here I have a reply as well how about routes are one thing I don't need vrf keyword anymore because I ping right now from the globe or wrong table to the vrf so I just say ping - the - - - then I say enter you see the reply this work perfect so I say source just in case and I I see the reply as well so this is the way for make that connected or communicate between the global route table with the vrf just very quick show run or show route table so so Sharad map so the steps just very fast I make a route map and this route map I give the prefix list the first route map they call global and this with the perfect statistic global and as well the route map BRF are - whatever any name and the prefix list as well whatever any name I use vr f r2 which is represent the network from this we are a particular VR after that go run you can see the BRF the BRF comment and our VR of - you can see here IP PRF - I'll put it those come and I say to the PRF - please import the route from global and export your network the network from the VR fr2 to anyone so through this comment for vrf through this comment and don't forgot to put it short on section b TP as well you need to add a global network inside the BGP which command is help you to do that address family ipv4 redistribution connected all you just can put it like Network 1.1.1 in our example or maybe we can even do a redistribution connected without where to put it some policy and first time so this is the idea how to communicate between the globe or our table with the vrf they call leaking vrf with the global routing next class we're talking about front door vrf will be a very interesting topic as well
Info
Channel: VPC Network
Views: 11,665
Rating: 4.8965516 out of 5
Keywords:
Id: fANvkL2m4bc
Channel Id: undefined
Length: 11min 32sec (692 seconds)
Published: Fri Jan 25 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.