网络配置:综合路由实验1 - 考察单臂路由、静态路由知识点 下载本文

1.5倍;首行缩进:2字符;题目字体:3号黑体,单倍行距;章节字体:4号黑体,单倍行距。

网络配置:综合路由实验1——考察单臂路由、静态路由知识点

2009年11月09日 星期一 15:09

实验环境:

某一公司内有销售部和财务部两个部分,分处不同虚拟局域网,现要求实现通信,通过单臂路由完成销售部、财务部两部门通信问题;

公司通过一条DDN专线专线与ISP通信,现在要求PC1、PC2与子公司的服务器PC3和服务器PC4实现通信。在服务器PC3和服务器PC4上配置DNS、HTTP服务器。(Pc4承担DNS、HTTP服务器,PC3只承担HTTP服务器。)

现在要求在R1、R2、R3和R4上实现静态路由。公司内部交换机SW2上配置VLAN,外部网络的交换机不做任何配置,只承担级联作用。 网络拓扑:

实验步骤:

一、主机及服务器IP地址、子网掩码、默认网关、DNS服务器

PC1 —— 192.168.1.2/24 255.255.255.0 192.168.1.1 192.168.7.2 PC2 —— 192.168.2.2/24 255.255.255.0 192.168.2.1 192.168.7.2 服务器PC3—— 192.168.5.2/24 192.168.5.1 服务器PC3的HTTP服务的Index.html文件

- 1 -

1.5倍;首行缩进:2字符;题目字体:3号黑体,单倍行距;章节字体:4号黑体,单倍行距。

Cisco Packet Tracer MY hello to you


Welcome to Cisco Packet Tracer, the best thing since..... Packet Tracer 4.x.

Quick Links:


A small page
Copyrights
Image page
Image

服务器PC4 —— 192.168.7.2/24 255.255.255.0 服务器PC4的HTTP服务的Index.html文件

Cisco Packet Tracer Your hello to Me


Welcome to Cisco Packet Tracer, the best thing since..... Packet Tracer 4.x.

Quick Links:


A small page
Copyrights
Image page
Image

服务器PC4的DNS服务配置记录

www.123.com A Record 192.168.7.2 www.abc.com A Record 192.168.5.2

二、公司内SW2配置 SW2#show running-config Building configuration...

Current configuration : 1021 bytes !

version 12.1

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname SW2 !

- 2 -

1.5倍;首行缩进:2字符;题目字体:3号黑体,单倍行距;章节字体:4号黑体,单倍行距。

! !

interface FastEthernet0/1 switchport mode trunk !

interface FastEthernet0/2 switchport access vlan 10 !

interface FastEthernet0/3 switchport access vlan 20 !

interface FastEthernet0/4 !

interface FastEthernet0/5 !

interface FastEthernet0/6 !

interface FastEthernet0/7 !

interface FastEthernet0/8 !

interface FastEthernet0/9 !

interface FastEthernet0/10 !

interface FastEthernet0/11 !

interface FastEthernet0/12 !

interface FastEthernet0/13 !

interface FastEthernet0/14 !

interface FastEthernet0/15 !

interface FastEthernet0/16 !

interface FastEthernet0/17 !

interface FastEthernet0/18 !

interface FastEthernet0/19 !

interface FastEthernet0/20 !

interface FastEthernet0/21

- 3 -

1.5倍;首行缩进:2字符;题目字体:3号黑体,单倍行距;章节字体:4号黑体,单倍行距。

!

interface FastEthernet0/22 !

interface FastEthernet0/23 !

interface FastEthernet0/24 !

interface Vlan1 no ip address shutdown ! !

line con 0 !

line vty 0 4 login

line vty 5 15 login ! ! end 三、R1配置

R1#show running-config Building configuration...

Current configuration : 830 bytes !

version 12.2

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname R1 !

interface FastEthernet0/0 no ip address duplex auto speed auto !

interface FastEthernet0/0.10 encapsulation dot1Q 10

ip address 192.168.1.1 255.255.255.0 !

- 4 -