Windows Server 2012 Routing and Remote Access

Source: Internet
Author: User
Tags virtual environment

This experiment demonstrates the configuration of Windows Server 2012 as a router, which is what we often call soft routing, for small businesses, this is a cost-saving approach, save the purchase of dedicated routers, configuration method is very simple, first we need three virtual machines to do experiments, The network configuration of the three virtual machines is as follows, because in the virtual environment, we need to connect the three virtual machines ' NICs to the same virtual switch.

Two network segments: 1, 192.168.10.0/24

2, 192.168.20.0/24

2012 Server: Nic 0:192.168.10.1/24

Nic 1:192.168.20.1/24

Client 1:ip:192.168.10.11/24

Gateway: 192.168.10.1/24

Client 1:ip:192.168.20.12/24

Gateway: 192.168.20.1/24

The above network configuration to distinguish, the following is the network configuration of the server.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/A5/wKioL1Vo8GKRBxhoAAL-RSthRFY899.jpg" width= "912" height= "612"/ >

The following is the network configuration for client 1.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6D/A5/wKioL1Vo8GKT2PfpAAFGo4oYpE0600.jpg" width= "441" height= "347"/ >

Network configuration for Client 2.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/A5/wKioL1Vo8GKDPVsHAAFGi9xwcuQ936.jpg" width= "446" height= "363"/ >

On the server, you can ping two clients.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/A5/wKioL1Vo8GLTyO-4AAKsCm0o24A812.jpg" width= "459" height= "416"/ >

However, on both clients, it is not allowed to ping the other side.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/A5/wKioL1Vo8GLg7241AACpt7uFa5M751.jpg" width= "468" height= "182"/ >

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/A9/wKiom1Vo7s7w6ucyAACxv_muozM721.jpg" width= "473" height= "186"/ >

And then we're going to install the remote access role on the server, enable interoperability between the two clients, add features and roles-remote access.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/A5/wKioL1Vo8GPjsSqgAAND_5n8O6A664.jpg" width= "810" height= "568"/ >

Next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/A5/wKioL1Vo8GOBkUCVAAMAGuLmtH8851.jpg" width= "811" height= "565"/ >

Next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/A5/wKioL1Vo8GOBR9YTAANDVBi05bs622.jpg" width= "804" height= "568"/ >

Here we have to tick the route.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6D/A5/wKioL1Vo8GSA6-IsAAHXUz-IK8s685.jpg" width= "803" height= "573"/ >

Then pop up the box we clicked Add feature and then next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6D/A9/wKiom1Vo7s_RKjb2AAFT9Hs-26U240.jpg" width= "434" height= "413"/ >

The following operation defaults to the next step, which is installed last.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/A9/wKiom1Vo7s-DhuR_AAJIrZjZxow244.jpg" width= "803" height= "563"/ >

After the installation is complete, we open the Administration tool, start the configuration, tools-Routing and Remote Access.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6D/A5/wKioL1Vo8GTg2V3yAAGfjhoPHXg954.jpg" width= "524" height= "570"/ >

The configuration is simple, right-click on the server-configure and Enable Routing and Remote Access.

650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;border-top-width:0px; border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" Untitled "border=" 0 "alt=" Untitled "src="/HTTP/ S3.51cto.com/wyfs02/m01/6d/a5/wkiol1vo8gsrmtveaag22nh0xb8170.jpg "width=" 641 "height=" 453 "/>

Next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/A5/wKioL1Vo8GSD6sBoAAGk6EdjTSk429.jpg" width= "599" height= "547"/ >

Here you will choose a custom configuration.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/A9/wKiom1Vo7tDjeFjBAAIyVZ6j-bU500.jpg" width= "604" height= "545"/ >

Select LAN route.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/AA/wKiom1Vo7tCzyCjhAAFbOYu0oBE252.jpg" width= "605" height= "547"/ >

Finally completed.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6D/AA/wKiom1Vo7tCyMltsAAHa4-MsxGk796.jpg" width= "598" height= "548"/ >

Click Start Service.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/AA/wKiom1Vo7tHgOjh7AACLohGdSpA986.jpg" width= "406" height= "214"/ >

After booting, we see that the server is already green enabled, which means that the route is already configured.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6D/AA/wKiom1Vo7tGDQgmyAALQhA8XRn4262.jpg" width= "636" height= "455"/ >

Next we test that there is no problem with the client ping between each other.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6D/AA/wKiom1Vo7tGyoHeFAAGM6XI217c790.jpg" width= "478" height= "270"/ >

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6D/AA/wKiom1Vo7tGyPMOUAAFcvJImjOE580.jpg" width= "471" height= "260"/ >

This experiment is done here.

This article from "jinning Blog" blog, reproduced please contact the author!

Windows Server 2012 Routing and Remote Access

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.