trrtrtrt 发表于 2018-4-10 15:04:24

在Packet Tracer中实现路由器单臂路由配置

                                                实验目标:

<1>掌握单臂路由器配置方法
<2>通过单臂路由器实现不同VLAN之间互相通信

技术原理:

单臂路由,是为实现VLAN间通信的三层网络设备路由器。它只需要一个以太网,通过创建子接口可以承担所有VLAN的网关,而在不同的VLAN间转发数据。

实验步骤:

<1>建立如图所示的拓扑图





<2>对Switch进行设置
en
conf t
vlan 2
exit
vlan 3
exit   
interface fastEthernet 0/2
switchport access vlan 2
exit
int fa 0/3
switchport access vlan 3
exit   
int fa 0/1
switchport mode trunk


<3>对Router进行配置

en
conf t
int fa 0/0
no shutdown
exit   
interface fast 0/0.1
encapsulation dot1Q 2
ip address 192.168.1.1 255.255.255.0
exit
int fa 0/0.2
encapsulation dot1q 3
ip address 192.168.2.1 255.255.255.0
end   
show ip route



                                       

页: [1]
查看完整版本: 在Packet Tracer中实现路由器单臂路由配置