步骤9配置 EDGE1STEP 9 Configure EDGE1

适用于:Windows Server(半年频道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

在 EDGE1 服务器上执行以下过程:The following procedures are performed on the EDGE1 server:

  1. 在 EDGE1 上配置 DNS 服务器。Configure the DNS servers on EDGE1. 需要在 EDGE1 上的 corp2.corp.contoso.com 域中配置 DNS 服务器。It is necessary to configure the DNS server from the corp2.corp.contoso.com domain on EDGE1.

  2. 配置子网之间的路由。Configure routing between subnets. 配置 EDGE1 上的路由,以便在公司网络和2公司网络之间实现通信。Configure routing on EDGE1 to enable communication between the Corpnet and 2-Corpnet subnets.

在 EDGE1 上配置 DNS 服务器Configure the DNS servers on EDGE1

  1. 在服务器管理器控制台中,单击 "本地服务器",然后在 "属性" 区域中的 "公司网络" 旁边,单击链接。In the Server Manager console, click Local Server, and then in the Properties area, next to Corpnet, click the link.

  2. 在 "网络连接" 窗口中,右键单击 "企业网络",然后单击 "属性"。In the Network Connections window, right-click Corpnet, and then click Properties.

  3. 单击 “Internet 协议版本 4 (TCP/IPv4)”,然后单击 “属性”Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

  4. 在 "备用 DNS 服务器" 中,键入10.2.0.1In Alternate DNS server, type 10.2.0.1. 然后单击 “确定”and then click OK.

  5. 单击“Internet 协议版本 6 (TCP/IPv6)”****,然后单击“属性”****。Click Internet Protocol Version 6 (TCP/IPv6), and then click Properties.

  6. 在 "备用 DNS 服务器" 中,键入 " 2001: db8:2:: 1 ",然后单击 "确定"In Alternate DNS server, type 2001:db8:2::1 and then click OK.

  7. 在 "公司网络属性" 对话框中,单击 "关闭"。On the Corpnet Properties dialog box, click Close.

  8. 关闭 “网络连接” 窗口。Close the Network Connections window.

配置子网之间的路由Configure routing between subnets

  1. 在 "开始" 屏幕上,键入 "cmd.exe",右键单击 " Cmd",单击 "高级",然后单击 "以管理员身份运行"。On the Start screen, typecmd.exe, right-click cmd, click Advanced, and then click Run as administrator. 如果出现了“用户帐户控制”**** 对话框,请确认其所显示的操作是你要采取的操作,然后单击“是”****。If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.

  2. 在 "命令提示符" 窗口中,输入以下命令。In the Command Prompt window, enter the following commands. 输入每个命令后,按 ENTER。After entering each command, press ENTER.

    netsh interface IPv4 add route 10.2.0.0/24 Corpnet 10.0.0.254
    netsh interface IPv6 add route 2001:db8:2::/64 Corpnet 2001:db8:1::fe
    
  3. 关闭命令提示符窗口。Close the Command Prompt window.