- Hands-On Networking with Azure
- Mohamed Waly
- 365字
- 2021-06-24 18:41:21
Adding subnets to the virtual network
There are two types of subnets in Azure VNet:
- Subnet: The normal form of subnets, which is the result of dividing the virtual network
- Gateway subnet: The subnet that acts as a gateway for communication with other networks
By default, you must specify at least one subnet while creating the virtual network, as discussed earlier. However, later you might need to have other subnets, and to do so, you have to follow these steps:
- Navigate to the virtual network that you have created earlier and then go to SETTINGS | Subnets, as shown in the following screenshot:

Figure 1.11: Virtual Network Subnets
- Click on Subnets, and a new blade will be opened, where you need to specify the following:
- Name: The name of the subnet.
- Address range (CIDR block): The subnet's address range in CIDR notation (considering that it must be contained by the address space of the virtual network).
- Network security group: This works like a firewall to filter what traffic that be allowed to flow in/out of the network. More information about this topic will be covered in Chapter 2, Delving into Azure Virtual Networks.
- Route table: You can expand the communication between multiple VNets by setting a route table. More information about this topic will be covered in Chapter 4, Network Connectivity Scenarios in Azure.
- Service endpoints (Preview): As mentioned earlier, this can be used to let some Azure services communicate in Microsoft's backbone network. More information about it will be covered in Chapter 2, Delving into Azure Virtual Networks.

Figure 1.12: Adding subnets
- Once you click on OK, the subnet will be added within a moment.
When specifying the subnet's address range, you must have noted that there are five reserved IPs. The first and the last IPs are reserved for protocol conformance known as network and broadcast in addition to three more IPs used for Azure services.
Creating the gateway subnet is no different than the normal subnet creation, except you cannot set the name of the gateway subnet, as shown in the following screenshot:

Figure 1.13: Adding gateway subnet
Every virtual network can only have one gateway subnet.
推薦閱讀
- 網(wǎng)絡(luò)工程設(shè)計(jì)與安裝
- 網(wǎng)絡(luò)工程
- Axure RP8入門手冊(cè):網(wǎng)站和App原型設(shè)計(jì)從入門到精通
- HBase不睡覺書
- 這就是搜索引擎
- 軟件開發(fā)視頻大講堂:ASP.NET從入門到精通(第4版)
- 地理信息系統(tǒng)中的不確定性問(wèn)題
- OPENStack云框架應(yīng)用管理實(shí)踐
- 巧學(xué)巧用Dreamweaver CS6、Flash CS6、Fireworks CS6網(wǎng)站制作
- Learn Wireshark
- Laravel入門與實(shí)戰(zhàn)(第2版):構(gòu)建主流PHP應(yīng)用開發(fā)框架
- 對(duì)話大數(shù)據(jù) 政府/工業(yè)/金融/醫(yī)療/人才行業(yè)創(chuàng)新與應(yīng)用案例分析
- Apache Solr Beginner's Guide
- 深入淺出ASP.NET Core
- JavaScript+jQuery前端開發(fā)基礎(chǔ)教程(微課版)