On a Virtual Data Center (VDC) allows Vitual Machine (VM) to be able to communicate with each other or to provide access to external networks and in a vdc can have multiple networks.
There are two types of organisation VDC networks:
- Routed : This type of network provides controlled access to machines and networks outside of the VDC or VDC Group through an edge gateway.
- Isolated : This type of network provides a fully isolated environment, which is accessible only by this organization VDC or VDC Group.
This article describes how to create a routed VDC network.
Creating a routed VDC network
1. On the cloud director portal select the VDC you want to add network
2. In the menu Networking on the left select Networks and click New
3. Click Next
4. On the Network Type page, select Routed, then click Next.
5. Select the edge gateway that you want your network to connect to and Next
6. On a general page:
-
Enter a Name and Description for the network.
-
In the Gateway CIDR field, enter the gateway address for the network.
- And click Next.
7. On the ststic pool page click add and enter the ip range you want to use on the vm, in the example we use the IP range 192.168.50.100 - 192.168.50.200 with gateway 192.168.50.1. You can define the IP Range as you need. Click Add and then click Next
8. DNS is using Edge DNS by default, if you want to change the primary DNS you can uncheck on Use Edge DNS and define your DNS. Input secondary DNS or empty and click Next.
9. Click Finish
10. Your network is successfully created
Add Rules NAT & Firewall for New Network
The New Network cannot be used yet, because we have not created firewall rules to allow connections from the new network.
Preparation:
Create new IP Set for new network you have added before:
1. Go to Edges menu, choose NAT and click New
2. On the Add NAT rule page:
-
Enter a Name and Description for the rule.
-
In the NAT Action, choose SNAT.
- Enter the public IP on External IP.
- Enter the network you have created before on Internal IP
- On Advanced Settings, change Priority to 0.
- And click Save
3. Still on the Edges menu, choose Firewall and click New
4. Define the firewall name
5. On Source click the Pencil icon and choose the IP Set you have created and click Keep
6. On Destination click the Pencil icon, check Any Source and click Keep
7. Click Save
8. You can add new network to vApp/VM you wanted and check the connection