Routing in Azure

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with

Already have an account? Sign In »

7 hours 46 minutes
Video Transcription
Hello and welcome back to Cyber Aires. Microsoft Azure Administrator A Z 103 course, This is Episode 43 routing an azure and I'm your instructor, Will Carlson. In today's episode, we're gonna talk about system routes and how azure does some magic behind the scenes to create them without us having to do that. Yet
we're also gonna talk about how we can use a route table to set up some user defined routes to give ourselves more control over how things were routed here within azure. And then we're gonna go into the portal and creator out table and a user to find route as well. Now, before we move into portal, I want to point out the fact that
we have done a number of routing tasks here in the azure environment
without even realizing it. For example, when we're taking a region across the globe and connecting it to a region here in the United States and we do that through a V net. Pierre,
there are clearly going to be some sort of rounding in between those two locations, and we have had to do none of network whatsoever. Azure has gone ahead and done all of that work for us. And that's all set up and enabled because Azure sets up those routes for us using system routes.
Now, today we're gonna talk about a way through routing tables to do some of that work ourselves and to get right into portal and get that done, we're gonna come in here to portal, and we're gonna go up to create a resource, and you probably guessed it. We're gonna search for round table
and we're gonna go ahead and create that round table.
Now, something interesting to know about route tables is that they are ultimately going to be associated with a sub net and very similar to a network security group is a sub net can have one or none route tables per sub net,
and each round table can be used across multiple sub nets.
Now, once you said this round table up, if a packet tries trip traverse and be routed by this route table and there is not a route for it, that packet is simply going to be dropped. So once you set up the roundtable, you'll need to make sure that all of the traffic you're wanting to pass out of that sudden at via that route table is adequately routed
or it's simply going to be dropped.
But now to set up this round table, I just have to name it here. I have to set the subscription. I want to leave this in in the resource group as usual
and the location. Now, if I want these roundtables to propagate via B G p, I can go ahead and select enabled. If I don't want that to happen, I can disable that functionality there
and I still like to create.
And, as with a lot of azure resource is this is going to create basically the container for the routes themselves that we set up. But this doesn't do a whole lot of magic. It also doesn't associate it with any of the sub nets that we might like to use it with. So even though we've created the resource, there's still some work to be done.
Now that that resource is deployed, we can go ahead and come up here to all service is and we can search for route
and go to round tables,
and we can see that we have one round table here already set up,
I can click on that route table and see that there are currently no routes in this round table
to set up around. All I have to do is come down here into routes under settings
and then I can add around.
I'll have to name this route
here in the address prefix. I'll need to set the route that I need traffic to go to and give it a cider notation. So in this case, any traffic trying to get to inning address in the 10.100 not 101 dot anything space and then we're gonna sit where we want this traffic to go.
This could be anything from a virtual network gateway
virtual network out to the Internet or a virtual appliance. If we select a virtual appliance, we can see that we have the option to set what the next hop address is going to be. And in this box in this case, we would simply put the I P address of the network virtual appliance.
We also have the option here of none, which effectively takes this traffic and ensures that is going to get dropped
we're gonna go ahead and leave. This is virtual network Gateway and select. Okay.
And now we've successfully added that route to the route table. But this route table, like a network security group and a network security group rule, is not currently associated with any other sub nets here in Azure and to associate this will simply come down here to sub nets
and we'll click on associate.
We can choose the virtual network
and the sub net,
and then we can select. Okay.
And now what we've managed to do is pass all of the traffic to the 10.100 dot wanna one slash 24 sub net is being passed on to the I T. Resource Group. Virtual Network
on the tin got 0.0 slash 24 sub net.
So very quickly, we've been able to effectively control how routing is goingto happen here within the azure environment.
We also could use route tables to control how traffic is routed outside of the azure environment to the Internet.
In today's episode, we talked about the concept of system routes that are gonna be set up by Azure when we do Ah, whole host of topics and resource creation here in the azure environment, and that's completely hands off on our part. But if we would like to take control of that routing weaken, do so through a round table
by creating a user to find route
and associating that with a sub net.
Remember, if there is not a route to match and you've set a round table on the sub net, packets are simply going to be dropped
coming up. Next, we're finally gonna begin a discussion about the mythical load balancer that we talked about when we talked about Bert BM scale sets and availability sets. Thanks for joining me today. I hope to see you in the next video.
Up Next
AZ-103 Microsoft Azure Administrator

This is a training course for the Microsoft Azure AZ-103 Certification. The Microsoft Azure Administrator training course teaches students to perform tasks like managing Azure subscriptions and resources, implementing and managing storage, deploying and managing virtual machines (VM) and networks, and managing identities!

Instructed By