Cisco——网络实践单臂路由

请对这些设备进行配置使得:
在这里插入图片描述

  • PC0 分别属于VLAN 100;PC9属于VLAN200。
  • VLAN 100 的网络地址为201.201.学号.0 /24;
    VLAN 200 的网络地址为 202.202.学号.0/24。
  • PC10 所在的网段地址为 203.203.学号.0/24
    PC0的IP地址为201.201.学号.2;
    PC9的IP地址为202.202.学号.2;
    PC10的IP地址为203.203.学号.2。
    对路由器和交换机配置后,实现PC0、PC9、PC10之间能够互通。

只需要调配Switch0,Router0即可!
全视频操作(点击此处跳转至Bilibili)
Cisco单臂路由.pkt(点击此处下载)
IP:

PC0:
201.201.学号.2
255.255.255.0
201.201.学号.1

PC9:
202.202.学号.2
255.255.255.0
202.202.学号.1

PC10:
203.203.学号.2
255.255.255.0
203.203.学号.1

Switch0

ena
conf
vlan 100 
ex
vlan 200
ex
interface range fastEtherent 0/1-10
switchport access vlan 100
no shutdown
ex
interface range fastEtherent 0/11-20
switchport access vlan 200
no shutdown
ex
interface fastEtherent 0/24
switchport mode trunk
no shutdown
ex

Router0

ena
conf
interface fastEtherent 0/1
ip address 203.203.学号.1 255.255.255.0
no shutdown
ex
interface fastEtherent 0/0.1
encapsulation dot1Q 100
ip address 201.201.学号.1 255.255.255.0
no shutdown
ex
interface fastEtherent 0/0.2
encapsulation dot1Q 200
ip address 202.202.学号.1 255.255.255.0
no shutdown
ex
interface fastEtherent 0/0
no shutdown
ex

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/GodOuO/article/details/108234484