server 2008 r2 Routing and Remote Access

Experimental requirements:
two computers connected to different network segments (also can be a computer, you need to configure three network cards,)
server2 and server1 has two network cards are
server1: 1--192.168.4.4 card, network card 2--192.168.2.12
server2: 1--192.168.3.5 card, network card 2--192.168.2.254
pc1: ip - 192.168.4.6, the gateway --192.168.4.4
PC2: ip - 192.168.3.6, the gateway --192.168.3.5

Static routing configuration: go to the target network segment, gateway to write the interface ip address
server 2008 r2 Routing and Remote Access

References: http://www.luyouqiwang.com/14376/

A computer connected to three different network segments, you need four NIC
card a, ip: 192.168.0.1, not the gateway
server 2008 r2 Routing and Remote Access
card two, ip: 192.168.1.9, not the gateway
server 2008 r2 Routing and Remote Access
card three, ip: 192.168.2.9, not the gateway,
server 2008 r2 Routing and Remote Access
network card four, ip: 192.168.3.9, not the gateway
server 2008 r2 Routing and Remote Access
pc1, ip: 192.168.1.10, gateway 192.168.1.9 ------------- pc2, ip: 192.168.2.10, gateway, 192.168.2.9-- -------- pc3, ip: 192.168.3.10 gateway, 192.168.3.9

server 2008 r2 Routing and Remote Access

nat mapping can also be connected to different segments of
methods:
two network cards on the server: a public network connection, a network connection ---- install "Network Policy and Access Services"
server 2008 r2 Routing and Remote Access
right-click --- Configure and Enable Routing and Remote Access
server 2008 r2 Routing and Remote Access
Here select a connection to the public network ip
server 2008 r2 Routing and Remote Access

====dns配置===
dns申请:  http://jingyan.baidu.com/album/e5c39bf5601ea839d76033ec.html?picindex=1 

dns案例:http://baike.baidu.com/view/443551.htm?fr=aladdin

创建DNS服务的服务器必须能ping通DNS地址
server 2008 r2 Routing and Remote Access

dns转发器上的区域一定是dns自身没有的区域,如dns1--ip :192.168.1.2  dns2-ip:192.168.1.3,若在dns上设置转发器为 192.168.1.3,比如转发的是 www.kungfu365.net
那么在dns1 上就不应该有此查找域:kungfu365.net,即便是此区域内没有A记录,否则,将不能正常转发。

虚拟机hyper-v如果安装两快网卡,一块内部网络10.0.0.1,一块外部网络192.168.8.73,那么这台计算机既能ping通10.0.0.0网段又能ping通192.168.0.0网段
f

配置路由和nat  http://www.doc88.com/p-474112764200.html

======================***的配置===============
客户端访问---客户端的电脑IP要跟***服务器公网IP 在一个网段,客户端网卡:10.0.0.0
公司 LAN:192.168.1.0
***服务器:LAN网卡,192.168.1.0,WAN网卡:10.0.0.0

Routing and Remote Access installed on the server
server 2008 r2 Routing and Remote Access
to select the external network adapter: 10.0.0.0
server 2008 r2 Routing and Remote Access
specified range: If you do not more companies in a LAN segment, it can dial *** but can not access internal resources. Needs to be routed or set the same network segment
server 2008 r2 Routing and Remote Access
server 2008 r2 Routing and Remote Access

server 2008 r2 Routing and Remote Access
Client Access --- keep up the client computer's IP public IP *** server in a network segment, the client card: 10.0.0.0
company network: 192.168.1.0
*** server: network card, 192.168.1.0 , external network card: 10.0.0.0               
server 2008 r2 Routing and Remote Access
this page to set the dial to use DHCP to assign ip address user *** 
server 2008 r2 Routing and Remote Access

Guess you like

Origin blog.51cto.com/koungfu/2455817