实验步骤
建立建立packet tracer拓扑图
(1)在本实验中的三层交换机上划分VLAN10和VLAN20,其中VLAN10用于连接校园
网主机,VLAN20用于连接R1。
(2)路由器之间通过V.35电缆通过串口连接,DCE端连接在R1上,配置其时钟频率64000。 (3)主机和交换机通过直连线,主机与路由器通过交叉线连接。
(4)在S3560上配置RIPV2路由协议。
(5)在路由器R1、R2上配置RIPV2路由协议。
(6)将PC1、PC2主机默认网关设置为与直连网路设备接口IP地址。
(7)验证PC1、PC2主机之间可以互相同信;
实验设备
PC 2台;Switch_3560 1台;Router-PT 2台;直连线;交叉线;DCE 串口线
PC1
IP:
Submask:
Gateway:
PC2 192.168.1.2 255.255.255.0 192.168.1.1
IP: 192.168.2.2
Submask: 255.255.255.0
Gateway: 192.168.2.1
S3560
en
conf t
hostname S3560
vlan 10
exit
vlan 20
exit
intece fa 0/10
switchport access vlan 10
exit
intece fa 0/20
switchport access valn 20
exit
end
show vlan
conf t
intece vlan 10
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
intece vlan 20
ip address 192.168.3.1 255.255.255.0
no shutdown
end
show ip route
show runing
conf t
router rip
network 192.168.1.0
network 192.168.3.0
version 2
end
show ip route
R1
en
conf t
hostname R1
intece fa 0/0
no shutdown
ip address 192.168.3.2 255.255.255.0
exit
intece serial 2/0
no shutdown
ip address 192.168.4.1 255.255.255.0
clock rate 64000
end
show ip route
conf t
router rip
network 192.168.3.0
network 192.168.4.0
version 2
exit
R2
en
conf t
hostname R2
intece fa 0/0
no shutdown
ip address 192.168.2.1 255.255.255.0
exit
intece serial 2/0
no shutdown
ip address 192.168.4.2 255.255.255.0
end
show ip route
conf t
router rip
network 192.168.2.0
netword 192.168.4.0
version 2
end
PC1 Ping PC2
Ping 192.168.2.2reply
实训十五 路由器OSPF动态路由配置
实验目的
掌握OSPF协议的配置方法:
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-22914-14.html
正是开战的最好时节
美国实力强不是短时间能搬倒得
打到他投降好不好