Cisco 单臂路由实验
Cisco 单臂路由实验拓扑图:IOU1的配置如下:
interface Ethernet0/0
no ip address
!
interface Ethernet0/0.1
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
!
interface Ethernet0/0.2
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
IOU2的配置信息如下:
interface Ethernet0/0
switchport trunk allowed vlan 10,20
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Ethernet0/1
switchport access vlan 10
switchport mode access
!
interface Ethernet0/2
switchport access vlan 20
switchport mode access
IOU3的配置信息如下:
interface Vlan1
ip address 192.168.10.10 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.10.254
IOU4的配置信息如下:
!
interface Vlan1
ip address 192.168.20.10 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.20.254
页:
[1]