单臂路由配置实验

单臂路由配置实验 - 1

交换机配置

en
conf t
interface range f0/1-2
switchport access vlan 10
switchport mode access
no shut
exit
interface range f0/3-4
switchport access vlan 20
switchport mode access
no shut
exit
interface f0/5
switchport mode trunk
no shut
exit
exit
wr

路由配置

en
conf
interface f0/0.10
encapsulation dot1Q 10
ip add 192.168.1.1 255.255.255.0
no shut
exit
interface f0/0.20
encapsulation dot1Q 20
ip add 192.168.3.1 255.255.255.0
no shut
exit
exit
wr

Leave a Reply

Your email address will not be published. Required fields are marked *