实验环境:
网段规划:
vlan 100:10.10.10.0 /24 网关 10.10.10.254 DNS:8.8.8.8
vlan 101:192.168.10.0/24 网关 192.168.10.254 DNS:8.8.8.8
配置Center
1、创建vlan
vlan 100
description bangong
vlan 101
description youke
2、配置trunk接口
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 to 101
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 101
3、创建虚接口并配置IP地址
interface Vlanif101
ip address 192.168.10.254 255.255.255.0
interface Vlanif100
ip address 10.10.10.254 255.255.255.0
4、配置DHCP
dhcp enable
ip pool bangong
gateway-list 10.10
ENSP模拟交换环境中调用高级ACL限制不同网段之间互访
最新推荐文章于 2024-06-17 21:11:04 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)