将基于 windows2000 的服务器配置成路由器
Post on 04-Jan-2016
140 Views
Preview:
DESCRIPTION
TRANSCRIPT
将基于Windows2000的服务器配置成路由器
概述
关于路由器和路由表的概要说明 配置网络连接 利用“路由和远程访问”服务启用路由功能 配置静态路由 配置路由接口 实现按需拨号路由 配置路由信息协议
关于路由器和路由表的概要说明
路由器功能 路由表
路由器功能
End SystemEnd SystemEnd SystemEnd SystemEnd SystemEnd SystemEnd SystemEnd System
Intermediate SystemIntermediate SystemIntermediate SystemIntermediate System
Network
Source Host Destination Host
Router
Network
InternetworkInternetworkInternetworkInternetwork
To Display the IP Routing Table on a Computer Running Windows 2000, Use the Route Print Command
路由表
C:\>route print===========================================================================Interface List0x1 ........................... MS TCP Loopback interface0x1000003 ...00 90 27 16 84 10 ...... Intel(R) PRO PCI Adapter======================================================================================================================================================Active Routes:Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.200 192.168.1.201 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.248.0 192.168.1.201 192.168.1.201 1 192.168.1.201 255.255.255.255 127.0.0.1 127.0.0.1 1 192.168.1.255 255.255.255.255 192.168.1.201 192.168.1.201 1 224.0.0.0 224.0.0.0 192.168.1.201 192.168.1.201 1 255.255.255.255 255.255.255.255 192.168.1.201 192.168.1.201 1Default Gateway: 192.168.1.200===========================================================================Persistent Routes: None C:\>
配置网络连接
配置网络连接名称 为网络适配器配置 IP 设置值
配置网络连接名称
Branch Office 1
Server
Clients
Branch Office 2
Server
Clients
Adapter 1Adapter 1 Adapter 2Adapter 2Corporate OfficeCorporate OfficeCorporate OfficeCorporate Office
Router
为网络适配器配置 IP 设置值
为连接到 Internet 的网络配置设置值 为专用网络配置设置值 确认地址关系
利用“路由和远程访问”服务启用路由功能
配置路由功能配置路由功能配置路由功能配置路由功能
打开“路由和远程访问”向导
选择网络路由配置选项
确认针对路由功能所需的网络协议
如果需要,可以选择“按需拨号连接”选项
如果启用按需拨号连接,则选择用来给远程客户机分配 IP 地址的方法
配置静态路由
检测静态路由表 添加静态路由
检测静态路由表Routing and Remote Access
Action View
Tree
Routing and Remote AccessServer StatusCORP_HQ (local)
Routing InterfacesPortsIP Routing
General
Remote AccessRemote Access
Static Routes
Static RoutesDestination Network mask Gateway Interface
New Static Route…
View
RefreshExport List…
Show IP Routing Table…
HelpCORP_HQ – IP Routing TableDestination Network mask Gateway Interface Metric Protocol
127.0.0.0127.0.0.1131.107.2.5192.168.0.0192.168.250.10192.168.250.255224.0.0.0255.255.255.255
255.0.0.0255.255.255.255255.255.255.255255. 255.0.0255.255.255.255255.255.255.255224.0.0.0255.255.255.255
127.0.0.1127.0.0.1192.168.250.1192.168.250.10127.0.0.1192.168.250.10192.168.250.10192.168.250.10
LoopbackLoopbackBranch Office1Branch Office1LoopbackBranch Office1Branch Office1Branch Office1
11111111
LocalLocalStatic (non demand-dial)LocalLocalLocalLocalLocal
添加静态路由
Static Route
Interface:
Destination:
Network mask:
Gateway:
Metric:
Branch Office1
255
1
131 107 0 0
255 0 0
192 168 250 1
Use this route to initiate demand-dial connections
OK Cancel
Lists the installed network adapters Lists the installed network adapters
Lab A: 将 Windows 2000 配置成静态路由器
配置路由接口
“路由和远程访问”服务中的路由接口 数据包筛选 在 IP 路由接口上配置筛选器 在 IP 路由接口上配置筛选器设置值
“路由和远程访问”服务中的路由接口
LAN 接口 Demand-Dial 接口 IP 中的 IP 隧道接口
数据包筛选
User 2User 2
Interface CInterface COutput FilterOutput FilterInterface CInterface COutput FilterOutput Filter
User 1User 1
User 3User 3Interface AInterface AInput FilterInput Filter
Interface AInterface AInput FilterInput Filter
Interface BInterface BOutput FilterOutput FilterInterface BInterface BOutput FilterOutput Filter
ICMPICMP
All other protocolsAll other protocols
User 2User 2
Interface CInterface COutput FilterOutput FilterInterface CInterface COutput FilterOutput Filter
User 1User 1
User 3User 3Interface AInterface AInput FilterInput Filter
Interface AInterface AInput FilterInput Filter
Interface BInterface BOutput FilterOutput FilterInterface BInterface BOutput FilterOutput Filter
All other protocolsAll other protocols
SNMPSNMP
User 2User 2
Interface CInterface COutput FilterOutput FilterInterface CInterface COutput FilterOutput Filter
User 1User 1
User 3User 3Interface AInterface AInput FilterInput Filter
Interface AInterface AInput FilterInput Filter
ICMPICMP
All other protocolsAll other protocols
All other protocolsAll other protocols
SNMPSNMP
Interface BInterface BOutput FilterOutput FilterInterface BInterface BOutput FilterOutput Filter
在 IP 路由接口上配置筛选器
配置筛选器配置筛选器
选择接口
指定输入或输出筛选器
指定筛选动作
在 IP 路由接口上配置筛选器设置值
配置筛选器设置值配置筛选器设置值
标识出源网络
标识出目的网络
选择协议
配置路由信息协议
路由协议 RIP 操作 添加 RIP 协议 添加支持 RIP 的接口 配置 RIP 接口
路由协议
RIPRIP
用于中,小型网络 使用路由表 便于配置和管理 Does not scale well
OSPFOSPF
用于大型网络 使用链路状态数据库 配置和管理较复杂 可以有效地操作在大型网
络中
RIP 操作
Router 1
Network ANetwork A
Network BNetwork B
Network CNetwork C
Router 1 Routing TableRouter 1 Routing TableRouter 1 Routing TableRouter 1 Routing Table
A, B, CA, B, C
Router 2
Network BNetwork B
Network DNetwork D
Router 2 Routing TableRouter 2 Routing TableRouter 2 Routing TableRouter 2 Routing Table
B, DB, D
Router 3
Network CNetwork C
Network ENetwork ERouter 3 Routing TableRouter 3 Routing TableRouter 3 Routing TableRouter 3 Routing Table
C, EC, E
Router 1 Routing TableRouter 1 Routing TableRouter 1 Routing TableRouter 1 Routing Table
A, B, C, D (RIP)A, B, C, D (RIP)
Router 1 Routing TableRouter 1 Routing TableRouter 1 Routing TableRouter 1 Routing Table
A, B, C, D (RIP), E (RIP)A, B, C, D (RIP), E (RIP)
Router 3 Routing TableRouter 3 Routing TableRouter 3 Routing TableRouter 3 Routing Table
C, E, A (RIP), B (RIP), D (RIP)C, E, A (RIP), B (RIP), D (RIP)
Router 2 Routing TableRouter 2 Routing TableRouter 2 Routing TableRouter 2 Routing Table
B, D, A (RIP), C (RIP), E (RIP)B, D, A (RIP), C (RIP), E (RIP)
添加支持 RIP 的接口Routing and Remote Access
Action View
Tree
Routing and Remote AccessServer StatusCORP_HQ (local)
Routing InterfacesPortsIP Routing
GeneralStatic RoutesRIP
View
DeleteRefreshExport List…
Help
Properties
Show Neighbors…
New Interface…
RIP
Interface Update Mode Responses Sent Response…
New Interface for RIP Version 2 for Internet Protocol
This routing protocol runs on the interface that you select below.
Interfaces:
CorpHQ
OK Cancel
Branch Office1Branch Office2
添加 RIP 协议
New Routing Protocol
Click the routing protocol that you want to add, then click OK.Routing protocols:
DHCP Relay AgentIGMP Version 2, Router and ProxyNetwork Address Translation (NAT)Open Shortest Path First (OSPF)RIP Version 2 for Internet Protocol
OK Cancel
To add a new routing protocol, expand IP Routing, right-click General, and then click New routing protocol.
To add a new routing protocol, expand IP Routing, right-click General, and then click New routing protocol.
CorpHQ Properties
General Security Neighbors Advanced
OK Cancel Apply
Routing Information Protocol (RIP) Interface
Operation mode:
Outgoing packet protocol:
Auto-static update mode
RIP version 2 multicastIncoming packet protocol:
RIP version 1 and 2
1
0
Activate authentication
Password:
Added cost for routes:
Tagged for announced routes:
配置 RIP 接口
Select Auto-static or Periodic Select Auto-static or Periodic
Select the RIP version Select the RIP version
Select from 1 to 15Select from 1 to 15
Provide a password with up to 16 characters
Provide a password with up to 16 characters
CorpHQ Properties
General Security Neighbors Advanced
OK Cancel Apply
Action:For incoming routes
Accept all routes
Accept all routes in the ranges listed
Ignore all routes in the ranges listed
From: To:
From To
Add
Edit
Remove
配置路由筛选
Type a range of IP Addresses Type a range of IP Addresses
Add
Edit
Remove
Specify how this router interacts with listed neighboring RIP routers.
Use broadcast or multicast onlyUse neighbors in addition to broadcast or multicast
Use neighbors instead of broadcast or multicast
IP address:
CorpHQ Properties
General Security Neighbors Advanced
OK Cancel Apply
为非广播网络配置 RIP
可以创建一个邻居列表在特定的路由器之间发送RIP 消息
可以创建一个邻居列表在特定的路由器之间发送RIP 消息
Lab B: 配置基于 Windows 2000 的路由器
复习
关于路由器和路由表的概要说明 配置网络连接 利用“路由和远程访问”服务启用路由功能 配置静态路由 配置路由接口 实现按需拨号路由 配置路由信息协议
top related