发布网友 发布时间:2022-04-26 22:13
共2个回答
热心网友 时间:2023-10-01 05:12
#
vlan 1
#
vlan 10
#
vlan 20
dhcp server ip-pool 0建立地址池
network 192.168.1.0 mask 255.255.255.0地址范围
gateway-list 192.168.1.1网关
expired unlimited租期无限
#
interface Ethernet0/1/0
port link-mode route
ip address 192.168.1.1 255.255.255.0配置网关ip
interface Ethernet0/4/1
port link-mode bridge
port access vlan 10将0/4/2加入vlan10
#
interface Ethernet0/4/2
port link-mode bridge
port access vlan 20把0/4/2加进vlan20
dhcp server forbidden-ip 192.168.1.1禁止分配的地址
#
dhcp enable开启dhcp功能
return
热心网友 时间:2023-10-01 05:13
没谈过恋爱的