思科实验4.4.1.2-Packet Tracer - 综合技能练习

Packet Tracer - 综合技能练习

地址表

设备接口IP地址子网掩码默认网关VLAN关联
R1G0 / 0.1192.168.99.1255.255.255.0不适用VLAN 99
G0 / 0.10192.168.10.1255.255.255.0不适用VLAN 10
G0 / 0.20192.168.20.1255.255.255.0不适用VLAN 20
S0 / 0/0209.165.200.238255.255.255.224不适用不适用
S0 / 0/1192.168.1.1255.255.255.0不适用不适用
R2G0 / 0.1192.168.99.2255.255.255.0不适用VLAN 99
G0 / 0.10192.168.10.2255.255.255.0不适用VLAN 10
G0 / 0.20192.168.20.2255.255.255.0不适用VLAN 20
S0 / 0/0192.168.1.2255.255.255.0不适用不适用
S0 / 0/1209.165.202.158255.255.255.224不适用不适用
互联网服务提供商S0 / 0/0209.165.200.225255.255.255.224不适用不适用
S0 / 0/1209.165.202.129255.255.255.224不适用不适用
网页网卡64.104.13.130255.255.255.25264.104.13.129不适用
PC10A网卡192.168.10.101255.255.255.0192.168.10.1VLAN 10
PC10B网卡192.168.10.102255.255.255.0192.168.10.1VLAN 10
PC20A网卡192.168.20.101255.255.255.0192.168.20.1VLAN 20
PC20B网卡192.168.20.102255.255.255.0192.168.20.1VLAN 20

情境

在本活动中,将两个路由器配置为彼此通信。您负责配置子接口以与交换机通信。您将使用RIPv2配置VLAN间路由,使用VTP,中继的VLAN和具有快速PVST +的EtherChannel。PC和Internet设备都已预先配置。

要求

您负责配置路由器R1R2以及交换机S1S2S3S4

注意:Packet Tracer不允许分配小于1的点值。由于此活动正在检查150多个项目,因此并非所有配置都被分配一个点值。单击检查结果 > 评估项目以验证您已正确配置所有项目。

VLAN间路由

R1R2上,启用并配置具有以下要求的子接口:

  • 配置适当的dot1Q封装。
  • 将VLAN 99配置为本地VLAN。
  • 根据地址表配置子接口的IP地址。

路由

使用以下要求配置RIPv2:

  • 不要发布连接到Internet的网络。
  • 禁用自动汇总。
  • 禁用每个子接口的RIP更新。

VTP和VLAN

  • 将S1配置为VTP服务器。将所有其他交换机配置为VTP客户端。不允许他们创建VLAN。
    • VTP域是CCNA
    • VTP密码为cisco123
  • S1上创建VLAN 10、20和99 。
  • S1S2配置以下静态端口:
    • F0 / 1 – 9作为VLAN 10中的访问端口。
    • F0 / 10 – 19作为VLAN 20中的访问端口。
    • F0 / 20 – F24和G0 / 1 – 0/2作为VLAN 99的本地中继。
  • S3S4配置以下静态端口:
    • F0 / 1 – 9作为VLAN 10中的访问端口。
    • F0 / 10 – 20作为VLAN 20中的访问端口。
    • F0 / 21 – F24和G0 / 1 – 0/2作为VLAN 99的本地中继。

以太网通道

  • 所有以太通道均配置为LACP。
  • 所有EtherChannel都静态配置为中继所有VLAN,包括VLAN 99作为本地VLAN。
  • 使用下表配置适当的交换机端口以形成EtherChannel:
港口通道设备:端口设备:端口
1个S1:G0 / 1 – 2S3:G0 / 1 – 2
2S2:G0 / 1 – 2S4:G0 / 1 – 2
3S1:F0 / 23 – 24S2:F0 / 23 – 24
4S3:F0 / 23 – 24S4:F0 / 23 – 24
5S1:F0 / 21 – 22S4:F0 / 21 – 22
6S2:F0 / 21 – 22S3:F0 / 21 – 22

生成树

  • 为所有交换机配置每VLAN快速生成树模式。
  • 根据下表配置生成树优先级:
设备VLAN 10优先级VLAN 20优先级
S140968192
S281924096
S33276832768
S43276832768

连接性

  • 所有PC都应该能够ping通Web和其他PC。

Router R1

!R1
enable
configure t
interface GigabitEthernet0/0
no shut
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 99 native
ip address 192.168.99.1 255.255.255.0
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
!
router rip
version 2
network 192.168.1.0
network 192.168.10.0
network 192.168.20.0
network 192.168.99.0
passive-interface GigabitEthernet0/0.1
passive-interface GigabitEthernet0/0.10
passive-interface GigabitEthernet0/0.20
no auto-summary
end
copy run start

 

Router R2

!R2
enable
configure t
!
interface GigabitEthernet0/0
no shut
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 99 native
ip address 192.168.99.2 255.255.255.0
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.2 255.255.255.0
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.2 255.255.255.0
!
router rip
version 2
network 192.168.1.0
network 192.168.10.0
network 192.168.20.0
network 192.168.99.0
passive-interface GigabitEthernet0/0.1
passive-interface GigabitEthernet0/0.10
passive-interface GigabitEthernet0/0.20
no auto-summary
end
copy run start


Switch S1

!S1
enable
configure t
vtp mode server
vtp domain CCNA
vtp password cisco123
vlan 10
vlan 20
vlan 99
exit
interface range f0/1 - 9
switchport mode access
switchport access vlan 10
inte range f0/10 - 19
switchport mode access
switchport access vlan 20
interface range f0/20 - 24, g0/1-2
switchport mode trunk
switchport trunk native vlan 99
!
interface range g0/1 - 2
channel-group 1 mode active
interface range f0/21 - 22
channel-group 5 mode active
interface range f0/23 - 24
channel-group 3 mode active
!
interface po 1
switchport mode trunk
switchport trunk native vlan 99
interface po 3
switchport mode trunk
switchport trunk native vlan 99
interface po 5
switchport mode trunk
switchport trunk native vlan 99
!
spanning-tree mode rapid-pvst
spanning-tree vlan 10 priority 4096
spanning-tree vlan 20 priority 8192
end
copy run start

Switch S2

!S2
enable
configure t
vtp mode client
vtp domain CCNA
vtp password cisco123
interface range f0/1 - 9
switchport mode access
switchport access vlan 10
inte range f0/10 - 19
switchport mode access
switchport access vlan 20
inte range f0/20 - 24, g0/1-2
switchport mode trunk
switchport trunk native vlan 99
!
interface range g0/1 - 2
channel-group 2 mode active
interface range f0/21 - 22
channel-group 6 mode active
interface range f0/23 - 24
channel-group 3 mode active
!
interface po 2
switchport mode trunk
switchport trunk native vlan 99
interface po 3
switchport mode trunk
switchport trunk native vlan 99
interface po 6
switchport mode trunk
switchport trunk native vlan 99
!
spanning-tree mode rapid-pvst
spanning-tree vlan 10 priority 8192
spanning-tree vlan 20 priority 4096
end
copy run start

Switch S3

!S3
enable
configure t
vtp mode client
vtp domain CCNA
vtp password cisco123
interface range f0/1 - 9
switchport mode access
switchport access vlan 10
inte range f0/10 - 20
switchport mode access
switchport access vlan 20
inte range f0/21 - 24, g0/1-2
switchport mode trunk
switchport trunk native vlan 99
!
interface range g0/1 - 2
channel-group 1 mode active
interface range f0/21 - 22
channel-group 6 mode active
interface range f0/23 - 24
channel-group 4 mode active
!
interface po 1
switchport mode trunk
switchport trunk native vlan 99
interface po 4
switchport mode trunk
switchport trunk native vlan 99
interface po 6
switchport mode trunk
switchport trunk native vlan 99
!
spanning-tree mode rapid-pvst
spanning-tree vlan 10 priority 32768
spanning-tree vlan 20 priority 32768
end
copy run start

Switch S4

 

!S4
enable
configure t
vtp mode client
vtp domain CCNA
vtp password cisco123
interface range f0/1 - 9
switchport mode access
switchport access vlan 10
inte range f0/10 - 20
switchport mode access
switchport access vlan 20
inte range f0/21 - 24, g0/1-2
switchport mode trunk
switchport trunk native vlan 99
!
interface range g0/1 - 2
channel-group 2 mode active
interface range f0/21 - 22
channel-group 5 mode active
interface range f0/23 - 24
channel-group 4 mode active
interface po 2
switchport mode trunk
switchport trunk native vlan 99
interface po 4
switchport mode trunk
switchport trunk native vlan 99
interface po 5
switchport mode trunk
switchport trunk native vlan 99
!
spanning-tree mode rapid-pvst
spanning-tree vlan 10 priority 32768
spanning-tree vlan 20 priority 32768
end
copy run start

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值