admin管理员组

文章数量:1122855

PC1配置:

 

LSW1配置:

<LSW1>dis cu
#
undo info-center enable
#
vlan batch 10 100
#
interface Vlanif10
 ip address 192.168.10.254 255.255.255.0
#
interface Vlanif100
 ip address 192.168.100.253 255.255.255.0
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 100
#
ip route-static 10.10.10.0 255.255.255.0 192.168.100.254
ip route-static 192.168.0.0 255.255.0.0 192.168.100.254

AR1配置:

<AR1>dis cu
#
acl number 2001  
 rule 5 permit source 192.168.0.0 0.0.255.255 
#
interface GigabitEthernet0/0/0
 ip address 192.168.100.254 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 10.10.10.10 255.255.255.0 
 nat outbound 2001
#
ip route-static 10.10.10.0 255.255.255.0 192.168.100.253
ip route-static 192.168.0.0 255.255.0.0 192.168.100.253
#
return
<R1>

AR2配置:

<AR2>dis cu 
#
interface GigabitEthernet0/0/0
 ip address 10.10.10.11 255.255.255.0 
#

本文标签: 路由器交换机